[Support request] Border on the middle of a section

Home Forums Support Border on the middle of a section

  • This topic has 9 replies, 3 voices, and was last updated 3 years ago by Tom.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #381915
    Nikola

    Hello Tom,

    How to make a border on the middle of section?

    I have a 2 columns grid, and i want to separate them with a border, but i want to border go across entire section, from top to bottom.

    Thanks in advance.

    Best,
    Nikola

    GP Premium 1.4.3
    #381948
    Leo
    Staff
    Customer Support

    Hi there,

    Can you link me to the page? Thanks!

    #381950
    Nikola

    I found out, i set class to section “no-padding”, and use css to make border-right to .lgc-first.

    But, this is the hardest way beacuse i need to make extra padding in css for elements inside columns, headings, images, text etc.

    I will have maybe a need to make border at the middle in 10 sections.

    Do you now maybe easiest way, or way without class “no-padding”?

    Here is the link LINK

    Thanks

    #382007
    Leo
    Staff
    Customer Support

    The site requires username and password.

    Feel free to send through Account Issue if you want to keep it private: https://generatepress.com/contact/

    #382433
    Nikola

    Try now.

    Thanks

    #382502
    Leo
    Staff
    Customer Support

    Sorry I’m not quite getting the question. What’s the connection between border right and no padding?

    Are you hoping to divide each of those blocks in the middle?

    Nice use of Sections and LGC by the way 🙂

    #382643
    Nikola

    Yea, i hope to divide each block with border on the middle.

    I used no padding and border to do that, but that is a harder way beacuse i need to style all elements inside. And i need a number of section at other pages.

    I need a easier way.

    Thanks 😉

    #382784
    Leo
    Staff
    Customer Support

    Unfortunately I don’t think there is an easier way.

    Will ask Tom to confirm.

    #382801
    Nikola

    OK, thanks.

    Let me know if you found the solution.

    #382814
    Tom
    Lead Developer
    Lead Developer

    So why is the no-padding class necessary? So the first element sits tightly next to the edge of the section? Wouldn’t that be necessary to add this kind of case when the inner Section padding isn’t needed?

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