Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Conflict with container-link cards

  • Hi team,

    I have created a global class .container-link, which normally works fine.
    But it doesn’t work with this section here.
    Is there a way to fix it?

    Thank you!

  • Hi there,

    You’ve set the parent container of h5 to position:relative, so the :before element can only go as big as the container. Removing the position value should fix the problem.

  • Oh, I see. Thank you!
    I didn’t set this value myself. But I noticed that GB set it automatically as soon as I increased the z-index.

    I had to increase the z-index so that the text wouldn’t become transparent.
    And at that moment GB automatically set the container to position:relative (without me wanting it to 🤨)

    Thanks!

  • The z-index only works if the parent element has a position value other than static, so what you’re seeing is expected. Usually, setting the text element to position: relative is enough to bring it above without explicitly setting a z-index.

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