Solved

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

Posted on 2014-02-07
5
1,048 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
looking for wordpress theme 3 30
Woocommerce tabs in Product data not working 2 23
HTML question 2 26
WordPress Page Content Lost 2 21
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…

733 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