WordPress.org

Forums

Content Width (13 posts)

  1. jacobwcrosby
    Member
    Posted 2 years ago #

    I have been using WordPress for around three years now. Unfortunately, I ran into an issue and had to reinstall WP. In my previous installation, a friend of mine had modified some code for me to widen the content area of the theme I was using, however, I do not want to ask him again how to do it, and I just want to learn this myself.

    If anybody could give me a bit of help, I am using the Twenty Twelve theme, here is a link to the site: http://www.jacobwcrosby.com

    All I really want to change is the giant gray bars on either side of the content to be gone, or at the very least, much, much thinner. I always use photographs that are about 900px wide, and I am not able to do that now... I dislike people having to click a link to view a large image, it works better this way to keep them on the site.

    I am also very open to a new theme that would allow for a 'blog' style with large images, none of the gallery junk, I really dislike galleries.

  2. Andrew
    Forum moderator & snail smusher
    Posted 2 years ago #

    All I really want to change is the giant gray bars on either side of the content

    Are you using a Child Theme, or do you have a Custom CSS/Styles plugin?

  3. jacobwcrosby
    Member
    Posted 2 years ago #

    Neither, the theme is as it was installed from the WP Themes area, with no modifications.

  4. Andrew
    Forum moderator & snail smusher
    Posted 2 years ago #

    Try using a Custom CSS plugin to manage your CSS.

    Then within the area allocated of that plugin, try adding this;

    #page {
     max-width: 100%;
    }
  5. jacobwcrosby
    Member
    Posted 2 years ago #

    Installed the manager, however, upon attempting to modify the custom CSS code box, I am not able to input anything. After viewing their video tutorial, I believe I am doing it correctly. I will proceed to troubleshoot this, unless you happen to have experience with such an issue.

    I will get back to you following the troubleshooting.

    Thank you so much for the quick response and effort!!!

    ~Jacob

  6. Andrew
    Forum moderator & snail smusher
    Posted 2 years ago #

    If the plugin causes grief, ditch it and create a Child Theme.
    Then use that Child Theme's style.css file to add your CSS.

    These are both techniques to avoid modifying the theme's original files. Modifications to themes' files will be erased once themes update.

  7. jacobwcrosby
    Member
    Posted 2 years ago #

    Okay, it was apparently one of my Chrome Plugins. Having resolved that, and having input the suggested data, there is no change in the website layout. I can input the data again and give you a moment to view the site if you like.

  8. jacobwcrosby
    Member
    Posted 2 years ago #

    Interesting, I was unaware of the update issue. I had never had problems in the past with my friends modifications and the updates I had done. Although, it is possible that I did not actually update the modified theme.

  9. Andrew
    Forum moderator & snail smusher
    Posted 2 years ago #

    I can input the data again and give you a moment to view the site if you like.

    Yes, please.

  10. jacobwcrosby
    Member
    Posted 2 years ago #

    Done.

  11. Andrew
    Forum moderator & snail smusher
    Posted 2 years ago #

    It seems the plugin isn't working.
    Could you try the Child Theme method suggested above?

  12. jacobwcrosby
    Member
    Posted 2 years ago #

    I will do that right now.

  13. jacobwcrosby
    Member
    Posted 2 years ago #

    Alright, child created. I simply copied all contents of the twentytwelve theme into twentytwelve-child.

    I apologize for the delay, I had some FTP issues.

Topic Closed

This topic has been closed to new replies.

About this Topic