New Landing How can we help? Themeforest Theme Support Dante How to get transparent background but the content on top with no transparency?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • #209839
    solidsn2004
    Member
    Post count: 208

    Hi,

    I just started working on a test site and I have set the background of the body to transparent with custom css code.
    I have also set a background image cover from the Theme Options.

    I have basically made a class using white background color and set the opacity to 0.8.
    In a page I have inserted all content within a Row and I added the name of the class to the extra class field at the bottom (in my case it’s called body-color-square).

    My problem is that all content becomes transparent along with the background. I want only the background to be this transparent white but images and videos also become transparent (see for example page called Location).

    Is there a way I could fix this?
    I know this is not theme related but I would appreciate a bit of help!
    Thanks in advance!

    #210122
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi there

    Instead of using opacity you need to use:

    background-color: rgba(255,255,255,0.8)

    – Kyle

    #210131
    solidsn2004
    Member
    Post count: 208

    Thanks a lot Kyle!

    As always impeccable support!

    #210133
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register