Site logo

[Resolved] Make sure the 2nd component is not visible

Home Forums Support [Resolved] Make sure the 2nd component is not visible

Home Forums Support Make sure the 2nd component is not visible

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2575976
    Oguz

    On the site that I sent you privately. A second component appears on the right. but it should not appear. because that component is Lucky wp content plus . Contents add-on. It shouldn’t appear normally. because the table of contents does not exist on the homepage. we have to lose it. from the homepage. it should only appear as a sidebar inside the posts.

    https://i.imgur.com/aWTFhNU.png

    When you enter the site, there is a white part under the most read text. that part should not be visible. It should only appear in the content.

    #2576100
    Ying
    Staff
    Customer Support

    Hi there,

    It’s not something GP can control.

    However, you can try this CSS to hide it on non-single-post pages.

    body:not(.single-post) #right-sidebar #block-8 {
        display: none;
    }
    
    #2576109
    Oguz

    but hidden. this time. as you go down. most reads don’t move. but the table of contents in the text is moving.
    so i mean. I want it to move on the right bar when I scroll down the screen.
    this works in post but not in homepage

    #2576262
    Fernando
    Customer Support

    Hi Oguz,

    To clarify, do you want this: https://share.getcloudapp.com/2NubjWLo to be the one that is sticky on your homepage?

    #2576473
    Oguz

    yes. how will I do ? what should i add?

    #2576677
    David
    Staff
    Customer Support

    Hi there,

    how is the LuckWP Contents widget added to the site ?

    #2576692
    Oguz

    from the components
    as I said . The problem with it has been fixed. I just want the right component to move with it as the page goes down.

    #2576815
    David
    Staff
    Customer Support

    You will need to add this AFTER your current sticky CSS:

    .home .inside-right-sidebar aside:first-child {
        position: -webkit-sticky;
        position: sticky;
        top: 10px;
    }

    So it applies to the first child widget

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