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
Solved

CSS styles not reflected in Child Theme

Posted on 2011-02-19
9
325 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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Contact Form 7 3 25
mysqli_connect error on wamp but not on remote server 8 37
MVC - procedural PHP 10 34
How to make a good PHP + MySQL + JS pagination system? 3 30
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
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…

789 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