[Theme: Sonoichi] Editing Child CSS
-
I have created a child-theme and added in a blank functions.php.
I would like to customize the header and footer and I have been using Apperance -> Editor and editing the stylesheet (style.css):
/* Theme Name: sonoichi_child Description: Sonoichi Child Theme Author: Me Template: sonoichi */ @import url("../sonoichi/style.css");After extensive searching I tried to change the header using this:
#header { background: #a090a0; border-bottom: double 3px #aba; border-left: solid 1px #9a9; border-right: solid 1px #565; border-top: solid 1px #9a9; font: italic normal 230% 'Times New Roman', Times, serif; letter-spacing: 0.2em; margin: 0; padding: 15px 10px 15px 60px; }And the footer using:
#footer { background-color: #new color !important; color: #B4D4E5; }Neither seem to work. When I reload the page it looks exactly the same.
I also tried to install the plugin
Custom CSSand used the above code and that did not work either.Is the code incorrect?
Lastly, I want my site title to be XYZ.com (on the window bar of the browser) but I want to change what appears in the sheet. Is that also done through the
style.css?
-
Can you please post a link to your site so we can examine it directly?
There is no site yet. All I literally did was create the child-theme and tried to change the header and it did not work.
How do you know that it didn’t work if you didn’t have a site to test it on?
Preview–does anyone with knowledge of theme have an idea?
Previewing on what? Do you have a site or not?
Yes, but I cannot list the domain unfortunately. Hopefully someone can help with the given information since it seems pretty basic and standard.
I’m sorry but it is impossible to troubleshoot these kinds of issues without being able to actually see the site. All I can suggest is that you try posting in the theme’s dedicated forum: http://wordpress.org/support/theme/sonoichi
Your CSS is correct, except for the footer background-color value:
background-color: #new color !important;The value shouldn’t be referencing an ID. Here are the valid values for the color property.
It’s possible that this syntax error is causing you not to see any CSS changes if your footer rule comes before your header rule, but as esmi stated, we can’t tell for sure unless we can view your site.
The topic ‘[Theme: Sonoichi] Editing Child CSS’ is closed to new replies.