Designfolio theme: change font color on featured content slider

  • Unknown's avatar

    Anyone have the CSS to change the font color on the featured content slider for the Designfolio theme? The default seems to be white which doesn’t show up on many of my featured photos.

    Thanks,
    -Maria

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

  • Unknown's avatar

    Hi Maria, I’m offering three possible solutions. The first will allow you to change the color, although with the variety of colors in your images, it may be difficult to find one that works on all of the images.

    This would allow you to change the color.

    .slide-content, .flex-container .slide-content a, .slide-content .entry-title a {
    	color: #fff;
    }

    This solution would put a transparent black behind the text on the slider. The last number, (0.5) is the transparency/opacity. The closer to 0, the more transparent.

    .slide-content {
    	background-color: rgba(0, 0, 0, 0.5);
    }

    And this one would slightly increase the text shadow. This is probably the least effective of the three since it doesn’t help that much.

    .slide-content {
    	text-shadow: 2px 2px 0 #000;
    }
  • Unknown's avatar

    That second one’ll work! Danke schön thesacredpath!

    -M.

  • Unknown's avatar

    Hooray and you are welcome!

  • The topic ‘Designfolio theme: change font color on featured content slider’ is closed to new replies.