This client has requested a wood frame border around the gallery. Is there a way I can do this with CSS? Does anyone have some ideas? You can see the site here: http://tsgaz.net/rendezvous/
Hey Fred!
That would be possible. Please upload the image you would like to use in Media > Library and post the link to it here.
Best regards,
Yigit
Thank you! I have added two options. I don’t think this will be the final, but once I find out how to do it, I should be able to swap a different one if necessary.
Here is a link to a gif, and png:
http://tsgaz.net/rendezvous/wp-content/uploads/2016/04/picture-frame.gif
http://tsgaz.net/rendezvous/wp-content/uploads/2016/04/picture-frame.png
Thanks!
Hey!
Please turn on custom CSS field for ALB elements – http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and then edit your image and give it a custom class and then add following code to Quick CSS in Enfold theme options under General Styling tab
.your-custom-class .avia-image-container-inner {
background: url(https://tsgaz.net/rendezvous/wp-content/uploads/2016/04/picture-frame.png)!important;
padding: 90px;
background-repeat: no-repeat!important;
background-position: 50% 50%!important;
background-size: contain!important;
}
and adjust values as needed
Cheers!
Yigit
I added the function as recommended. Then I also added the Custom CSS as recommended, changing the example to my custom class. I added it in the easy slider here: http://screencast.com/t/g6f6fI5H04
It is not showing on the home page Easy Slider.
Do I need to add it to .avia-slideshow?
Thanks!
-Fred
Hey!
Apply the custom css class attribute in the column containing the slider instead of the actual slider.
.rr-image-border {
background-image: url('http://tsgaz.net/rendezvous/wp-content/uploads/2016/04/picture-frame.png');
padding: 90px;
background-size: 100% 100% !important;
}
Cheers!
Ismael
It worked great! Thanks!
Hey!
Glad we could help! We have put together some useful info about enfold theme please feel free to check it out here – http://kriesi.at/documentation/enfold/
Best regards,
Vinay