This topic has 7 replies, 2 voices, and was last updated 9 years by Radu.

  • Author
  • #121866
     jacobmark
    Participant

    Hi,

    My developer is trying to add this code below to some of my sites pages in order to darken my main background images and he’s having problems finding where to add the html directly. He found a way to add it using javascript but I don’t think that’s the best solution so if you can provide some guidance we would appreciate it. Let me know if you need credentials to access site.

    Alternatively if this is not possible I noticed that visual composer has a “image filter” option as per below, that I wanted to look into and see if they have a filter to darken images, but it’s not even displaying on my admin when I go to edit image. I’m using version Version 4.11.2.1

    https://wpbakery.atlassian.net/wiki/display/VC/Image+Filters

    Can we add custom HTML inside the container which holds image? I can add overlay using console but can’t find where in editor we can add HTML which is directly in container having that header image.

    The code is:
    <div class=”overlay” style=”
        width: 100%;
        position: absolute;
        top: 0px;
        right: 0px;
        bottom: 0px;
        left: 0px;
        background: rgba(0,0,0,0.3);
    “></div>
    #122105
     Radu
    Moderator
    Not marked as solution
    #122116
     jacobmark
    Participant
    Not marked as solution
    #122249
     Radu
    Moderator
    Not marked as solution
    #122493
     jacobmark
    Participant
    Not marked as solution
    #122553
     Radu
    Moderator
    Not marked as solution
    #122556
     jacobmark
    Participant
    Not marked as solution
    #122747
     Radu
    Moderator
    Not marked as solution
Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?