Header Placement
-
Hi Thomas,
I have just purchased Advanced ads Pro, the ads and ad groups are all working well but I’m experiencing a couple of other issues with the header.
I created a header widget using code supplied my theme developers in my child theme:
PHP:
add_action( ‘ava_main_header’, ‘enfold_customization_header_widget_area’ );
function enfold_customization_header_widget_area() {
dynamic_sidebar( ‘header’ );
}CSS:
@media only screen and (min-width: 768px) {
.thech-widget {
position: absolute;
top:-23px;
left: 250px;
z-index: 1;
}
}This works well until I enlarge the window on my desktop. Because the Widget is fixed it does not move with the rest of the header items, so overlaps, causing part of the leaderboard ad to be hidden at full width. Would this problem be solved using your method of positioning the header area?
Also since adding Advanced Ads I am experiencing a flash of white in the header when some pages load. e.g. What’s On > Today. The theme developers suggested loading my Child Theme CSS before my plugin CSS. Is this something you would recommend?
The site is under development. My host is SiteGround and I have Super Cache active.
Any advice very much appreciated.
The page I need help with: [log in to see the link]
- The topic ‘Header Placement’ is closed to new replies.