Solved

CSS styles not reflected in Child Theme

Posted on 2011-02-19
9
320 Views
Last Modified: 2012-08-13
Hello,
I've created a child theme off of a premium theme called Corporate Works.
For some reason the styles aren't showing up when I change them.
Below is a shot of the css folders and my child theme css code: File heirarchy

/*
Theme Name: ASM Corporate Works
Description: Child Theme for Corporate Works Theme
Template: corporate_works
Version: 0.1
*/
 
@import url("../corporate_works/css/reset.css");
@import url("../corporate_works/style.css");
@import url("../corporate_works/css/style_orange.css");


body {}

.form-comment input.submit_no_margin, .comment-reply-link, #searchform #searchsubmit, .form-comment input.submit, .pagination a, a.nice_button {
	float: none;
	font-family: Verdana, sans-serif;
	font-size: 13px;
	font-weight: normal;
	border-top: solid 1px #db8d18;
	border-left: solid 1px #db8d18;
	border-right: solid 1px #db8d18;
	border-bottom: solid 1px #db8d18;
	background: url(../images/orange/button_overlay.png) repeat-x top #ff9a01;
	color: #000;
	height: 38px;
	line-height: 36px;
	cursor: pointer;
	padding: 0 12px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	margin: 6px 0 10px 0;
	-webkit-box-shadow: #999 0 1px 2px;
	-moz-box-shadow: #999 0 1px 2px;
	box-shadow: #999 0 1px 2px;
	width:auto;
}

Open in new window

0
Comment
Question by:Alicia St Rose
  • 6
  • 2
9 Comments
 
LVL 2

Expert Comment

by:asadhaider
ID: 34933923
Are the file paths correct for all the css files?

And could you post a link to your website where we can see it in action, It would help to find out whats wrong much faster and I can also have a look at the code for the style changer to see if thats the problem.
0
 
LVL 4

Expert Comment

by:andreizz
ID: 34933972
also try ctrl+f5 to clear cache.
0
 
LVL 7

Author Comment

by:Alicia St Rose
ID: 34934084
Unfortunately the site is on my local machine right now. I can load it to a live test site later on today.
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 2

Expert Comment

by:asadhaider
ID: 34934401
When you post it on a live site, add the link here. I'll take a look at it and see if I can help.
0
 
LVL 7

Author Comment

by:Alicia St Rose
ID: 35022938
Okay, I posted the site live here:

http://sandbox.intrepidrealist.com/Testing02/

And guess what? The styles are working for the child theme. (All I did was change the background color and font color for the top "GO" submit button as a test.)

But not working on my local machine. Ever seen that happen before?

0
 
LVL 7

Author Comment

by:Alicia St Rose
ID: 35023036
arghhhh!!

Now I'm getting no styles at all.
Or at least that's what it looks like on my end.

0
 
LVL 7

Author Comment

by:Alicia St Rose
ID: 35024485
Okay, styles are back after re-installing the themes.

Now to see if I can get the child theme styles to work again...
0
 
LVL 7

Accepted Solution

by:
Alicia St Rose earned 0 total points
ID: 35772237
Turned out the theme is screwy and not much response from the developer.
Thanks all for trying...
0
 
LVL 7

Author Closing Comment

by:Alicia St Rose
ID: 35807064
Bad theme, so couldn't make a child theme. Imagine that?!!
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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
The purpose of this video is to demonstrate how to Import and export files in 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 : Click on Too…
The viewer will learn how to dynamically set the form action using jQuery.

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