Picture Manipulation - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Picture Manipulation

H

Happaerts

Template 3 years ago

Template : ensure on Joomla 4 Example : https://test.happaerts.net/images/capture/de%20kattenmand.jpg Is there a way to use overlay or gradient on these pictures on the top of the page ? I am looking for a place to add some css, because it is not sp pagebuilder accessible.

Thanks, Marc

0
9 Answers
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 3 years ago #76036

Hi,

Thanks for contacting us. Could you please give me your site URL so that I can check?

-Regards.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #76039

Hello Happaerts

Please use CSS to Template Options -> Custom Code -> Custom CSS and it will affect it. Try this CSS to check the effect.

.sp-page-title:after{
    content:'';
    position:absolute;
    left:0; 
    top:0;
    width:100%; 
    height:100%;
    display:inline-block;
    background: -moz-linear-gradient(top, rgba(0,47,75,0.5) 0%, rgba(220, 66, 37, 0.5) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(220, 66, 37, 0.5)), color-stop(100%,rgba(0,47,75,0.5))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(0,47,75,0.5) 0%,rgba(220, 66, 37, 0.5) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(0,47,75,0.5) 0%,rgba(220, 66, 37, 0.5) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(0,47,75,0.5) 0%,rgba(220, 66, 37, 0.5) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(0,47,75,0.5) 0%,rgba(220, 66, 37, 0.5) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#002f4b', endColorstr='#00000000',GradientType=0 );
}

Best regards

0
H
Happaerts
Accepted Answer
3 years ago #76044
0
H
Happaerts
Accepted Answer
3 years ago #76045

@Ofi : takes the complete page of the website, not only the picture on top. Is a bit of overkill ...

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #76057

Please use this CSS to Template Options -> Custom Code -> Custom CSS

.sp-page-title{
  position:relative;
}
.sp-page-title:after {
  content:'';
  position:absolute;
  left:0; top:0;
  width:100%; height:100%;
  display:inline-block;
  background: -moz-linear-gradient(top, rgba(0,47,75,0.5) 0%, rgba(220, 66, 37, 0.5) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(220, 66, 37, 0.5)), color-stop(100%,rgba(0,47,75,0.5))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, rgba(0,47,75,0.5) 0%,rgba(220, 66, 37, 0.5) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, rgba(0,47,75,0.5) 0%,rgba(220, 66, 37, 0.5) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, rgba(0,47,75,0.5) 0%,rgba(220, 66, 37, 0.5) 100%); /* IE10+ */
  background: linear-gradient(to bottom, rgba(0,47,75,0.5) 0%,rgba(220, 66, 37, 0.5) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#002f4b', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
}
0
H
Happaerts
Accepted Answer
3 years ago #76250

Ofi, small change, big difference! Works like a charm, now. Thanks. Is there something like a Z-order to lift the title 'above' the gradient? Titles are now fading together with the picture. Tia, Marc

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #76346

Sorry, we do not provide customization support. So, I can't help you more with it. You can change the font color or uplift the text with CSS.

0
H
Happaerts
Accepted Answer
3 years ago #76487

Understand your limits.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #76505

You are welcome 😊

Thanks for your understanding. Please accept the answer that helped you. It will be then easier to find the solution for the other users with the same issue. There is a button to accept answer after each comment.

0