Site logo

[Support request] Make the table of contents appear above the article image on mouseover.

Home Forums Support [Support request] Make the table of contents appear above the article image on mouseover.

Home Forums Support Make the table of contents appear above the article image on mouseover.

Viewing 15 posts - 16 through 30 (of 40 total)
  • Author
    Posts
  • #2090068
    francesco

    which CSS should I insert? sorry but i can’t understand.

    #2090070
    Ying
    Staff
    Customer Support

    Not CSS, but CSS class, I attached an article about how to add CSS class to the block:
    https://wordpress.com/support/adding-additional-css-classes-to-blocks/

    Please check the screenshot I attached in my last reply, let me know which part you don’t understand.

    #2090075
    francesco

    yes that in the custom selector I have to enter .dynamic-entry-expert? which css class should i use?

    .special-media-text-block {
    background-image: linear-gradient(to bottom right, red, blue);
    }

    #2090086
    Ying
    Staff
    Customer Support

    You don’t need to use any CSS as you are using GB pro.

    You just need to:

    1. Add the CSS class to the dynamic content block.

    2. Add the effect to the very outside container block, the settings were all in the screenshot I attached.

    #2090116
    francesco

    what should I write which CSS class?

    #2090124
    francesco

    my error. done.. thnx!!

    #2090126
    Ying
    Staff
    Customer Support

    Add the blog-dynamic-content class to the dynamic content block instead of the parent container block:
    https://www.screencast.com/t/mIfwnuQ5d7Gz

    The effect setting for normal state is correct, but make sure it’s .blog-dynamic-content with the . , as I can’t see it in your screenshot.

    You’ll need to add another effect to the same container block/ same custom selector on hover state.

    #2090133
    Ying
    Staff
    Customer Support

    Great! Just saw your last reply.

    Glad to hear that 🙂

    #2090134
    francesco

    if i wanted to change the background hover color of the dynamic content how should i do? other than the color of the text?

    #2090138
    francesco

    it’s correct?

    #2090143
    Ying
    Staff
    Customer Support

    Based on this screenshot, you added to the container block which contains the dynamic content block.

    In that case, you can set background color for the container block.

    #2090150
    francesco

    sorry but I’m lost again. .blog-dynamic-content with the dot is correct where did I put it?

    i tried to change the background of the container it told me. but it does not work.

    #2090158
    Ying
    Staff
    Customer Support

    .blog-dynamic-content with the dot is correct where did I put it?

    The class with dot is to be put in the Effect > Custom Selector.

    #2090159
    francesco

    I don’t understand what it’s for. Regardless of whether there is, nothing changes.

    #2090161
    francesco

    ok yes, in effect the . is inserted.

Viewing 15 posts - 16 through 30 (of 40 total)
  • You must be logged in to reply to this topic.