Decrease space between categories in nav bar
-
Hi again
I need to decrease horizontal space between each category in main menu… it is possible?
Or, in negative case, it is possible to change the background color of entire nav bar, and not only de categories fields (cells)…
-
errr. this kind of customization is beyond free support..will help you out this time…try this, its a snippet i cook up for our donater/supporter recently. supposedly it work on their end.
add this to wp-content/meso-custom-functions.php or child functions.php
http://pastebin.com/yz8wV4e6once added the code, the main nav will have the same style for nav block like the our mesocolumn child theme = mesodark, but it white scheme.
//demo.dezzain.com/?wptheme=mesodarkThanks for helping me, Richie… π I appreciate this.
I paste the code in my meso-custom-functions.php but the result was:
Parse error: syntax error, unexpected ‘}’ in /home/maxivers/public_html/wp-content/meso-custom-functions.php on line 19
I saw your demo site and is exactly what I need! π
I restored original archive…
did you forget to add open and close php tag
<?php -- the code -- ?>No, I put into an another PHP code in the page… I try to put into original code and after then too, with <?php and ?> but doesn’t work…
No, I put into an another PHP code in the page… I try to put into original code and after then too, with <?php and ?> but doesn’t work…
i’m confuse, are we still talking about the main nav customization? because its working fine in my end on the code..
try download and upload this to wp-content/
//cdn.dezzain.com/1/2016/02/meso-custom-main-nav.zip
it basically the same code as pastebin.also you need to setup menu in wp-admin->appeareance->menus->primary, so that the color menu work.
Hi… yeah, we are still talking about the main nav customization.
I don’t know why, but don’t work here… π but it is ok, I will try another solution.
Thanks!
The topic ‘Decrease space between categories in nav bar’ is closed to new replies.
