[Resolved] Different width between articles and archives

Home Forums Support [Resolved] Different width between articles and archives

Home Forums Support Different width between articles and archives

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1650449
    François

    Hello,

    I am a Premium for Life user:-)

    I would like to have a sidebar on the right side of the archive, and no sidebar in “article” mode.

    I know how to do that.

    The problem is that I would like the width of the container to be reduced when I don’t display the sidebar, so that the article lines are not too long.

    Is this possible?

    Thank you very much for your help.

    #1650533
    David
    Staff
    Customer Support

    Hi there,

    you can use the Layout Element:

    https://docs.generatepress.com/article/layout-element-overview/

    In the Content tab you can set a smaller width – and set the Display Rules Location to: Posts > All Posts.

    #1650713
    François

    Thank you David, I’ll try it!

    #1650851
    David
    Staff
    Customer Support

    You’re welcome

    #1650853
    François

    Yes! It works!

    I have what I want.

    Thank you more.

    #1651307
    David
    Staff
    Customer Support

    Glad to hear that!

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