Hi @ceslad
Please add 3 eC-Gem: Advertisement widgets to make it like demo.
You can check this screenshot https://prnt.sc/jd23q3
Thank you.
Thread Starter
ceslad
(@ceslad)
Ok, @promenadepro. I understand.
I put the three photos side by side (370-235px in each image), but the images were cropped. See this link. Is there any way to prevent images from being cropped?
Thanks…
-
This reply was modified 8 years ago by
ceslad.
Thread Starter
ceslad
(@ceslad)
Hi, @promenadepro.
This the code for the e-C – Gem Advertisment widget:
<div class=”advertisement-wrap” style=”background: url(<?php echo esc_url( $bg_pic ); ?>); background-size: cover; background-position: center center;”>
Can I replace it with this one below?
<div class=”advertisement-wrap” style=”background: url(<?php echo esc_url( $bg_pic ); ?>); background-repeat: no-repeat; -moz-background-size: 100% 100%; -webkit-background-size: 100% 100%; background-size: 100% 100%; background: cover;”>
Thanks..
-
This reply was modified 8 years ago by
ceslad.
Hi @ceslad
You can either modify code as you provided above or you can use padding like below.
#home-page-advertisement-area .advertisement-widget .advertisement-wrap {
padding: 100px 15px;
}
Please change value of padding as per your requirement.
Thanks.
Thread Starter
ceslad
(@ceslad)
Hi, @promenadepro.
#home-page-advertisement-area .advertisement-widget .advertisement-wrap {
padding: 100px 15px;
This code would I put in the additional CSS (under “Appearance – Customize”)?
I am currently using only one (1) E-Gem Advertisement widget (I put a background image with 1170 x 235 px). Can I use this image size and not compromise the theme structure?
Thanks..
-
This reply was modified 8 years ago by
ceslad.
-
This reply was modified 8 years ago by
ceslad.
Yes, please put it on Additional CSS of customizer.