• Resolved block09

    (@block09)


    Hello everyone … this is my developing blog.
    https://block09.net
    the blog css seems not updating when i was adjust some simple css
    in my child.css.

    I updated my css at the wordpress – Dashboard > Appearance > Editor .
    am i right ?
    I only simple adjust the following setting but its doesn’t work.

    #content {
    text-align: right;
    width: 200%;
    }

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I don’t see any element with the ID of content so your CSS may be there, but it’s not “talking to” anything. What are you trying to accomplish?

    Thread Starter block09

    (@block09)

    thank you for reply Steve.
    #content {
    text-align: right;
    width: 200%;
    }
    the script is writing in my child.css
    to edit the Father css.

    i am trying to adjust the width of my content.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Can you mark up a screenshot to show me what you mean? Again, your CSS snippet is irrelevant to your actual HTML markup.

    You’ve got some errors in your child theme’s style.css. It has the following:

    /*
    Theme Name:     stackerchild
    Description:    
    Author:         [email protected]
    Template:       stacker-lite
    
    (optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
    */
    
    @import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);
    html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    font-family: inherit, ’Noto Sans TC', sans-serif;}
    
    #content {
        text-align: right;
        width: 200%;
        
    }
    
    <link rel="stylesheet" type="text/css" href="https://www.example.com/style.css?ts=<?=time()?>&quot; />

    Try changing it to:

    /*
    Theme Name:     stackerchild
    Description:    
    Author:         [email protected]
    Template:       stacker-lite
    
    (optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
    */
    
    @import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);
    html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    font-family: inherit, 'Noto Sans TC', sans-serif; }
    
    #content {
        text-align: right;
        width: 200%;
    }
    

    That weird single quote in front of ‘Noto Sans TC’ was messing up the rest of the CSS causing it not to be defined. No idea where that example.com/style.css line is coming from but it shouldn’t be there.

    Thread Starter block09

    (@block09)

    to MarkRH (@markrh)

    I really appreciate your reply. You found out the problem of my script.
    After i fix this little “’” everything back to the normal.

    brgds ray

    Thread Starter block09

    (@block09)

    to Steve Stern (@sterndata)

    The problem solved. thank you for your attention of my post.

    brgs ray

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Is my blog css working?’ is closed to new replies.