Styling the featured slider text

If you find this tweak helpful:

Beginners

Tweaking Elegant Themes involves creating a child theme and editing PHP and CSS files within a text editor. If you have never done this you may want to read our guide on creating a child theme. All tweaks are written with the assumption that you have a default installation of your theme.  Any tweaks or changes you may have previously made to your theme could affect the outcome of the tweaks on this site. All tweaks should be tested before applying to a live site. 

While Elegant Themes makes it easy to change the picture associated with each post that will be displayed on the homepage featured slider, it's not to easy to change the style of the post title or description. You probably wouldn't want to do anything too crazy given the background opacity, but here are a few options.

CSS

Locate your style.css file in /chameleon-child/

Add this code:

h2.featured-title a {
text-decoration: underline;
}

.featured-description p {
font-family: Monaco;
font-size: 14px;
color: orange;
}

We don't necessarily recommend any of the changes above, especially the orange text, but you get the idea. A little CSS can make a big impact. 

Post a Reply

Your email address will not be published. Required fields are marked *

Pin It on Pinterest

Share This