Width of main column for pages

  • Author
  • #86603

    Original poster

    Hi! Is it possible to change the width of the main column ONLY for pages? (not for single posts)

    I would even like to change it for only one page, is that possible?

    My blog is http://franazafran.com/


    The blog I need help with is: franazafran.com


    Theme Author

    Hi Fran,

    Thanks for writing in. It looks like you found the Full Width page template. That would be the best place to start. It is possible to change the styles on a per page basis, you’ll just have to take a look at the classes on your body element to find the right selectors.

    For example, on your About page, you can see your body has a class of page-id-1. See here for an example: http://cl.ly/dqIF

    Using that, you could target the page for styles.

    .page-id-1 #primary { width: 100%; }
    .page-id-1 #content { max-width: 100%; }

    If you have any pages or elements in particular you’d like to change, let me know and I can assist further.


    Original poster

    Thanks for the quick answer! I couldn’t figure out why that was not working. I tried looking at the paddings (in the source code) and I solved it with this code and fixing the size of the image:

    .page-id-947 #main { padding: 0; }

    .page-id-947 .block-text { padding: 0; }

    Here is the result: http://franazafran.com/featured/


    Theme Author

    Nice! Thanks for posting this, perhaps someone else will benefit from the solution.

The topic ‘Width of main column for pages’ is closed to new replies.