Jump to content


Photo
- - - - -

DMS2 CSS for pagelines divs?

DMS2 CSS divs

  • Please log in to reply
1 reply to this topic

#1 dominiclane

dominiclane

    Advanced Member

  • Members

  • 30 posts
  • Country: Country Flag

Posted 29 May 2014 - 08:10 PM

Hi, have started using DMS2 this last week .. very cool

 

I'm using the pl-nextbox plugin from the pagelines site to add in php to activate a menu plugin I am using, 'Main Mega Menu' for wordrpess

 

I have made the menu sticky and put it in the header section with a dms drag and drop block/element

 

All works ok except now there is a big whitespace gap at the top of each page, approx 130px

 

When I add the pl-nextbox drag and dorp element in, it creates a blank space at the top of the page even though the menu displays above it

 

So I used css to position the #page-main div upwards by 140px and added some blank content rows using the 'Visual Composer' for wordpress plugin so the Title of pages was not quite so close to the menu/header in pages

 

But of course now I have noticed problems with changing the width of the page template/elements when you enable the layout view in dms and some buttons at the top of the page do not respond properly because they are overlapped by another div

 

For example ..

 

http://www.knoxfire.co.uk/latest/

 

On this page you can only hover the mouse over the very bottom of the buttons to click / select them because the div overlapping it. I know I could fix this by adding txt above the area like I have on this site with the same issue if it's useful

 

http://www.benrooney.co.uk/latest/

 

Also if you read individual posts it chops the title etc off the top

 

 

Any advice greatly appreciated on this ..

 

Can I just set an overlap in the css so that the page div sits on top of the pl-nextbox element or will that mess up the sticky function of the menu and if so what?

 

Or do I need to be clever with css to minimise the containing bit for the pl-nextbox causing the issue

 

Kind thanks

 

Dominic



#2 GetMeWebDesign

GetMeWebDesign

    Advocate

  • Members

  • 524 posts
  • LocationSurrey, UK
  • Framework Version:developer
  • Country: Country Flag

Posted 29 May 2014 - 09:03 PM

You have errors on Knoxfire

 

Failed to load resource: the server responded with a status of 404 (Not Found) http://www.knoxfire....-1401386362.css
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.knoxfire....-1401386362.css
 






Also tagged with one or more of these keywords: DMS2, CSS, divs