Solved

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

Posted on 2014-02-07
5
1,025 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks!  I just wasn't seeing that for some reason.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
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…
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…

744 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now