Archived

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

  • 0

Navigation : Custom Navigation


Question

Posted · Report post

Hi,

 

I am looking for some code that will enable me to just have simple text navigation, on a background that i choose. So for example using the navbar option but only have text no pre defined black box, but then i can add my own custom background using CSS... there must be a way, i just need to know the right method so i can implement my css.

 

I have this so far:

 

#site .navbar .navline li a { color: #54CACA; }
#site .navbar .navline li a:hover { text-decoration: underline; }
#site .navbar .navline .background { url('/wp/wp-content/uploads/2012/12/footer.png');}

Share this post


Link to post
Share on other sites

4 answers to this question

Posted · Report post

Update, i have managed to do this with the Nav Classic, but i would like to know the code for the tab, i.e the tab is a grey square, i would like to either remove this or, change this to a black rounded square.

 

Code us thus far:

 

#nav
{
border-style:solid;border-color:#000000 #000000;
box-shadow: 2px 2px 2px #888888;
background: url('/wp/wp-content/uploads/2012/12/header7.jpg');
}
 

Share this post


Link to post
Share on other sites

Posted · Report post

If you're using Firebug,  under the Style tab, you'll see options for Active, Hover and Focus.  Check those three.  Click the menu element and the CSS applied when in any of those states will display in the sandbox.  You can adjust accordingly, testing to see if it works, then copy to Dashboard > PageLines > Site Options > Custom Code > CSS Rules.

Share this post


Link to post
Share on other sites

Posted · Report post

i dont have firebug..

Share this post


Link to post
Share on other sites

Posted · Report post

I provided a link above. It's free.  Works with Firefox browser.

 

Firebug or Chrome's Inspection Tools (a built in component of the Chrome browser) is a critically important part of any site development today.  I strongly recommend you obtain Firebug and use it to learn the structure and code behind your site, if you're going to modify things. 

 

PageLines works brilliantly right out of the box to create unique websites.  However, customizations require some ability to change CSS code.  If you're not familiar with this, Firebug is one of the best tools.

 

We also recommend as a learning resource  http://www.w3schools.com/css/

Share this post


Link to post
Share on other sites