Header centered with two manchettes

Posted in: Newsmag
Post count: 39

Hi. I would like to have a centered logo (Style 7 Full Header logo) with two ads manchettes (the same manchette) on the left and on the right of the logo.
How to do it in the child theme?
Thanks

Post count: 6535

Hi

Replace the code from header-style-7.php file with this one: http://pastebin.com/MTxJW8zYhttp://screencast.com/t/GiQ05BLPA Place the ad code in custom ads spots from theme panel and replace the required numbers as I indicated in screen.
Also you will need this css in theme panel > custom code > custom css: http://screencast.com/t/s7ovP3m4n

.td-header-sp-ads-left{
width: 35%;
float: left!important;
}
.td-header-sp-ads-right{
float: right!important;
width: 35%;
}
.td-header-style-7 .td-header-sp-logo{
width: 30%;
}
.td-header-sp-ads-left .td-a-rec img {
margin-left: 5px;
}
.td-header-sp-ads-right .td-a-rec img{
margin-left: -5px;
}
@media(max-width: 768px){
.td-header-sp-ads-left, .td-header-sp-ads-right{
width: 49%;
}
}

Note that I’ve tested this only with header style 7. For others header styles you will need additional customizations.

Thanks!

Post count: 39

IT Works!!!
Thanks
Fabrizio

Post count: 21

Hello Andrei,

how can I do that using header 10? This is my website: http://pedrocheck.esy.es/

thanks a lot!

M.

Post count: 6535

Hi

The above solution won’t work for Newspaper V 6.7.2 because the css will not fit. Basically the custom html structure which insert the new containers will work but the css must be adapted to Newspaper’s style. Basically you have to edit this file like here: http://pastebin.com/inKygqcrhttp://screencast.com/t/yxbzfFW3
Also you have to use this custom css: http://pastebin.com/P2uMVicWhttp://screencast.com/t/B5mbhSvddrXD

Thanks!

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