Solved

CSS styles not reflected in Child Theme

Posted on 2011-02-19
9
339 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
[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
  • 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 8

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
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

 
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 8

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 8

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 8

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 8

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 8

Author Closing Comment

by:Alicia St Rose
ID: 35807064
Bad theme, so couldn't make a child theme. Imagine that?!!
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
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…

728 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