Site logo

[Resolved] Add link to container

Home Forums Support [Resolved] Add link to container

Home Forums Support Add link to container

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

    Good day to all.

    I read the two solution posts
    Add link to container
    Entire block clickable

    But in no case did it work for me….
    Now in the past I had used the suggested solutions and they had worked, I wonder if with the 1.7.x update of GP this is no longer possible?

    The area of interest to me is on this page SiteTest, at the end, where I have placed a checkerboard container and the one furthest to the right with only TITLE written is what I acted on.

    Thank you for your interest and possible support

    #2564468
    Leo
    Staff
    Customer Support

    Hi there,

    Is either of the solution implemented currently?

    I’m not seeing any custom classes linked-container or clickable-container at all.

    Let me know 🙂

    #2564677
    Gerva

    Thank you for your response.
    No I actually entered the CSS code first in the CSS Customized panel, then I also did the test with a snippets, but nothing actually it doesn’t show as you say.

    I did a test by deleting .gb-inside-container and the CSS code shows up ???? but it doesn’t work…
    I don’t understand what it could be.

    I’ll leave the version without .gb-inside-container online, maybe that will help

    Thanks

    #2565142
    Leo
    Staff
    Customer Support

    Just to confirm, there are three steps in David’s solution here:
    https://generatepress.com/forums/topic/add-link-to-container/#post-2164581

    I don’t see step #1 being done at all. Can you make sure it is done first? Otherwise the CSS in step 3 won’t do anything.

    #2565752
    Gerva

    Hi
    I believe and hope I have done everything indicated.

    In fact, as I told you above, if I add in the CSS .gb-inside-container, the container appears without any CSS directive, as in the images above

    See images
    container-link-01
    container-link-02
    container-link-03
    container-link-04

    NB: Sorry but the server was down yesterday due to technical problems.

    Thank you

    #2566232
    Gerva

    Doing some tests on other site, I noticed something “strange”
    If in the CSS class I put for example double “box-slow-container” – this creates some problems.
    In fact during the test with other CSS code it was not seen, but as soon as I removed the double – and put only a – the desired effect worked.

    Now I wonder what could be the cause !!!

    #2566277
    David
    Staff
    Customer Support

    Hi there,

    add this to your CSS:

    .linked-container .gb-headline {
        position: static;
    }

    This will allow the link to expand outside of the headline, and attach itself to the container

    #2566324
    Gerva

    Stunning … you are great.
    Your interventions are always much appreciated and full of “knowledge”
    Thank you very much

    #2566536
    David
    Staff
    Customer Support

    Glad to be of help

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