Skip to content
Public Ticket #6614

Penci Image Box Background Opacity

Conversation thread

ISOLE-GRECHE replied

Customer Reply

Perfect! Thanks!

Penci Design replied

Staff Reply

Hi,

Now, i understand.

Please go to Customize > Addtional CSS, add custom code to do that 

.penci-image-box .penci-fea-in.boxes-style-3 h4 span span:after {
    content: '';
    background: #fff;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    opacity: 0.6;
}
.penci-image-box .penci-fea-in.boxes-style-3 h4 span span{
     background: transparent !important;
}

you can change background color(  background: #fff;  ) and opacity (  opacity: 0.6; ) to any color and opacity.

If it not work, please send me your website management information( admin url site, username and password ). I will check it help you.

Best Regards,

PenciDesign

ISOLE-GRECHE replied

Customer Reply

The code has effect on photo background, not on text background. I explain better: I'd like to have text white background a little bit trasparent to see better the photo.

I gave more opacity to let you understand the effect: http://prntscr.com/mcr942

Penci Design replied

Staff Reply

Hi,

Please try with custom css

.penci-image-box .penci-fea-in.boxes-style-3 .fea-box-img:before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
    content: "";
    background: #000;
    opacity: 0.3;
    transition: all 0.3s;
}

// on hover

.penci-image-box a:hover .penci-fea-in.boxes-style-3 .fea-box-img:before {
    opacity: 0.5;
}

You can change opacity to opacity any you want.

Best Regards,

PenciDesign

Best Regards,

PenciDesign

ISOLE-GRECHE replied

Customer Reply

It had no effect!

Penci Design replied

Staff Reply

Hi,

Please try go to Customize > Addtional CSS , then add custom css to do that

.penci-image-box .penci-fea-in.boxes-style-3 .fea-box-img:before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
    content: "";
    background: #000;
    opacity: 0.3;
}

you can change opacity  from 0 to 1 . Example 0.3

Best Regards,

PenciDesign

ISOLE-GRECHE started the conversation

Conversation Start

How is possible to have opacity for image box (Style 3) background? As you can see in image it cover too much image and I'd like to have it a lit bit trasparent.

http://prntscr.com/mc3l18

Want to join this conversation or access attachments? Sign in first.