Sticky Posts – Triton Lite

  • Unknown's avatar

    Hi everibody,

    I’m trying to make horizontal sticky posts smaller without success. This parameter changes their global height:

    div.featured {
    height: 270px;
    margin: 0;
    width: auto;

    but I can’t manage transparent-grey rectangles for summaries. I would like to make them shorter in words number and smaller in height and width.

    Anyone can help me?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    but I can’t manage transparent-grey rectangles for summaries. I would like to make them shorter in words number and smaller in height and width.

    I see that you were able to manage the transparent grey rectangle summaries in the featured posts slider using this CSS:

    div.featured {
    height:90px;
    width:auto;
    margin:0;
    }
    
    .feature-slider a {
    background:rgba(255,255,255,0.7);
    display:block;
    font-style:italic;
    width:0;
    height:0;
    line-height:0;
    text-align:center;
    text-decoration:none;
    font-size:0;
    color:#222;
    }
    
    .featured .entry-summary {
    background:url("http://s0.wp.com/images/trans_black.png");
    color:#4f4f4f;
    width:500px;
    padding:20px 20px 0;
    }

    In the “.featured .entry-summary” section, the URL you’ve used is not a working link. It looks like you just wanted that removed anyway, so I would recommend updating the background property to this instead:

    background: none;

    The “.feature-slider a” section has the width and height set to zero. If you wanted to hide the numbered links in the slider, you could replace the whole “.feature-slider a” section with this:

    .feature-slider a {
    display: none;
    }

    The excerpts used for the Triton Lite featured posts slider are automatic excerpts by default, however, you can add your own excerpt manually on the edit post screen. To do that, open each sticky post for editing, click the Screen Options tab at the top right of the page and make sure the “Excerpt” option is checked, then look around on your edit page to the Excerpt box (it’s usually below the main editor), add an excerpt manually, and save changes. Check the home page again and the featured post you updated should show your manual excerpt instead of what was there before.

  • The topic ‘Sticky Posts – Triton Lite’ is closed to new replies.