WordPress.org

Ready to get started?Download WordPress

Forums

Sundance
[resolved] How can I change the width of the main column? (7 posts)

  1. TmVikholt
    Member
    Posted 8 months ago #

    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 @ http://www.trinemarie.com/

  2. WPyogi
    Volunteer Moderator
    Posted 8 months ago #

    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 -

    http://codex.wordpress.org/Child_Themes

  3. TmVikholt
    Member
    Posted 8 months ago #

    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.

  4. esmi
    Forum Moderator
    Posted 8 months ago #

    .hentry is just a class name. It could just as easily been .wibble or .foobar. :-)

  5. WPyogi
    Volunteer Moderator
    Posted 8 months ago #

    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.

  6. TmVikholt
    Member
    Posted 8 months ago #

    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!

  7. WPyogi
    Volunteer Moderator
    Posted 8 months ago #

    Cool - and you're welcome :).

Reply

You must log in to post.

About this Theme

About this Topic