• Hi there!

    I’m trying to help a lady widen her website. It’s running on a dinosaur of a theme that isn’t supported anymore, zBench.

    I have been poking around the editor portion of the page trying to find the wrapper or container, that will allow me to widen the margins by editing the existing code.

    I’ve made a few edits and am not sure what I am missing because I am not seeing results. I don’t want to keep futzing around and break it at this point! Hope someone can see any easier fix I am missing.

    I have edited functions.php and changed header width from 950 to 1450, and content width from 620 to 1020.

    I also edited library/theme-options.php and changed the widths in that section from 990 to 1490.

    I haven’t seen any changes at all with these php file edits, and think my method may be flawed. Any suggestions very welcome!

    *of note, I haven’t gone in to make a new full-width.php template because i do not (yet) have access to her cpanel or php access. I may need to set that up next if I can’t find a more direct route from the wordpress panel. There are SO many pages, I was hoping to avoid that method!

    • This topic was modified 6 years, 5 months ago by alexarohn. Reason: forgot tags

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    #wrapper, #header {
      max-width: 1200px;
    }
    #content, #content_ns {
      width: 900px;
    }

    Pick a width you like. This site uses a lot of fixed width stuff, so have fun.

    My recommendation would be to use a different theme — one that’s responsive.

    To add CSS: use the “Additional CSS” option in the customizer.

    Learn to use the Chrome Developer Tools to help you see and test changes to your CSS.

    Thread Starter alexarohn

    (@alexarohn)

    Thank you, Steve!

    Unfortunately, she is pretty set on this theme and the site she already has for now, so I am definitely constrained there. I definitely wish I could switch her to something more modern and will suggest as such again 🙂

    Do you think requesting access via ftp and adding a full width template might be easier than tracking down all the fixed width?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I wouldn’t work on a site that I don’t have FTP access to…

    In any case, you could add a template. It’s really up to you (and your client).

    Thread Starter alexarohn

    (@alexarohn)

    Hmm…good to know. Thanks for the insight, much appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to widen layout of theme by altering existing html, css or php. (zBench)’ is closed to new replies.