- This topic is empty.
-
AuthorPosts
-
March 20, 2015 at 9:17 am #198599Bones_JonesParticipant
hi guys,
link
http://goo.gl/9Mzlk8i can’t seem to change the footer background color. i think it’s because of the theme option – if i change the color there, it changes the color of many other things..
anyway i can just change the footer color?
March 20, 2015 at 9:22 am #198604Paulie_DMemberIt looks like it’s controlled by
.plus, .minus, .button1, .blog-title .comment-count, .blog-title-single .comment-count, #footer-bottom, .tag-title, span.onsale, .price_slider_wrapper .ui-slider .ui-slider-handle { background: #bfbfa6 !important; }
Which frankly, the use of
!important
is poor ‘theming`.You’d need to add another declaration that is loaded after that one.
#footer-bottom { background-color: my color !important; /* the important is required */ }
March 20, 2015 at 9:23 am #198605Paulie_DMemberNot sure what all these style are loaded in the
head
..surely that’s not the way a child theme works…is it?March 20, 2015 at 10:07 am #198615Bones_JonesParticipanthm.. not sure..
this is the original theme..
http://themes.quitenicestuff.com/organicshopwp/i changed it alot for better or worse.. lol
anyway, i added the footer css to custom CSS section, but doesn’t change the color…
what am i doing wrong?
March 20, 2015 at 10:16 am #198616SenffParticipantNot sure what all these style are loaded in the head..surely that’s not the way a child theme works…is it?
Often, it’s where custom CSS is put if the theme has that option for the user to enter their own styles.
i changed it alot for better or worse.. lol
Don’t. If you change any theme files, they will be overwritten once you update a theme with its latest version. Look into using Child Themes instead: https://codex.wordpress.org/Child_Themes
Also, don’t use !important everywhere. By doing that, you’re painting yourself in a corner.
Like Paulie says, you’ll have to use this custom CSS code:
#footer-bottom { background-color: my color !important; /* the important is required */ }
I don’t see that anywhere in your custom styles right now.
March 20, 2015 at 12:12 pm #198626Bones_JonesParticipantthx for the advise!
March 20, 2015 at 12:19 pm #198627Bones_JonesParticipantok, so what i did was i left off ‘main color’ option blank in the theme option.
and then placed the footer-bottom code in the custom css, and it works!
March 20, 2015 at 12:20 pm #198628Paulie_DMemberso what i did was i left off ‘main color’ option blank in the theme option.
Why….?
That wasn’t something we suggested.
March 20, 2015 at 12:47 pm #198640Bones_JonesParticipantmy bad. it doesn’t change the footer color, so i tried it that way.
but now, i see that it’s still there on explorer.
i just put it back, and now it doesn’t work on any of the browser…
and this is what i added in the custom css
#footer-bottom {
border-top:1px solid #ccc;
background-color: #fff; !important; /* the important is required */
}March 20, 2015 at 12:53 pm #198641Paulie_DMemberDon’t forget you have to use
!important
otherwise it won’t override the previous setting.Ideally however, you should remove the
!important
from the main declaration.Also, make sure it comes after that main declaraton.
March 20, 2015 at 1:02 pm #198642Bones_JonesParticipantproblem is i don’t know where is the main declaration(inline 212) is located…
March 20, 2015 at 5:31 pm #198680SenffParticipantSubtle detail:
background-color: #fff; !important;
Should be:
background-color: #fff !important;
March 21, 2015 at 12:12 pm #198709Bones_JonesParticipantyeah, i saw it too, so i made changes. but still not changing the color…
March 21, 2015 at 7:33 pm #198732SenffParticipantFooter background looks pretty white to me on http://www.rdragoti.com/
March 21, 2015 at 7:35 pm #198733Bones_JonesParticipanti gave up and kinda cheated. lol i removed the footer and used the widget area to place the copyright text in the 1st column.
it’s a temporary solution…
anyway – can you remove the link name on your post? thx!
-
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.