Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • I think the assumption being made is that you have copied the entire style.css from twentyfourteen over to your child theme folder, and started modifying it there. Like you, I have only added the styles that need to be changed instead.

    Once I added a functions.php with the code provided in the thread I linked to above, I realized that it prevents widgets from being placed in the sidebars, but does not prevent them from being rendered – that has to be done using the css.

    Next, I looked for the code to be replaced, and found it in the 11.0 Media Queries section of the original styles.css file at line 3216. At this point, I decided to learn more about media queries in order to learn how I could apply this code to my child theme without copying everything over. This page explains how media queries work, and it is quite helpful.

    I think the trick is to put the appropriate media query into your child theme css above the replacement code, and it will override the master theme code depending on the width of the browser window. I will try it and see how it goes.

    As a novice at this, I welcome any input from those who really know this stuff!

    Thanks!
    Matt

    @danynek

    This thread covers removal of sidebars:

    It worked for me, but it does not seem to move content to the left as I expected. Now I will try the css mod described above.

    Thread Starter mharter

    (@mharter)

    Ok, I figured it out just after posting! Chrome was not updating the computed style after I forced the hover state. It is defined in the Primary Navigation section at line 3407.

    Thanks for your time!
    Matt

    Thread Starter mharter

    (@mharter)

    This turned out to be a “hidden links” attack on Dreamhost. A script vandalized all my sites hosted there, altering index.html, index.php, and a few other pages. The script seemed to get confused by the php code in wp-admin so it truncated the index.php file.

    Dreamhost has not responded to my support message, nor have they admitted to a broader hacking incident, so I don’t know for sure whether this was an attack on my sites specifically or on the shared server.

    Thanks!
    Matt

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