Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
dgsloves

Center logo and navigation in Bedford

Question

I have tried all the CSS I found in other threads, but none are working quite right. One came close but it turned my menu into a hamburger. I'm just starting a new site, so I haven't made many changes to the original yet. I just want the logo top center, and the menu under that, centered. Should be pretty easy. Thank you!

Edited by dgsloves
Initial Revision

Share this post


Link to post

10 answers to this question

Recommended Posts

  • 0

@dgsloves Add to Home > Design > Custom CSS


/* Desktop - Tablet */
@media screen and (min-width:641px) {
/* Change display table to flex */
.header-inner {
   display: -webkit-flex;
   -webkit-flex-direction: column;
   display: flex;
   flex-direction: column;
}
/* Center Logo */
div#siteTitleWrapper {
   width: 100% !important;
}
h1#siteTitle {
   text-align: center;
   width: 100% !important;
}
/* Center Navigation */
div#headerNav {
   text-align: center !important;
}
}



You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0

@dgsloves Can you take screenshot all code in Home > Design > Custom CSS?


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0

@dgsloves Did you delete this code, and everything returned to normal?


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0

@dgsloves Try this


@media screen and (min-width:641px) {
#header #siteTitleWrapper, #header #siteTitle {
   width: 100%;
   text-align: center;
}
#header #headerNav {
   text-align: center;
   width: 100%;
}
.header-inner {display: table !important;}
}



You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...