Jump to content
sciamannikoo

Unwanted padding wen using fixed menu

Recommended Posts

sciamannikoo

Here is the real case: http://bitmap.sciamanna.eu

I've enabled a fixed top menu to the site, but I see an extra 50px top padding added by /wp-content/themes/pagelines/pagelines-compiled-css-1_1348751764/

To be more precise:

body.navbar_fixed .page-canvas {

  • padding-top: 50px;

}

I know I could disable it from custom CSS, but I believe that this must be disabled by pagelines itself when fixed menu is enabled.

Share this post


Link to post
Share on other sites
catrina

Try changing the padding-top value to 0px and adding the CSS to Custom Code > Custom CSS. It should look like this:

body .page-canvas .navbar_fixed {padding-top: 50px}[/CODE]


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
sciamannikoo

@catrina, something's wrong with the code formatting in this forum: it mades your code almost unreadable.

However, as I've written, I already know how to solve the issue editing the CSS (in fact I did it already).

What I wanted to point out is that this should be done by PageLines itself.

Thank you by the way.

Share this post


Link to post
Share on other sites
micahguller

It would be even better if there were an interface to control this within the settings tab for the navbar itself

Share this post


Link to post
Share on other sites
Danny

The Padding is included on purpose, to give sections that are added below the Fixed Navbar enough room. Removing this padding, may cause some sections in your header template to be very close the Fixed Nav and therefore, look very odd.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
sciamannikoo

@Danny, I understand that, but in the other hand the default behavior causes extra unwanted padding too.

Share this post


Link to post
Share on other sites
Danny

Not sure what you mean, the padding-top:50px doesn't appear unless the Fixed Navigaton is enabled.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • Erika
      By Erika
      My sidebar is now showing up below the content, but only on the homepage. 
      I've tried disabling plug-ins individually, checking column width, and <div> tag errors on the page as well as in individual posts that are displayed on my homepage. I don't know exactly when this issue arose, so I don't know what else to try! 
      Here's the page link:
      https://confessionsofacosmetologist.com/
    • Liv Kundalini
      By Liv Kundalini+
      Hi -
      Pulling my hair out over here, and would love an assist!
      Site I am building, http://www.livkundalini.com/home, has a problem with the submenu items in the nav not appearing. 
      If anyone wants to see what the Nav should look like, feel free to look in the footer on the left hand side.
      Have tried disabling Pagelines and using the twentyseventeen theme, but problem persists.
      Saw this error (pasted at the bottom of this post) displaying in the inspector, and saw discussion of Jetpack potentially being a culprit. Disabled Jetpack, but the problem persists.
      Had the hosting company even flush the server-side cache, but no avail.
      Any thoughts? Please? It's the only thing keeping me from launching this site!
      Many Thanks,
      Todd
       
      WebSocket connection to 'wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data' failed: Error during WebSocket handshake: Unexpected response code: 403   O @ (index):7
    • russe-intensif
      By russe-intensif+
      Hi team,
      checking my site today, i'm surprised to see my MegaNav all in bottom of the pages, while it's in header.
      After getting to change it in couple of pages onto Template part (too time consuming !), i'm desperate and ask you for help :-)
      apprendre-le-russe-avec-ania.fr
      Thank you in advance !

    • dwpoyner
      By dwpoyner+
      Not sure exactly what is causing the issue. For some reason, why you view my site on mobile, the menu does not show up. It will pop up, but it is black. You can check it out here: http://dev.caryfbc.org. I'm also attaching a screenshot where I shrunk my browser down. Any suggestions?

    • khat
      By khat+
      I think I may have installed pagelines pro incorrectly, and then used features incorrectly. I installed first platforms framework theme and then the child, thinking I could do setup for child later. I tried to set up a background image, and tried custom css feature in pagelines dashboard. I had mistakes in my css, and just thought that if I deleted the info in the css custom feature in pagelines dashboard that the new information would overwrite the old info. The background image didn't respond at all, probably because I didn't have the child directory renamed. I then tried to use the LSS plugin to create css and added more css, possibly, somewhere -sigh-. I never did change the background image and get it placed properly. I used a workaround and in nested containers I placed a background image which worked well enough, so I moved on to try to create my nav bar/ menu bar. When I go to the Menus panel, there is NO area where I can place a menu on a page. I have read and reread and re- re- reread the instructions for placing a menu. I've used the pagelines editor to place a menu, however only HOME shows up. I've been at this for many hours. I've since uninstalled all of my pagelines items and reinstalled, thinking that it would restore all my changes to default, but no, it is still all there, with all my unresolved issues. I am completely at a loss as to what to do next.
×