Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1129707

    I need to add white to the background of the caption and the border, and often add a white border around images which do not have a caption. I’ve tried various css and can’t seem to override the light grey background on this installation. See here: https://susanmillerplaywright.com/new-site/press-for-20th-century-blues/

    Thanks

    #1129750

    Hey tonyiatridis,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    div .wp-caption {
        border: none;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1129769

    Cool. What I wanted to do was fill the area with white, I just need the right target.
    div .wp-caption {
    background-color: #ffffff; !important;
    }
    This worked fine, thanks.

    Is there a way to easily target images without a caption to put a white border around them as well? Perhaps a css class that can applied per image? My attempts failed there as well I am embarassed to admit.

    Thanks so much.

    #1129778

    Hi tonyiatridis,

    Can you give us the page where we can see such an image?

    Best regards,
    Victoria

    #1129782

    Hey Victoria,

    Yeah like here:

    Notice the playbill image has no border, not sure which way it will go since the client previously had borders on some images and not others when they didn’t have captions, but…

    If I want to match the border to the image above which I fixed with your help, would there be a way to that on individual images and/or all images?

    Thanks so much

    #1129903

    Hi tonyiatridis,

    Best regards,
    Victoria

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.