change header color

Posted in: Newspaper
Post count: 16

I’ve added an ad above the black menu in the header.php but its expanded the header and an all white background can be seen around it is there anyway I can set that color to match the menu bars default color?

Thanks!

Post count: 7909

Hi,

Please provide a link so we can take a look.

Thanks!

Post count: 16

You bet, the link is http://www.gadgetfriendly.net – I had a chance to ply around with it a little more last night and its actually the background color thats showing through so it looks like somehow the upper portion of it only will need to be changed somehow and it doesnt appear to be possible through the GUI unless im missing something

Post count: 7909

Hi,

You can add an extra class to the paragraph where you added the ad – http://screencast.com/t/UUnBgX4R37zF and target that class with custom css and change the color. Also you can use this custom css if you like: http://screencast.com/t/P0trCUyrlZ

body p:first-child {
background-color: red;
margin: 0px;
padding-top: 5px;
}

Hope this helps!

Post count: 16

Thank you that worked perfectly! Do you know if there is anyway this change can be globally applied to all pages on the site? It looks like if I browse somewhere other then the homepage it revert back to white color. Thanks again!

Post count: 7909

Hi,

I have checked your site and did not found an issue like you have described.
Also you can paste you ad code in a custom ad and use this solution to plave it in the top menu file: https://forum.tagdiv.com/topic/top-header-banner-howto/

Thanks!

Post count: 7909

Hi,

I have checked your site again and that solution with css code is apply also on modules: http://screencast.com/t/GflLe2JD1OA you need to add an extra class to the paragraph like I suggested above – http://screencast.com/t/UUnBgX4R37zF and after use that css code something like this:

p.yourclass {
background-color: red;
margin: 0px;
padding-top: 5px;
}

Or you can follow the above solution: https://forum.tagdiv.com/topic/top-header-banner-howto/

Thanks!

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.