• Resolved Beth Graham

    (@beth-graham)


    I’m using very vibrant photos for my slider and no matter what color I choose, the text gets lost. Can you give me code to create a white transparent box that would help keep the text readable?

Viewing 2 replies - 1 through 2 (of 2 total)
  • paulwpxp

    (@paulwp)

    Use this code in Custom CSS section, it’d do just that. Tested with theme demo using Chrome dev tool.

    This one is black background (for white text as used in theme demo)

    
    .frontpage-slider .caption { 
    	background: rgba(0, 0, 0, 0.25); 
    	padding: 25px 0; 
    }
    
    

    For white background change rgba value to (255, 255, 255, 0.25)

    Theme Author lyrathemes

    (@lyrathemes)

    Thanks for helping here, @paulwp !

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding a box to slider for text’ is closed to new replies.