Adelle Theme Title and Tagline
-
Hi
I am trying to centre my site title and tagline in the Adelle theme. I have tried various different code I have found but can’t find one that works. Can anyone point me in the right direction?
Thank youThe blog I need help with is sugarandbuttons.com.
The blog I need help with is: (visible only to logged in users)
-
Hi there, to center the title and tagline in Adelle, add the following custom CSS.
.site-header hgroup { text-align: center; } -
-
-
To center page and post titles, add the following CSS.
.entry-title, .entry-meta { text-align: center; }To center the menu, add the following media query which limits this change to 601px and wider screens/windows so we don’t inadvertently cause issues with the touch device menu at 600px and narrower.
@media screen and (min-width: 600px) { .menu-menu-1-container { text-align: center; } .menu-menu-1-container ul { display: inline-block; height: 35px; } } -
-
Ah, let’s use the following to add a background to them and also set a hover color for them. You can edit the colors as desired.
.navigation-main .sub-menu li { background: #fff !important; } .navigation-main .sub-menu li:hover { background: #eee !important; } -
-
-
-
-
Beth – sorry, I misread your question. CSS code gets added to the CSS panel in the Customizer if you have a site with Custom Design.
-
- The topic ‘Adelle Theme Title and Tagline’ is closed to new replies.