Solved

CSS styles not reflected in Child Theme

Posted on 2011-02-19
9
307 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
 
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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 …
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
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…

747 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

10 Experts available now in Live!

Get 1:1 Help Now