Sean Glynn
asked 7 years ago

Promobar overlaps with DW Page Menu, despite selecting “push page down” option. Is this fixable?
Thanks!

2 Answers
Wilfred
answered 7 years ago

Hi Sean,
To resolve this issue please add following code to Footer code in Dashboard / Appearance / Customize / Custom Code.

 <style>
body.dwpb-push-page .navbar-fixed-top {
transition: top .5s;
}
</style>
<script>
jQuery(function($){
var dwpb_height = $('#dwpb').outerHeight();
$('.dwpb-action, .dwpb-close').click(function(){
$('body.dwpb-push-page:not(dwpb-open) .navbar-fixed-top').css( 'top', dwpb_height );
$('body.dwpb-push-page.dwpb-open .navbar-fixed-top').removeAttr('style');
});
setTimeout(function(){
$('body.dwpb-push-page.dwpb-open .navbar-fixed-top').css( 'top', dwpb_height );
},2010);
});
</script>

Hope this helps!

Sean Glynn
replied 7 years ago

It worked! Thanks, Wilfred!

Sean Glynn
replied 7 years ago

Hi Wilfred,

It worked, but unfortunately my menu/anchor links are now off-kilter when they smooth scroll down. (Essentially the smooth scroll now “overshoots” slightly past where I want it to stop when I click on one of my menu links, as a result of the insertion of the bar and code.) Is there a way to resolve this, or is this just a natural trade-off having the bar on a “DW Page” theme? (Thank you for your help! I greatly appreciate it!)

Sincerely,

Sean

DominicStaff
answered 6 years ago

Apologies for the delay in replying to you. Please follow our instruction below on how to upload image into imgur:
1. Go to  http://imgur.com/
2. Click on the Computer button   
3. Select your image (designwall_problem.jpg)
4. Click the Start Upload   
5. Send us “Direct link” as on the image below: 

Sean Glynn
replied 6 years ago

I uploaded my file, but the side option seem only to be the following (Markdown Link (reddit comments), HTML Image (websites & blogs), BBCode (message boards & forums), Linked BBCode (message boards)) and there isn’t an option for “direct link (email & IM). Is there another way to send the image, such as email? If you can tell me a certain day, I can also make sure the promobar is evident for your review on that day. Thank you for letting me know!

Dominic Staff
replied 6 years ago

You can send me your screenshot to email: help@designwall.com

Powered by DW Question & Answer Pro