Jump to content

Archived

This topic is now archived and is closed to further replies.

andrew@privaclick.ca

How to lock header section

Recommended Posts

andrew@privaclick.ca    0
andrew@privaclick.ca

I have Pagelines DMS developer version.

 

I don't want to use the "Fixed Nav Bar" because I need to customize more.

 

I am using the 2 columns section in the header section. Eveything is great, but I can't figure out how to "lock" it ?

 

Is there some CSS or similar ? The furthest I got was adding #header {position: fixed} but this made it so that parts would scroll over the header .

 

P.S. I am newbie ..

 

Thanks

Share this post


Link to post
Share on other sites
James B    436
James B

Hi there, I'm not sure what you mean by lock it. Can you clarify for us how you want that area to react.

 

Position fixed will make the header act like a fixed nav, so as your scroll down the page that area will float on top of the content at the top of the page.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
dorianspagelines    0
dorianspagelines

I have a similar problem.  I think he is referring to "FIXED" as in CSS.

 

My issue is that no matter what I place in either the header section or below it, I get a space of about 50px between the browser's edge and my graph. 

 

I need my top graph to be against the browser's top and I want it completely different that the default NavBar.

 

I've tried different "sections" from the "add to page" and nothing seems to be made to receive a custom background graph that is horizontal.

 

I've also tried to simply code CSS, with what would produce that graph, but no matter what I do, that won't work either.

 

Thanks

Share this post


Link to post
Share on other sites
dorianspagelines    0
dorianspagelines

Also, is there anyway to have "sections" on top of other "sections" from the "add to page"?

Share this post


Link to post
Share on other sites
James B    436
James B

Hi there, if you're apply position:fixed and want the item to be right against the top of the page you can add top:0 to the css. If there is a gap still this could be coming from a margin/padding inside of the element you're adjusting.

 

Unfortunately you can't position elements on top of each other in the drag and drop. You can adjust the position of elements using css to give that effect, but depending on what the item is and where it's positioned on the page it could be a bit of a messy fix.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites

  • Similar Content

    • flourishdesignstudio
      By flourishdesignstudio
      Hello,
      I have an older site that was built using PageLines several years ago (prior to the release of DMS). I wanted to leverage some of the power of your new PL5 plugin but the theme prevents be from adding any generated custom sidebars to the theme (through the drag and drop interface) and does not allow me to add any PL5 sections/containers/etc to the header or footer. Is there any way to easily override that or am I stuck only using PL5 in the content areas of the site?
      Thanks so much for the help!
    • JP
      By JP+
      Hello,
      How can you set the translations with platform5, the parts that are not in pages or posts? Texts and images…
    • romanondrasek
      By romanondrasek
      hi all, I have some trouble using PL5 on my site. 
      I used plugins for event calendar (event on) and plugin (timetable responsive scheduler for WP) for schedule (classes) in the gym.
      The problem is, that post from this 2 plugins are shown without menu in header and footer. (I setup header and footer) in the page editor for all type of page. 
      When I create a lesson, it creates posts with slug (I have a slug "lekce" & event for events).
      I try to edit the post with PL editor, but editor is not opening on the post.

      Do you have some idea where should be some problem? Thanx so much.
      here are links for the sites :
      site with schedule :
      http://www.myfit.cz/rozvrh/
      site of one of the class (pilates)
      http://www.myfit.cz/lekce/pilates/
      site with calendar :
      http://www.myfit.cz/kalendar/
      7 side with one event from the calendar :
      http://www.myfit.cz/event/pilates-instruktor-akreditovana-licence/?ri=1
      when I have my site on DMS2 it was working :-(
       
       
    • Barnaby Skinner
      By Barnaby Skinner+
      Hey team,
      Really simple question: where would I add code to a specific page header? I can see in the settings I can add code to the global header, but can't see how to do it for a single specific page. It's related to facebook pixel tracking
      Cheers
    • Le Chef Est Une Femme
      By Le Chef Est Une Femme+
      Hey everyone
      I am very sorry if this question has a "deja vu"  taste but I have been looking for more than 2 hours a way to add a phone number in the top right corner of my header website.
      Before asking that, I have read many of the questions related to that subject, from hooks and action map to function.php and hooker plugin but I am very lost. Plus many links kindly given by some of you are now 404 pages
      Is there anyone willing to help me find the easiest way to add this number please ? 
      In advance, thank you 
      www.upgrad.paris
×