• Resolved shaunjb

    (@shaunbaldwin)


    Hi guys,
    I’m totally new to wordpress, html etc.

    I am in the process of creating a child theme.
    I have linked the style sheet to the parent style.
    Now I am wishing change some of the styles- remove a drop shadow and remove the rounded edges from an image to be specific.

    I have copied the part of the coding i wish to change from the parent css and pasted it into the child theme css, then removed the drop shadow and rounded edge values. Yet the design on the web page remains the same.
    Below is the coding:

    /*
    
    Theme Name: Twenty Twelve Child
    Theme URI: public_html/wp/wp-content/themes/twentytwelve
    Description: Twenty Twelve child theme with a twist or two
    Author: shaun baldwin
    Version: 0.0.1
    Template: twentytwelve
    
    */
    
    @import url('../twentytwelve/style.css');
    
    .entry-content img, .comment-content img, .widget img, img.header-image, .author-avatar img, img.wp-post-image {
    	border-radius: 0;
    	box-shadow: none;
    }

    I’m using text wrangler to write the code and uploading the code using cpanel.

    Any help would be hugely appreciated. As mentioned earlier i’m new to all this so my understanding of wordpress in minimal.

    Thanks in advance,
    Shaun

Viewing 6 replies - 1 through 6 (of 6 total)
  • Site url?

    Hi shaunbaldwin,

    Have you ever tried to put a !important to your CSS code? Maybe it would help.

    That shouldn’t be needed in 99 out of 100 cases.

    Thread Starter shaunjb

    (@shaunbaldwin)

    Thanks for the responses so far.

    The URL:
    http://shaunbaldwin.com/wp/

    Apologies in advance if i don’t reply asap.
    Thanks again,
    Shaun

    Try using none for both of those and clearing your browser cache.

    .entry-content img, .comment-content img, .widget img, img.header-image, .author-avatar img, img.wp-post-image {
        box-shadow: none;
        border-radius: none;
    }

    Thread Starter shaunjb

    (@shaunbaldwin)

    Hi guys,
    Got things working now.
    Emptied the cache and changed the both values to ‘none’.
    Thanks again for your help.

    I’m sure I will be back on here again in the near future as I’ve been useless with learning this so far 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘creating a child theme, css not working’ is closed to new replies.