Jump to content
Sign in to follow this  
janetravis

Main Nav styling

Recommended Posts

janetravis    1
janetravis

Hi

 

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

 

http://50.22.97.155/~qa4good/

 

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.

 

thx

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi,

 

 

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

 

wp-content/themes/pagelines/sections/navbar/style.less

 

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
janetravis    1
janetravis

Thank you, will contact the PRO guys.

 

Question:

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.

 

http://50.22.97.155/~qa4good/

Share this post


Link to post
Share on other sites
James B    436
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
janetravis    1
janetravis

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

 

thx

Share this post


Link to post
Share on other sites
janetravis    1
janetravis

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:

 

http://50.22.97.155/~qa4good/

 

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

    • 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!
      Kindest,
      Catalina
       
    • richardjacruz
      By richardjacruz+
      I'm building a site at:
      http://dev.stevensoncraneservice.com/
      and I followed the instructions on building a "branding" area in the header:
      http://docs.pagelines.com/tutorials/creating-a-branding-area
      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.
      Thanks.
    • richardjacruz
      By richardjacruz+
      I saw this website build with PageLines DMS:
      http://lupusla.org/
      I want to have a header that's VERY similar. However, with the fixed area, I'm struggling with how to do that. 
      I want to have a "super menu" under one of the tabs, and drop downs for others, a larger logo to the left like this, a search all the way to the right, and a call-to-action at the top like we see with "Donate" (I want "Request a Quote").
      What area (fixed or header) is best to use for this, and, within that area, what are the best sections to place?
      Thanks. 
×