• Resolved TmVikholt

    (@tmvikholt)


    I installed the Sundance theme, but I increased the header width to 1150px and the sidebar width to 250px. These changes worked just fine.

    However I cannot get the main column to cooperate. I want it to be 800 px wide and be lined up with the left side of the header. There is some sort of white padding on the left side of the column that won’t allow this, though – they made space for the gravatar to show up there, but I have turned it off.

    Right now, if I increase the width of the main column, it simply overlaps the right sidebar. So I would like to know how to move the whole column over to the left (while leaving everything else the same).

    Thank you,
    -Maria @ https://www.trinemarie.com/

Viewing 6 replies - 1 through 6 (of 6 total)
  • That’s the margin here:

    .hentry {
        margin: 0 0 3.14286em 14.2857%;
    }

    BTW, I hope you’ve been making changes in custom CSS and not modifying theme files – as your changes will be lost when the theme is updated.

    If you need to change theme files beyond CSS, you should be using a child theme –

    https://codex.www.ads-software.com/Child_Themes

    Thread Starter TmVikholt

    (@tmvikholt)

    Thank you! Do you know exactly what “.hentry” means? Just so I understand it better.

    I have actually never heard of child themes, but I have had a theme for the past year that I made custom changes to and nothing ever changed back. Shouldn’t I have to approve any updates to the files in my own file directory? I mean, no one else have access to them, and I had to upload the files myself when I changed the theme. Doesn’t that mean that they won’t be updated unless I do so myself? (Which I’m not planning to)

    Sorry, just trying to clear it up.

    .hentry is just a class name. It could just as easily been .wibble or .foobar. ??

    hentry is a class from the HTML here:

    <article id="post-9154" class="post-9154 post type-post status-publish format-standard hentry category-clothes category-me tag-boots tag-christmas tag-clothes-2 tag-fashion tag-heels tag-shoes tag-winter tag-wishlist">

    The theme has not been updated since last January – and you’re using that version. Avoiding updates isn’t a good strategy because you’ll likely eventually run into compatibility issues with WP Core and/or plugins.

    You might consider moving your changes to a child theme so you can keep it updated.

    Thread Starter TmVikholt

    (@tmvikholt)

    Ah, okay. Well, right now I have only made a single change to the theme (removing the call for my gravatar beside the posts), and it should be pretty easy to re-do once I update it. If I want to keep changing it then I will definitely do it that way.

    Thank you so much!

    Cool – and you’re welcome :).

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How can I change the width of the main column?’ is closed to new replies.