badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Center horizontal menu (pages, links, etc..)?

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #11121
    bdk907
    Participant

    Is it possible to center the menu that is just below the header image?

    I’ve only got 3 links/pages and the menu is left justified vs. centered.

    Thanks.

    -bdk

    #11201

    Hi bdk,

    To centered the menu Go to Appearance -> Theme Options -> Design Options Tab -> Custom CSS paste the following CSS code and Click on save all changes button:

    #access {
    	text-align: center;
    }
    #access li {
    	display: inline-block;
    	float: none;
    	margin-right: -4px; 
    }
    #access a { 
    	display: block;
    	float: none;
    }
    #access ul li ul {
    	text-align: left;
    }
    #access ul li ul li {
    	display: block;	
    	margin-right: 0;
    } 

    Thank you for using our theme.

    #11332
    bdk907
    Participant

    Thank you, that worked!

    Secondary issue now, I’ve got a ‘Navigation’ link now in the top horizontal menu. I did some trouble shooting and took out the centering code, reloaded the page. The Navigation is no longer there and the text is left justified, but when I look at the page source I can see the ‘Navigation’ link text but it doesn’t display it when looking at the page via a browser.

    Via mobile, the ‘Navigation’ link shows up when selecting the menu button regardless of whether or not the centering css is used.

    What can I do to get rid of the “Navigation” link? I looked through WP, the database, etc.. And can’t find where that link is getting generated from.

    I’ve left the centering code in: http://www.shepherd-of-the-hills.com/

    Thanks again!

    -bdk

    #11333
    bdk907
    Participant

    So, I dug a little deeper and found the ‘Naviation’ link in clean-retina/library/functions/functions.php and commended out both sections (lines 777 – 812). Will this adversely harm the site? ie, are things going to break because I did this?

    Thanks.

    -bdk

    #11392

    HI bdk907,

    Yes it harms for the smaller device. May be for ie too and also it may harm too. You can hire a developer to fix the issue according to your own way. While hiring a developer please tell them to make child theme before updating anything.

    Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.