Change Header Color
Modern e-commerce WordPress theme to build successful online store with WooCommerce support.
- GK User
- Fri Nov 15, 2013 7:48 am
What code would I place in the override file in order to change the color of the header background? I'm looking to change the white colour on the header to the left and right of the gk_head section to black.
Thanks.
Thanks.
-

- Junior Boarder
- GK User
- Fri Nov 15, 2013 8:32 am
Could You please post an url to your site?
-

- Moderator
- GK User
- Fri Nov 15, 2013 7:36 pm
Hi, the URL to my test site is:
http://ballhockeycanada.org/shop/
Basically looking to have the white sections to the left and right of the header changed to black. Ideally we would maintain the strip to the left and right of the menu area white.
Thanks!
http://ballhockeycanada.org/shop/
Basically looking to have the white sections to the left and right of the header changed to black. Ideally we would maintain the strip to the left and right of the menu area white.
Thanks!
-

- Junior Boarder
- GK User
- Mon Nov 18, 2013 4:54 pm
If you are 100% sure header has always same height, you could use image background technique.
In other cases it might be impossible to do as same background color is visible later in content and it will be changed as well.
Do you need a help with image background technique?
In other cases it might be impossible to do as same background color is visible later in content and it will be changed as well.
Do you need a help with image background technique?
-

- Moderator
- GK User
- Mon Nov 18, 2013 5:09 pm
Yes please help with how to use the image background technique.
Thank you!
Thank you!
-

- Junior Boarder
- GK User
- Wed Nov 20, 2013 10:43 am
Please edit: wp-content/themes/ShopAndBuy/css/override.css
Now - you need to place file custombg.gif in:
wp-content/themes/ShopAndBuy/images
Now - custombg.gif is a gif file, 1px width, 150px width, filled with black.
What it will do - it will place this file on top of the page repeating horizontally.
Remember to enable "Use the override.css file" in theme settings (item in admin menu, under comments section, advanced tab).
- Code: Select all
.gk-page-wrapper {
background: #fff url (../images/custombg.gif) 0 0 repeat-x;
}
Now - you need to place file custombg.gif in:
wp-content/themes/ShopAndBuy/images
Now - custombg.gif is a gif file, 1px width, 150px width, filled with black.
What it will do - it will place this file on top of the page repeating horizontally.
Remember to enable "Use the override.css file" in theme settings (item in admin menu, under comments section, advanced tab).
-

- Moderator
- GK User
- Thu Nov 21, 2013 6:01 am
Thank you, after changing the margins and the .gif I got the header looking like I wanted it to.
Really appreciate the support.
Really appreciate the support.
-

- Junior Boarder
- GK User
- Sat Nov 23, 2013 1:18 pm
Great, Im glad I could help.
If You will have any other questions, feel free to post new forum threads.
Closing the topic.
If You will have any other questions, feel free to post new forum threads.
Closing the topic.
-

- Moderator
8 posts
• Page 1 of 1
