Jump to content
Sign in to follow this  

Main Nav styling

Recommended Posts




I like to copy over styles from nav bar to nav classic. Looking at styles applied to nav bar and am confused.


i have added this:


ul.main-nav {

    background-color: #5E8DC8;
    background-image: -moz-linear-gradient(center top , #6E9ED2, #4574B8);
    background-repeat: repeat-x;
    border-top: 1px solid #4574B8;



but this is the only style i could find.


Appreciate if you could send me the styles need to be applied to nav classic, to duplicate the same blue nav bar look.



Share this post

Link to post
Share on other sites




Unfortunately, we are unable to provide you the custom CSS needed to achieve your layout. However, all the styles can be found in:




Please bear in mind that all styling in this file is both CSS and LESS CSS.


The code you have provided above is only compatible with FF, you need to make sure you add gradient support for all others browsers. What you will need to do is convert the styling for the NavBar classes to the Nav Classics classes. It won't be an easy job but it should be possible. 


If you're having difficulty, you could contact one of our Pros, who will be more than happy to assist you - http://www.pagelines.com/pros/

Please search our forums, before posting!

Share this post

Link to post
Share on other sites

Thank you, will contact the PRO guys.



My only problem with NAV bar is the  #m1. #m, etc links on top of sub-menu items. Is there a way to to replace them with links to pages and posts?


I did not understand what are they for anyways.

Share this post

Link to post
Share on other sites
James B

Hi there, those indicate that the top item is an anchor for the dropdown, not a link. Unfortunately the navbar doesn't allow for top items to be dropdown anchors as well as links to other pages, this was how it was designed by the team at twitter bootstrap, I'd imagine due to the rise in touch screen devices. People on phones and tablets wouldn't be able to activate the dropdown without accidentally going to the link etc.


However, there are some premium navbars in the store which allow the top item to be a link and are styled better than the classic nav.

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

Where are the premium navbars in the store? i could not find them.



Share this post

Link to post
Share on other sites

bought it. thx.


One more question:

How can i keep teh post thumbnails always to the left of the post? It jumps to teh top on mobile devices. I liek to see a smaller version o fteh thumbnail, or teh same size, always on teh left:


Thank you

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

Sign in to follow this  

  • Similar Content

    • Borries
      By Borries+
      I know this is not an easy problem. Maybe there is a easy solution.
      I have tryed to uses the existing solution, that I have found in the forum
      I changed the colours of my nav (simple nav) and the hover effect (a. hover).
      I really tryed to highlight the active/used link in the nav but I cant figure it out.
      I want it to be black when active.
      Any help would be appreciated. Thanks.
      http://www.marcborries.de  nav link: "Sinn & Selbst" 
    • bnapoli
      By bnapoli+
      http://731.34b.myftpupload.com/ this website is using the NavPro navigation in Platform 5. It has a lot of menu items, so it breaks to two lines when the window is sized down. What is the media query to make the navigation either a) switch to "mobile mode" at a higher width, or b ) expand the nav into two lines. Thanks
    • pehja
      By pehja+
      It would be nice to have an option in the impuls section to only view hamburger menu.  That or let nav pro have that option ad also transparent background. Impuls is a great section. Love it.
    • catalinam
      By catalinam+
      Hi lovely Pagelines Forum Helpers!
      I am new to Pagelines as well as coding in general so sorry if this is stooopid. 
      I am reimaging my site www.theunimpossibles.com and I am trying to do a few seemingly simple things using paleness and modifying the lynette theme.
      How do I put a fine key line on the bottom of the dropdown nav? e.g. <hr style="height:1px;border-width:0;color:#e4e4e4;background-color:#e4e4e4”> I want a second nav in grey to site above it but I can't get the grey to go all the way to the top and full width. Is it possible to put social icons in the nav too? How can I make these two nav global but underneath the slider as per below only on the homepage? Is it possible to embed the royal slider onto the homepage? e.g putting the shortcode [new_royalslider id="4"] in the embed area generates the error: [RoyalSlider Error] Incorrect RoyalSlider ID or problem with query. Is it possible to make the slider, the instagram feed and the hero image on the blog posts full bleed? On the category page e.g http://theunimpossibles.com/category/recipes I would like to change "Posts  Currently viewing the category: "OM NOMS"" to be bigger, centred, and with more padding and only show the words "TOPIC: OM NOMS". Is it possible to remove the extract and put the date underneath similar to:  http://grittypretty.com/category/makeup/? Is it possible to make the post images on the blog posts wider and the text smaller? http://theunimpossibles.com/2015/06/30/amazingly-delicious-paleo-orange-blueberry-almond-meal-scones-with-earl-grey-cashew-cream/?pl_edit=on e.g the blog posts similar to http://grittypretty.com/makeup/the-top-6-office-beauty-must-haves/?  Obviously keeping everything responsive!
      I have been trying to Google all of this but alas I am very very stuck and would appreciate any help!
    • richardjacruz
      By richardjacruz+
      I'm building a site at:
      and I followed the instructions on building a "branding" area in the header:
      But, if you see the image I've attached, you'll see that there's a lot of space between the nav and the slider. Is this something I need to control with CSS in the Custom code section, or is there something else I can do that's part of the header section?

      Actually, what would also be nice is if I could put a divider line there... like an orange or a light gray.