Okay
  Public Ticket #3621951
Can I add a caption background to captions in post headers?
Open

Comments

  •  1
    Shana started the conversation

    When setting a header image for a post, I know I can adjust the page header font color.

    But is there also a way to set a caption background? In the way that it's possible in a Nectar slider.

    Thank you very much!

  •  2,728
    Andrew replied

    Hi Shana,

    Thanks for writing to us.

    To make the changes as requested, you will need to add some custom CSS code. To do this, please follow these steps:

    From your WordPress dashboard, Navigate to Salient > General Settings > CSS/Script Related. In the custom code area, insert the provided CSS snippet:

    .single-post #page-header-bg .container {
      background-color: #00000066;
    }

    Once the code is added, save and refresh the page to see if the change has been applied. In case it helps, please check this section from the documentation on CSS/Script Related. If this does not work as expected or If you have any further questions or need additional assistance, don't hesitate to write back, I'm happy to help. 

    Kind regards,

  •  1
    Shana replied

    Hello Andrew, thanks a lot!

    This seems to add some kind of overlay to the background images, but I actually like that better. Thank you very much for your quick reply!

  •  2,728
    Andrew replied

    Hi Shana,

    Thank you for getting back to us.

    I'm glad we could help. Feel free to reach out if you have any other queries.

    Cheers,