Tagged: centered-menu
- This topic has 4 replies, 3 voices, and was last updated 9 years, 11 months ago by Theme Horse Support Team.
-
AuthorPosts
-
June 9, 2014 at 7:25 am #11121bdk907Participant
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
June 11, 2014 at 7:22 pm #11201Theme Horse Support TeamKeymasterHi 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.
June 15, 2014 at 7:23 pm #11332bdk907ParticipantThank 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
June 15, 2014 at 7:33 pm #11333bdk907ParticipantSo, 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
June 17, 2014 at 5:47 am #11392Theme Horse Support TeamKeymasterHI 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!
-
AuthorPosts
- You must be logged in to reply to this topic.