[Support request] How to 'max-width' the text but not the slider

Home Forums Support [Support request] How to 'max-width' the text but not the slider

Home Forums Support How to 'max-width' the text but not the slider

  • This topic has 3 replies, 3 voices, and was last updated 4 years ago by David.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1210136
    Dan

    Hi,
    I would appreciate it if you helped me with this issue.

    It is my intention that every post has a couple of images attached that are displayed with a slider.

    I’ve added a slider to a post to display the images (so the slider is contained within the post). Now, I’d like to change the max-width of the slider and text separately.

    When I add the following line in additional CSS in customizer, it changes the maximum width of both – the slider and text. I don’t know how to target text and the slider specifically.

    .entry-content {
    max-width: 700px;
    }

    Thanks!

    #1210156
    Leo
    Staff
    Customer Support

    Hi there,

    It’s not possible to set a max-width on the specific elements inside entry-content unfortunately.

    The solution would be to use our upcoming plugin Generate Blocks:
    https://generateblocks.com/

    Which is currently in Alpha 3:
    https://generateblocks.com/install/

    The container blocks would allow you to set different width for each block.

    #1210561
    Dan

    Great! Thanks Leo for the hint. Is it possible to build the homepage with Generate Blocks in a mode: your homepage displays your latest posts? Or I have to switch to a static page? (I’d like to avoid that)

    #1210635
    David
    Staff
    Customer Support

    Hi there,

    the page has to be a static page. You cannot directly edit archive/blog pages.

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