Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

[SOLVED] Removing Left Border / Padding from submenu


  #1  
Old Jan 30, 2018, 03:23 PM
rickpoet
 
76 posts · Jan 2010
Hi,

Sorry if this was covered in another thread (I did search and didn't find exactly). Looking at this page: http://www.friedpotatopress.com/

In the sub menus, when not hovered, there is a 10px white border to the left of these items. When I hover, the intended blue background color covers this white area. I'd like that white strip to the left of the un-hovered sub-menu items to be black like the rest of the item's background. Here are the CSS inserts I have for this site, any quick adjustment to help fix this would be highly appreciated!

div#menu1 {
border: solid 0px;
background: none;
}

div#menu1 ul.rMenu {
background: none;
border: none;
}

ul.rMenu-hor li {
margin-left: 10px;
}

ul.rMenu a:link,
ul.rMenu a:active,
ul.rMenu a:visited,
ul.rMenu a:hover {
padding: 4px 20px; /* 4px top/bottom, 20px left/right padding */
padding-left: 20px!important;
padding-right: 20px!important;}


/* add formatting to submenu items */
div#menu1 ul.rMenu li ul.rMenu-ver li a:link {
margin-top: 2px;
font-size: 23px;
padding-top: 12px;
padding-bottom: 12px;
font-weight: normal;
margin-left: -10px!important;
padding-left: -10px!important;
}
  #2  
Old Jan 30, 2018, 04:49 PM
juggledad's Avatar
juggledad
 
23,627 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What you want to do is change the color of the unordered list. Try adding
HTML Code:
ul.rMenu ul {
    background-color: #000;
}
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Feb 7, 2018, 08:11 PM
rickpoet
 
76 posts · Jan 2010
Perfect. Thanks!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Submenu moved some pixel to left baeckerman83 Montezuma Theme 2 Jul 15, 2015 03:15 PM
[SOLVED] Removing Border and padding from some images vinceesq Center area post/pages 2 Apr 2, 2013 11:02 PM
Padding issue in submenu tsheridan Page & Category Menu Bars 2 Jan 26, 2012 09:47 AM
Eliminating the padding after removing page titles neondevil Page & Category Menu Bars 2 May 20, 2011 08:47 AM
[SOLVED] how to create a CSS insert for border-left border-right on menu tabs aliengirl Page & Category Menu Bars 3 Jan 7, 2010 08:22 PM


All times are GMT -6. The time now is 06:44 AM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.