Hey Bergskas,
How are you doing today?
This should be possible with some custom CSS. Could you please post link to your site where I can see this so I can try to help with some code?
Cheers,
Bojan
Hey again,
Thanks for the link. Please try adding the following CSS code in the style.css file of your child theme or if your theme doesn’t have custom CSS tab add it in your site using the following plugin:
http://wordpress.org/plugins/simple-custom-css
media screen and (min-width: 783px) {
div#site-title-wrapper {
float: none;
}
.main-navigation ul.nav-menu {
text-align: center;
}
}
If the code doesn’t work please keep it added and let me know so I can take a look.
Cheers,
Bojan
Hi again,
The code worked on the menu items, but not the site title.
The code is still added. =)
You already have these rules at the bottom of your child theme’s style.css:
@media screen and (min-width: 783px) {
div#site-title-wrapper {
float: none;
}
… other rules…
}
amend it with:
@media screen and (min-width: 783px) {
div#site-title-wrapper {
float: none;
}
.site-title, .site-header .site-description {
text-align: center!important;
}
… other rules…
}
And I suggest put those rules to section 15.1, otherwise you might loose track of your changes. It also looks, that 15.1 media query rules were closed sooner than necessary, but I will let you check your file 😉
Thanks Tomas, both page title and menu are now centered. =)
As for the media query rules being closed sooner than necessary,
I’ve looked it over so many times now, and I don´t get/see it. Please tell me! =D