Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2014-02-07
5
Medium Priority
?
1,075 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 53

Accepted Solution

by:
Scott Fell,  EE MVE earned 1500 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 53

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

Understanding Web Applications

Without even knowing it, most of us are using web applications on a daily basis. Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We often confuse these web applications tools for websites.  So, what is the difference?

Question has a verified solution.

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

When writing CSS, there are a few simple rules that will make your life easier.    1. Using ‘* {box-sizing:border-box;}’. Using this will wrap all your elements in a nice little compact box-model that will give you the width you want, like so... …
This article discusses four methods for overlaying images in a container on a web page
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

670 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