Home › Forums › Center WordPress Theme › background color change on homepage only?
- This topic has 17 replies, 3 voices, and was last updated 6 years, 6 months ago by
SeaTheme.
-
AuthorPosts
-
May 23, 2015 at 5:04 am #7349
findanish
ParticipantHello,
Is it possible to change the background color on homepage only? Could you give me the css for it if its possible? Also, will that be applicable to all resolutions as well?
Thank you.
May 24, 2015 at 1:01 am #7352Please try to use:
body.home #wrap-outer {background-color:#fff}If it does not work, leave your page url please.
May 24, 2015 at 1:02 am #7353Please try to use:
body.home #wrap-outer {background-color:#fff}If it does not work, leave your page url please.
May 25, 2015 at 5:35 am #7363findanish
ParticipantThis reply has been marked as private.May 25, 2015 at 7:41 am #7364findanish
ParticipantOk, I managed to change the color of header using !important, but it shows up on all the pages on header.
Another thing is that in mobile devices there is a large white space below the footer after changing the color. Please see screenshot.
May 25, 2015 at 7:47 am #7365Update your css code as:
body.home aside#main-navi { background-color: #ffebcd!important; }May 25, 2015 at 7:55 am #7366findanish
ParticipantThere is no change. The white space below website still appears when viewed in mobile.
All pages with header have color. I only need color in header in homepage.May 26, 2015 at 2:03 am #7373I add the css code in: https://www.dropbox.com/s/d47weipyl1fzcc5/QQ20150526-1.jpg?dl=0
May 26, 2015 at 3:43 am #7374findanish
ParticipantThank you for your help.
I am still getting a white bar at the bottom when viewed in a mobile phone. Would you be able to fix that ?
May 27, 2015 at 2:02 am #7379updated!
May 27, 2015 at 3:34 am #7380findanish
ParticipantCould you tell me what was wrong? Will it be an issue if I change any color on the homepage again?
If I need to change color on homepage, should I be editing style.css itself?
May 27, 2015 at 6:33 am #7382findanish
ParticipantPlease let me know step by step how to change color on homepage. My client needs to check a few colors before he decides which one to keep.
May 27, 2015 at 11:23 pm #7392Add the colour for body tag(body.home), I dont know why the css did not work on your Custom Css(maybe some cache caused by some plugin?), so I put the css code here: https://www.dropbox.com/s/mhb083ecrwy9bmy/QQ20150528-1.jpg?dl=0
May 28, 2015 at 4:18 am #7400findanish
ParticipantOh yes, I had to disable the minify plugin 😀
Could you also tell me how to change the color for text only on homepage?
May 28, 2015 at 5:49 am #7401I suggest you hire a css developer. It is theme custom job, not including the theme support indeed. If it is not much, we can help you. We can’t help you to custom one by one, It is the final request
, Ok?Please let me know which text on homepage?
May 28, 2015 at 5:50 am #7402findanish
ParticipantOh okay then nevermind. Sorry to trouble you.
December 15, 2019 at 11:53 am #20181Could you give me that code please? Thanks!
December 15, 2019 at 2:41 pm #20184Hi,
What’s code? Is it >> https://seatheme.net/forums/topic/background-color-change-on-homepage-only/#post-7353 ?
-
AuthorPosts
- You must be logged in to reply to this topic.
