• Resolved ssattler

    (@ssattler)


    Hi guys,
    I’m using theme Twenty Sixteen. I didn’t want to list author and date to the left of the posts, so I installed a plug-in to get rid of them (WP Author, Date and Meta Remover). It worked, but unfortunately it left a blank column to the left of the posts. I can’t seem to find how I can just start the text of the post directly under the heading. Any tips would be appreciated! Here is how it looks now: https://www.espandiglobal.com/it/news-2/

Viewing 15 replies - 1 through 15 (of 18 total)
  • jack randall

    (@theotherlebowski)

    hopefully you’re using a child theme of twentysixteen, if so add the following into the child theme’s style.css file:

    article div.entry-content
    {
      width: 100%;
    }

    and see if that works. take a look at your site in different browsers and on different devices to make sure that things still look right in different mediums.

    Thread Starter ssattler

    (@ssattler)

    Hey! Thanks for the quick reply! Unfortunately I’m not using a child theme. Do I have to? Or is there another way?

    jack randall

    (@theotherlebowski)

    a child theme is the best practice for making alterations to the theme. there are plugins available that kind of do the same thing so you could install one of them. look for something like a css editor plugin.

    the benefits to using a child theme are that you can make as many changes and tweaks as you like and when the parent theme updates, you don’t lose any of your hard work ?? there’s plenty of info on creating child themes, it’s really pretty straight forward so if you’re not a code guru you don’t need to panic.

    Thread Starter ssattler

    (@ssattler)

    Sounds great! I think I’ll start with the plug-in approach first ?? Would using the code you suggested above work there as well?

    jack randall

    (@theotherlebowski)

    it should do, the plugin will override the default css. let me know if it works and if it doesn’t we’ll get more css specific.

    Thread Starter ssattler

    (@ssattler)

    Hello again! I tried and it doesn’t seem to be working. This is what I put in:

    <style type=”text/css”>
    article div.entry-content
    {
    width: 100%;
    }
    </style>

    The first and last row are added by the plug-in.

    Any other suggestions?

    Thread Starter ssattler

    (@ssattler)

    Oh, and the plugin I’m using is: Simple Custom CSS and JS

    jack randall

    (@theotherlebowski)

    get rid of the <style> tags, you just need the css code.

    Thread Starter ssattler

    (@ssattler)

    Found a different plugin that let me add the code without the style tags, but it’s still not changing anything. Thoughts?

    jack randall

    (@theotherlebowski)

    ok, we may need more specific css.

    try:

    div#content div#main article div.entry-content
    {
      width: 100%;
    }
    Thread Starter ssattler

    (@ssattler)

    I appreciate your patience! Unfortunately still no change…

    jack randall

    (@theotherlebowski)

    div#content div#primary div#main article div.entry-content
    {
      width: 100%;
    }

    try that. if that doesn’t work then i’m out of suggestions. that’s about as specific as i get with the css…

    Thread Starter ssattler

    (@ssattler)

    Nope. Nothing. Thanks for trying though.

    jack randall

    (@theotherlebowski)

    ok, i have a thought… it might be that the plugin you used to get rid of the author and date stuff may have just hidden it rather than just removed it. try deactivating that plugin and see if the css changes take hold. if they do, your site might look messy but don’t panic! we can fix that…

    Thread Starter ssattler

    (@ssattler)

    Disabled the plugin, so now author and date etc. shows again, but the text of the post still starts way to the right ??

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘blank space to the left of posts’ is closed to new replies.