Solved

Trouble overriding CSS rules on a WordPress Woo theme..??

Posted on 2014-02-07
5
1,039 Views
Last Modified: 2014-02-07
I'm using WordPress and WooCommerce on my site at www.angelleye.com.  I'm using the basic theme by Woo, Mystile.  

I've got a child theme setup and I've been able to make most of the adjustments I wanted, but there are a couple of things I can't seem to figure out.  

1)  In the left sidebar I've added the Woo "Subscribe and Connect" widget and it has an orange submit button.  I'd like to change this to green the way I did for the shopping cart buttons, but for some reason I'm struggling to get it done the same way I did the others.

2)  The main menu of the site in the header (to the right of my logo) has little arrows to show menu items with sub-menus.  When you hover over these it turns to orange.  I'd like to make this green as well, but again, I can't seem to track down the correct rule that I need to override.  

Any help figuring this out would be greatly appreciated.  Thanks!
0
Comment
Question by:Andrew Angell
  • 3
  • 2
5 Comments
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 total points
ID: 39841316
It looks like the style is from style.css line 2897

media="screen"
a.button, a.comment-reply-link, #commentform #submit, .submit, input[type=submit], input.button, button.button {
display: inline-block;
padding: .236em .857em;
color: white;
text-align: center;
text-decoration: none;
font-size: 1em;
font-family: inherit;
cursor: pointer;
overflow: visible;
width: auto;
line-height: 1.618em;
margin: 0 .327em;
-webkit-font-smoothing: subpixel-antialiased;
font-weight: bold;
text-shadow: 0 1px 0 #cc1500;
background-color: #ff5911;
background-image: -webkit-gradient(linear, left top, left bottom, from(#ff5911), to(#dd2600));
background-image: -webkit-linear-gradient(top, #ff5911, #dd2600);
background-image: -moz-linear-gradient(top, #ff5911, #dd2600);
background-image: -ms-linear-gradient(top, #ff5911, #dd2600);
background-image: -o-linear-gradient(top, #ff5911, #dd2600);
background-image: linear-gradient(to bottom, #ff5911, #dd2600);
border: 1px solid #bb0400;
-webkit-border-radius: 0.202em;
border-radius: 0.202em;
-moz-background-clip: padding;
-webkit-background-clip: padding-box;
background-clip: padding-box;
-webkit-box-shadow: 0 0 0 0.327em rgba(0, 0, 0, 0.075), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0 1px #ff7b33, inset 0 -1px #cc1500;
box-shadow: 0 0 0 0.327em rgba(0, 0, 0, 0.075), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0 1px #ff7b33, inset 0 -1px #cc1500;
}

Open in new window


You would need to restyle that below this point or create a new style sheet and load it after the style.css
0
 
LVL 11

Author Comment

by:Andrew Angell
ID: 39841580
I guess it may be more of a WordPress question/issue than general CSS.  I was able to find that rule using Firebug, but then when I add it to my child theme's CSS and adjust it the same way I did everything else it seems to be getting ignored.
0
 
LVL 11

Author Comment

by:Andrew Angell
ID: 39841601
Well, getting rid of the media="screen" seems to have kicked in for the submit button on the contact form.  

Still trying to figure out that arrow on the menu items, though..??
0
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39841816
Look on layout.css starting at line 232.  If you use firebug, inspect the element and click on the word "after".  In the css you will see some css code for the  hover as well.
media="all"
@media only screen and (min-width: 768px)
#header #navigation ul.nav > li.parent a:after {
font-family: 'WebSymbolsRegular';
display: inline-block;
font-size: .857em;
margin-left: .618em;
content: ";";
color: #e3dad7;
font-weight: normal;
}

Open in new window

0
 
LVL 11

Author Comment

by:Andrew Angell
ID: 39841890
Thanks!  I just wasn't seeing that for some reason.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When applying CSS to your HTML, there are many different ways to select which element(s) the CSS applies to.  Some of these selectors are more commonly known and used than others - Here are the more common ones: #X - Matches an ID of X .X - Matche…
In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Open Page or Post…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question