WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Local installation of WP. Changes in CSS don't change anything. (3 posts)

  1. Anonymous
    Unregistered
    Posted 6 years ago #

    I'm very new to WordPress but not to web design. I've been dissecting various themes and trying to modify them. I'm working locally with WAMP on a PC.

    I've downloaded K2, sandbox, tried modifying classic and default and nothing will change when I modify the CSS. I've tried modifying within wordpress and with dreamweaver, code not wysiwig.

    From what I understand, I need to make a copy of the theme and put different identification information at the top of the stylesheet which I've done.

    Searcning for help on the web I found someone suggesting copying the page source (straign html, no php) and modify the stylesheet from that. You can get immediate feedback that way. I tried this, working in dreamweaver, and the changes I made in the stylesheet did appear in display view. However, they did not display after saving the CSS and viewing the regular php page. I did clear the cache.

    I'm not sure what code might help to figure out what I'm doing wrong or if there's something simple I'm doing or not doing. It's local so I don't have it uploaded to a host. I would like to use the Sandbox theme which seems the most unformatted to start from.

    Thanks for you help. A Newbie.

  2. Anonymous
    Unregistered
    Posted 6 years ago #

    I just noticed a similar question but I don't quite understand the response. It looks like there can be some issues in the head tag.

    Here's the head information from Sandbox:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes() ?>>
    <head profile="http://gmpg.org/xfn/11">
    	<title><?php bloginfo('name'); if ( is_404() ) : _e(' &raquo; ', 'sandbox'); _e('Not Found', 'sandbox'); elseif ( is_front_page() || is_home() ) : _e(' &raquo; ', 'sandbox'); bloginfo('description'); else : wp_title(); endif; ?></title>
    	<meta http-equiv="content-type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
    	<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" />
    	<link rel="alternate" type="application/rss+xml" href="<?php bloginfo('rss2_url') ?>" title="<?php echo wp_specialchars(get_bloginfo('name'), 1) ?> <?php _e('Posts RSS feed', 'sandbox'); ?>" />
    	<link rel="alternate" type="application/rss+xml" href="<?php bloginfo('comments_rss2_url') ?>" title="<?php echo wp_specialchars(get_bloginfo('name'), 1) ?> <?php _e('Comments RSS feed', 'sandbox'); ?>" />
    	<link rel="pingback" href="<?php bloginfo('pingback_url') ?>" />
    <?php wp_head() ?>
    
    </head>

    In the css file if refers to the various layout options:

    /* Two-column with sidebar on left from the /sandbox-layouts/ folder */
    @import url('sandbox-layouts/3c-r.css');

    I don't know if this info helps to figure out the issue.

  3. Anonymous
    Unregistered
    Posted 6 years ago #

    I found one solution. Refresh the page with fn+f5 in firefox and shift+refresh in ie (I'm on a pc). Doing that after each update is showing the changes in the theme consistently.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.