[Support request] Make the header width match a custom Layout Element Content Width – Best way?

Home Forums Support [Support request] Make the header width match a custom Layout Element Content Width – Best way?

Home Forums Support Make the header width match a custom Layout Element Content Width – Best way?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2349210
    Benjamin

    Hello,

    Let’s say I have a Layout Element called “NoSidebar900px” which displays a no sidebar content with a 900px width based on a display rule : tag is “NoSideBar900px”.

    How can I elegantly make the header match that 900px width everywhere while keeping things dynamic?

    Right now the only way I’ve found is either by using Tom’s “Simple CSS” plugin and add custom CSS to the pages using that Layout :

    .grid-container{max-width:900px;}

    But obviously now it’s not dynamic so if I create a new page with the tag “NoSideBar900px” I would still have to add that for each page.

    What’s the best way to achieve this?

    Thanks,

    #2349839
    Ying
    Staff
    Customer Support

    Hi there,

    if I create a new page with the tag “NoSideBar900px”

    What do you mean by tag? Is it a post tag?

    Let me know!

    #2350294
    Benjamin

    yes it’s a post tag!

    #2350298
    Fernando
    Customer Support

    Hi Benjamin,

    For reference, can you share a page where you’ve applied the custom CSS?

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