Support » Plugin: Ditty News Ticker » Pre-load height

  • Resolved Sven74Muc

    (@hatschiii)


    I have a ticker with 1 line in my sidebar… so far so well

    When the page is loading the sidebar is loading and after a while when the ticker starts all other elements are moving down by the hight of the ticker.

    What I want is that there is no move of the sidebar elements down of the ticker. The height the ticker needs must be preloaded.

    I have tried all settings like “render empty rows”. Any idea how to solve this?

    • This topic was modified 4 months, 2 weeks ago by Sven74Muc.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author metaphorcreations

    (@metaphorcreations)

    You’ll need to add custom css to set a static height to your ticker.

    Here’s an example of what to use, added to your News Tickers > Settings page (or anywhere else you can add custom css):

    #mtphr-dnt-2886-widget {
      height: 14px;
    }

    Change the 2886 to the post ID of your ticker, and change the 14px to the height you need it to be.

    Great! Just changing 2886 is working pefect 🙂

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