Solved

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

Posted on 2014-02-07
5
1,043 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…

860 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