GeoDirectory SupportHow to Hide Cell Borders for the Main Menu – GeoDirectory Support https://wpgeodirectory.com/support/topic/how-to-hide-cell-borders-for-the-main-menu/feed Sun, 22 Feb 2026 15:47:46 +0000 http://bbpress.org/?v=2.5.14-6684 en-US https://wpgeodirectory.com/support/topic/how-to-hide-cell-borders-for-the-main-menu/#post-22360 <![CDATA[How to Hide Cell Borders for the Main Menu]]> https://wpgeodirectory.com/support/topic/how-to-hide-cell-borders-for-the-main-menu/#post-22360 Sun, 23 Nov 2014 19:26:28 +0000 directory Hi Paolo,

Do you have the CSS to hide the cell borders at the main menu for GDF Modern?

]]>
https://wpgeodirectory.com/support/topic/how-to-hide-cell-borders-for-the-main-menu/#post-22369 <![CDATA[Reply To: How to Hide Cell Borders for the Main Menu]]> https://wpgeodirectory.com/support/topic/how-to-hide-cell-borders-for-the-main-menu/#post-22369 Sun, 23 Nov 2014 21:29:58 +0000 Simone Hello,
add in your style.css (child theme)


header nav .nav li a { 
border-right: none;
}
]]>
https://wpgeodirectory.com/support/topic/how-to-hide-cell-borders-for-the-main-menu/#post-22371 <![CDATA[Reply To: How to Hide Cell Borders for the Main Menu]]> https://wpgeodirectory.com/support/topic/how-to-hide-cell-borders-for-the-main-menu/#post-22371 Sun, 23 Nov 2014 21:32:59 +0000 directory https://wpgeodirectory.com/support/topic/how-to-hide-cell-borders-for-the-main-menu/#post-22374 <![CDATA[Reply To: How to Hide Cell Borders for the Main Menu]]> https://wpgeodirectory.com/support/topic/how-to-hide-cell-borders-for-the-main-menu/#post-22374 Sun, 23 Nov 2014 21:43:23 +0000 Guust You will find that the Modern theme has already this as standard in the child CSS:

header nav .nav li a {
border-right: 1px solid rgba( 255, 255, 255, 0.15 );
padding: 10px;
}

header nav ul li:first-child a {
border-left: 1px solid rgba( 255, 255, 255, 0.15 );
padding-left: 1.5em;
}

Just adjust the current CSS instead of adding new code, is probably more advisable.

So to implement Simone’s advice, change the above to

header nav .nav li a {
border-right: none;
padding: 20px;
}

header nav ul li:first-child a {
border-left: none;
padding-left: 1.5em;
}

]]>
https://wpgeodirectory.com/support/topic/how-to-hide-cell-borders-for-the-main-menu/#post-22375 <![CDATA[Reply To: How to Hide Cell Borders for the Main Menu]]> https://wpgeodirectory.com/support/topic/how-to-hide-cell-borders-for-the-main-menu/#post-22375 Sun, 23 Nov 2014 21:49:47 +0000 directory Thank you, Guust.

]]>