[Resolved] change sidebar width on specific pages

Home Forums Support [Resolved] change sidebar width on specific pages

Home Forums Support change sidebar width on specific pages

  • This topic has 4 replies, 2 voices, and was last updated 8 years, 9 months ago by Discovery Analytics Center.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #121955
    Discovery Analytics Center

    Hi Tom,

    To begin with you have a wonderful template.

    I was wondering if you can help me figure out how to modify sidebar width for specific pages? I don’t mind diving into the code.

    I tried writing custom css for specific pages that overwrites global width classes grid, push and pull. While it does the trick, it fails when I visit the site on mobile devices.

    Thanks,

    #121967
    Tom
    Lead Developer
    Lead Developer

    Good question!

    Give this a try: https://gist.github.com/generatepress/9fe7ed28e64ced5ef40d

    Adding PHP: http://generatepress.com/knowledgebase/adding-php-functions/

    Let me know if it works or not 🙂

    #122154
    Discovery Analytics Center

    Hi Tom,

    Have been trying to reach you. Can you please drop me an email at dac [at] cs [dot] vt [dot] edu

    Thanks

    #122175
    Tom
    Lead Developer
    Lead Developer

    Just emailed you.

    Did the above code work for you?

    #122176
    Discovery Analytics Center

    Yes that worked. Thank you. I haven’t received your email yet. Can you share your email.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.