Broadsheet CSS code for post slider text box

  • Unknown's avatar

    Hello,

    I’m looking to change the size and position of the text box in the featured post slider of Broadsheet. What is the CSS code to do this?

    Thanks!

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

  • Unknown's avatar

    Your background color on the slider is coming from this:

    .primary-content .primary-wrapper .item .image-meta {
    background-color: #3b5d4e;
    }

    In what way are you looking to change the position?

  • Unknown's avatar

    The following code will let you reposition the text box in relation to the main slider area, you can also set the font size, font colour and box colours:

    .primary-content .primary-wrapper .item .image-meta {
      background-color:rgba(59,93,78,0.9);
      bottom:unset;
      left:unset;
      top:30px;
      right:20px;
    }
    
    .primary-content .primary-wrapper .item h2 {
      font-size:1.5em;
    }
    
    .primary-content .primary-wrapper .item a {
      color:#eee;
    }
    
    .primary-content .primary-wrapper .item .image-meta:hover {
      background-color:rgba(0,0,0,0.7);
    }
  • Unknown's avatar

    Awesome! This is very helpful and exactly what I needed.
    Thank you!

  • The topic ‘Broadsheet CSS code for post slider text box’ is closed to new replies.