Title: Extend height without leaving padding
Last modified: August 21, 2016

---

# Extend height without leaving padding

 *  Resolved [erez88](https://wordpress.org/support/users/erez88/)
 * (@erez88)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/extend-height-without-leaving-padding/)
 * Hey guys, excellent plugin!
 * I’d like to know how to change the ticker’s height. This might seem obvious for
   anyone with basic CSS skills, but adding `height:` property to `.mtphr-dnt` actually
   adds (or takes) margin, and doing the same for `mtphr-dnt-wrapper` adds space
   below the text and scrolling text (I set the widget text to scroll up, so it 
   looks as if it adds padding-bottom to it). I therefore assume that neither line
   is the right one for my code. Any clue where I should put it?
 * Thanks!
 * [http://wordpress.org/plugins/ditty-news-ticker/](http://wordpress.org/plugins/ditty-news-ticker/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [erez88](https://wordpress.org/support/users/erez88/)
 * (@erez88)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/extend-height-without-leaving-padding/#post-4091734)
 * Okay. I managed to do it. It might not be optimal but it works:
    `.mtphr-dnt-
   tick {height:28px; margin-top:4px;}` (to the child theme’s stylesheet)
 *  Plugin Author [metaphorcreations](https://wordpress.org/support/users/metaphorcreations/)
 * (@metaphorcreations)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/extend-height-without-leaving-padding/#post-4091780)
 * Thanks for the compliments!
 * Your solution looks good to me. You could also set the height of the “Tick Dimensions”
   within your ticker edit page. But, that just adds inline styles anyways, so you’re
   css solution works great if it gets you the desired output.
 *  Thread Starter [erez88](https://wordpress.org/support/users/erez88/)
 * (@erez88)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/extend-height-without-leaving-padding/#post-4091849)
 * Oh excellent, thanks for the feedback!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Extend height without leaving padding’ is closed to new replies.

 * ![](https://ps.w.org/ditty-news-ticker/assets/icon.svg?rev=2650696)
 * [Ditty – Responsive News Tickers, Sliders, and Lists](https://wordpress.org/plugins/ditty-news-ticker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ditty-news-ticker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ditty-news-ticker/)
 * [Active Topics](https://wordpress.org/support/plugin/ditty-news-ticker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ditty-news-ticker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ditty-news-ticker/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [erez88](https://wordpress.org/support/users/erez88/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/extend-height-without-leaving-padding/#post-4091849)
 * Status: resolved