• Resolved vortexdizajn

    (@vortexdizajn)


    Hello,

    we use the plugin “Sticky Menu & Sticky Header or Anything” (so that the header follows the scroll) + “Ditty – Responsive News Tickers, Sliders, and Lists” (as like the news and information) and we use those 2 plugins in combination and they work okay and it follows scroll.

    Now we have one problem with that combination. If we only use this plugin to follow the header (Sticky Menu) it works as it should and looks okay, but if we insert this plugin for news (Ditty) all the way above in the header, a small problem appears, which is that the header is somehow not 100 now. % displayed, ie. that header falls down over the content, and follows the scroll like that.

    So it’s not 100% fixed in its place, but that part (probably because of that Ditty element + header), falls down over the content on every page and devices (We’ll send pictures and a link to what we mean, and you can check also for yourself). We are not sure what the problem is, so we are writing to both plugin support forums we would like to ask you to help us solve this, the client needs it urgently. Only when making a proposal, if we need to enter some code or similar, just let us know where exactly and how to insert it, thanks in advance. Pictures:

    #In these two pictures you can see that the header menu now is on top of the content:
    https://prnt.sc/V1GYCZr2tXb-
    https://prnt.sc/8wVwXFozNgZa

    #In this one picture, you can see that these bottles should be fully visible to the opener of the bottle:
    https://prnt.sc/OWgP_iaLCtEu

    We are using Astra Theme + Elementor Builder.

    Thanks in advance, Best Regards,
    Lazar

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author metaphorcreations

    (@metaphorcreations)

    Thanks for reaching out. This is happening due to the height of the Ditty increasing after page load, after after the sticky menu has calculated the height of it’s contents.

    You can try setting the Height speed of your ticker display to 0. This would ensure the ticker is displayed at it’s actual height as soon as possible.

    If this doesn’t resolve the issue, you can use custom css to force the Ditty html element to be a specific height and this will resolve your issue. Anywhere you can add custom css add the following:

    .ditty[data-id="2110"] {
        height: 34px;
    }

    If you add a custom class or id to your Ditty, you could also use that to target it:

    .my-custom-ditty-class {
        height: 34px;
    }

    Let me know how that works out for you.

    Thread Starter vortexdizajn

    (@vortexdizajn)

    Hello,

    thank you very much for the quick reply and solution, sorry for the wait, we didn’t have time to reply sooner. We tried this first with “Height speed of your ticker display to 0” but unfortunately it didn’t help, so after that, we entered this first CSS code that you sent us, and that solved the problem and we got what we wanted, thank you very much.

    #We just have a couple of questions:

    • Here in the CSS code, you gave us a solution for the element to be separated in px (pixels)? Will it be responsive for all devices and screen sizes, as we would like it to be? The more precise question is, will that Sticky Header be seen now 100% everywhere displayed on devices and screen sizes, and not make problems like we had before with it, cuz its in px?
    • When we added this CSS code, now we have a new problem at the top on the Header for this Ditty element. More precisely, there is no more animation in the Ditty element when loading the page, and there is a white line first, and then only this black background appears with text, it looks a bit strange. We didn’t touch anything, we don’t know why this has changed now, can we somehow restore the animation of the Ditty element as it was before, but also make the header work like this at 100% displayed?

    Best Regards,
    Lazar

    Plugin Author metaphorcreations

    (@metaphorcreations)

    Lazar – I’m glad that helped! In regards to your other questions:

    1. The css in pixels should be fine since your are only setting the height. The width of the ticker will still be responsive, and the text you are displaying doesn’t seem to wrap even at small screen sizes. You could modify the css to use min-height instead of height, which would allow for wrapped text, but the first item would need to only be 1 line of text or else you’d run into the same issue you had initially.
    2. The background color you have added is being set on the individual items, so the bacground color doesn’t show up until the first item has transitioned in. You can add the background color directly to the Ditty by adding background: rgb(34, 34, 34); to your custom css, or you can set a background color in the Ticker’s Style settings, in the Content Styles section. This should get rid of the flash of white you are seeing now.
    Thread Starter vortexdizajn

    (@vortexdizajn)

    Hello,

    thank you very much for your help and explanation, we will try this later and probably find a solution.

    All the best in your future work and career.

    Best Regards,
    Lazar

    Plugin Author metaphorcreations

    (@metaphorcreations)

    Sounds good. I’m going to mark this ticket as resolved, but feel free to create a new one in the future if you need to.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Sticky Menu + Ditty News Element (Header) falls down over content’ is closed to new replies.