Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
After lots of modification
Where did you make those modifications, in a Child Theme or Custom CSS plugin?
In the style.css stylesheet. I don’t know what’s custom css plugin… 🙁
I want to center the big logo which is the “description” block of pages lines setting
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Install this plugin: http://wordpress.org/plugins/custom-css-manager-plugin
Then put all your CSS modifications into that plugin’s section of the dashboard.
To centre the logo add this modification:
#header .branding_wrap {
text-align: center;
}
http://www.w3.org/Style/Examples/007/center.en.html
awwww thank you Andrew! Do you know how to delete the little logo on the left ? cause here i ignore the code
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
I don’t know how it’s there in the first place, did you modify the header.php file or something?
No I just put an image in pagelines setting in the section custom logo
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Try adding this:
#brandnav .mainlogo-link img {
display: none;
}
It works! but now the nav is stuck on the left…
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Isn’t that normal since the logo is gone?
Andrew thank you very much really. How do you fine those # section name and these .sectionname?
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
I opened your website in my Google Chrome browser.
Then right clicked on the logo and selected “Inspect element”.
Along the right-hand-side was the “#” and “.” section names.
https://developers.google.com/chrome-developer-tools/
I mean yes this is normal. If I want to center the brandnav i just do:
#brandnav {
text-align: center;
}
Is that correct?
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
To center the menu add this:
#brandnav .main_nav ul.main-nav {
float: none;
display: table;
margin: 0 auto;
}
The margin is the one who’s “responsible” on the centering?