WordPress.org

Ready to get started?Download WordPress

Forums

How to Align Text on Navigation Bar (4 posts)

  1. thebeautyedge
    Member
    Posted 1 year ago #

    How do I align the text on my top navigation bar so that there is no gap on the right towards the end? I want to remove that empty box at the end of the bar. Thanks!

    http://www.thebeautyedge.com

  2. kevindng
    Member
    Posted 1 year ago #

    Hi you!
    My idea to change css code like this, and your site look better

    #topMenu{
    	position:relative;
    	float:left;
    	left:50%;
    
    }
    ul.sf-menu{
    	position:relative;
    	float:right;
    	right:50%;
    }
    
    #topMenu ul.sf-menu li{
    	position:relative;
    	float:left;
    	left:50%;
    }
    #topMenu ul.sf-menu li:last-child{
    	background:none;
    }

    http://i1085.photobucket.com/albums/j425/longdhb/YiiVN/Untitled.png

  3. thebeautyedge
    Member
    Posted 1 year ago #

    Thanks for responding, but I'm not sure what I am doing wrong. Here is a preview of what I end up with:

    http://i103.photobucket.com/albums/m121/daniara85/code.jpg

    All I did was replace the first 4 lines of code with this one in my style sheet in the topMenu section. Am I supposed to replace the whole topMenu section with just this?

    Thanks for all your help!

  4. thebeautyedge
    Member
    Posted 1 year ago #

    Can anyone solve my dilemma? Please help! Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic