none of my changes to the CSS in wordpress theme is reflected in site?

Hey there,
This is driving me CRAZY, but I am making changes to my css in wordpress and its not showing in my site.  I have done the changes through the themes editor in the backed and I have tried FTP.

But when I check in firebug, the changes I make are not shown?

What is going on?   Its like its reading a style sheet from somewhere else and I can't find it.

I seem to remember when setting up the blog that I indicated that it would use the theme from somewhere else but I just can't remember.

please help?
LVL 11
Amanda WatsonWeb DeveloperAsked:
Who is Participating?
 
jeremyjared74Connect With a Mentor Commented:
Yeah I understand what your trying to achieve. I was just trying a different angle since what you are trying isn't working. One way to be certain would be to remove the stylesheets from the directory and see what happens.
0
 
jeremyjared74Commented:
Your css file may be inside the theme folder in a sub-folder.
EXAMPLE:
/wp-content/themes/your-theme/css/style.css

If that is the case the CSS in the theme editor will have something like this:
@imort style.css, or it will be in the header of your theme.
0
 
JF0Commented:
It sounds like you have a messy situation with different versions of themes and/or CSS files. So you are making the changes to the incorrect style sheet/theme.

Hard to give any solid answers without knowing the location of the CSS file you are editing and the link to the live site. But the best answer for now is to just double check the CSS file you are editing. Use View, Source or Firebug to determine the CSS file the site is using and work your way back from there.
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

 
Amanda WatsonWeb DeveloperAuthor Commented:
Righto well the blog is here
https://www.latinocellar.com/blog

and I am trying to remove the footer in the blog so I have made changes to
#colophon {
      display:none;
}

in style.css in the correct place.

You will even see in firebug it shows you to go to themes/newspress/style.css

so I do, make the change upload and its not showing.

I have also edited as I said via the dashboard in the backend, and its not showing...so it seems the actual style sheet location is somewhere else??
0
 
JF0Commented:
The ID 'colophone' is not used anywhere in your page. Perhaps you are working on too many projects at once? :)
0
 
jeremyjared74Commented:
If it is somewhere else, it will have to be called from somewhere in the them. It will either be linked in the header.php, or via import css file which is done with the @ symbol. The header link would be <link rel="....

Do you see anything like that in the theme?
0
 
Chris StanyonCommented:
You site is loading 8 different stylesheets (2 of which are called style.css)

As JF0 says, #colophon doesn't exist in your page. Your footer has an ID of 'footer' and can be hidden by adding display:none to the #footer rule - line 1423 of https://www.latinocellar.com/templates/theme056_shop/css/template.css
0
 
Amanda WatsonWeb DeveloperAuthor Commented:
The wordpress blog is being loaded into the Joomla template via a wrapper, an iframe

IF you use firebug and see the credits in the footer of the WORDPRESS theme, not the joomla FOOTER you will see there is a tag called
#colophon {

}
it is there, its is line 1657, it is in style.css and I can see it when I edit the style sheet in the backend

It is just not reflected in the site when I make a change to that sheet.
0
 
Amanda WatsonWeb DeveloperAuthor Commented:
These are the stylesheets being called in the header.php

<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
<?php if(get_option("newspress_colorscheme") <> "" && get_option("newspress_colorscheme") <> "default") : $skin = get_option("newspress_colorscheme"); ?>
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'template_directory' ); ?>/library/color-scheme/<?php echo $skin; ?>/style-<?php echo $skin; ?>.css" />
<?php endif; ?>

Open in new window

0
 
jeremyjared74Commented:
I just noticed that this link:
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'template_directory' ); ?>/library/color-scheme/<?php echo $skin; ?>/style-<?php echo $skin; ?>.css" />

appears to be in a folder named color-scheme, but none of the URL's reflect that directory. Is it possible the folder has been re-named?
0
 
Amanda WatsonWeb DeveloperAuthor Commented:
ok all those style sheets are the JOOMLA style sheets

The folder has not been renamed.

when you use firebug don't you see what i am talking about...ill show you an image
latino3.png
0
 
Amanda WatsonWeb DeveloperAuthor Commented:
ooh why didn't I think of that...that did prove an interesting exercise...the blog was still styled...however I got these errors
Warning: fopen(D:\sites\latinocellar\latinocellar.com\home\latinocellarblog/wp-content/themes/newspress/style.css) [function.fopen]: failed to open stream: No such file or directory in D:\sites\latinocellar\latinocellar.com\home\latinocellarblog\wp-includes\functions.php on line 4284

Warning: fread(): supplied argument is not a valid stream resource in D:\sites\latinocellar\latinocellar.com\home\latinocellarblog\wp-includes\functions.php on line 4287

Warning: fclose(): supplied argument is not a valid stream resource in D:\sites\latinocellar\latinocellar.com\home\latinocellarblog\wp-includes\functions.php on line 4290
0
 
Amanda WatsonWeb DeveloperAuthor Commented:
This is the function that cause those errors
 * Searches for metadata in the first 8kiB of a file, such as a plugin or theme.
 * Each piece of metadata must be on its own line. Fields can not span multple
 * lines, the value will get cut at the end of the first line.
 *
 * If the file data is not within that first 8kiB, then the author should correct
 * their plugin file and move the data headers to the top.
 *
 * @see http://codex.wordpress.org/File_Header
 *
 * @since 2.9.0
 * @param string $file Path to the file
 * @param array $default_headers List of headers, in the format array('HeaderKey' => 'Header Name')
 * @param string $context If specified adds filter hook "extra_{$context}_headers"
 */
function get_file_data( $file, $default_headers, $context = '' ) {
      // We don't need to write to the file, so just open for reading.
      $fp = fopen( $file, 'r' );

      // Pull only the first 8kiB of the file in.
      $file_data = fread( $fp, 8192 );

      // PHP will close file handle, but we are good citizens.
      fclose( $fp );
0
 
Amanda WatsonWeb DeveloperAuthor Commented:
And believe it or not, it is still telling me I can edit this file
https://www.latinocellar.com/latinocellarblog/wp-content/themes/newspress/style.css

to edit the stylesheet, but of course it doesn't exist in that folder now as I have renamed it...so where on earth is it getting its styling FROM??
0
 
jeremyjared74Connect With a Mentor Commented:
How strange. Why would they want to call a stylesheet from a function?

Is it so it would only display on certain pages maybe?

I don't know how much work it would take, but I would try to remove the function that calls the style-sheets and add them the natural way. I'm not sure I could figure this one out without access (and maybe not then either).
0
 
Amanda WatsonWeb DeveloperAuthor Commented:
So I changed the header to be
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="stylesheet" type="text/css" media="all" href="https://www.latinocellar.com/latinocellarblog/wp-content/themes/newspress/style.css
" />
<?php if(get_option("newspress_colorscheme") <> "" && get_option("newspress_colorscheme") <> "default") : $skin = get_option("newspress_colorscheme"); ?>
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'template_directory' ); ?>/library/color-scheme/<?php echo $skin; ?>/style-<?php echo $skin; ?>.css" />

so there was a direct link to the style sheet, still it doesn't change anything.

But then I removed this line
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'template_directory' ); ?>/library/color-scheme/<?php echo $skin; ?>/style-<?php echo $skin; ?>.css" />

and the colors changes, so it is reading that header file??

What is going on???
0
 
Chris StanyonConnect With a Mentor Commented:
@snowball

Are you sure you're not viewing a cached version of your site - That footer from your image isn't showing on my browser - it is already hidden by the #colophon {display:none; } rule.

My comments previously were to remove the black 'Liquor License' footer.The footer that shows in your image has never shown up on my browser

0
 
jrm213jrm213Connect With a Mentor Commented:
I agree with ChrisStanyon, I do not see anything like the picture you uploaded, the div with ID of colophon is hidden for me.
0
 
Amanda WatsonWeb DeveloperAuthor Commented:
what the!!??

it is gone???

Crikey, it would of had to have been when I made the direct reference to the css in the header
0
 
Amanda WatsonWeb DeveloperAuthor Commented:
Thanks everyone
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.