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

    (@metaphorcreations)

    You just need to add some css to get things looking correctly. Go to News Tickers > Settings and add this custom css:

    .mtphr-dnt-inline-title {
        padding-top: 5px;
        padding-bottom: 3px;
        margin-bottom: 0;
        line-height: 16px;
    }

    @moonboots
    how did you make this work?
    having the same problem but doesn’t work.

    header.php
    [snip]

    <header id="masthead" class="site-header" role="banner">
    			<a>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
    				<h1 class="site-title"><?php bloginfo( 'name' ); ?></h1>
    				<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
    			</a>
    <?php if(function_exists('ditty_news_ticker')){ditty_news_ticker(34);} ?>
    			<div id="navbar" class="navbar">

    [snap]

    Title shows now above or below ticker, but not on same line. ??
    Without title it works.

    Thread Starter Moonboots

    (@moonboots)

    Hi MagicTigger.

    It worked a treat. its all down to where you place it in the header.

    It has to go after the “</header>” section but before your “<div>”

    To tell you the truth i just played around with it, adding it into different places until it worked.

    I would suggest checking out the css of your site-header too.

    Sorry i cant help anymore than that.

    Thread Starter Moonboots

    (@moonboots)

    Thanks Metaphorcreations

    The custom css worked perfectly. I did try padding etc before but it was the line-height that made the difference.

    Once again thanks

    Thread Starter Moonboots

    (@moonboots)

    Now Resolved thanks

    hey,

    something within my theme’s CSS is prohibiting the space for the title and the text to be in one line…i tried the CSS but it still doesn’t seem to work…

    https://www.atastuff.com (just building here for client)

    .mtphr-dnt-inline-title {
        padding-top: -55px;
        padding-bottom: 0px;
        line-height: 16px;
    }
    Plugin Author metaphorcreations

    (@metaphorcreations)

    Every theme’s css is different and the example above was specific to that user’s site. Please remove the custom css your are currently using and replace it with this:

    .mtphr-dnt-inline-title {
        margin-top: 0;
        margin-bottom: 0;
    }

    awesome! thanks so much

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Ticker alignment’ is closed to new replies.