Support » Theme: eCommerce Gem » EC Advertisement Widget

  • Hi.

    I can not leave the AC Advertisement widgets as presented in the theme presentation tutorial. That is, I can not put one image next to the other.

    When I put one in the AC Advertisement widget, it takes up the entire width of the site layout. Here’s how it goes.

    Can someone help me? Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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 4 years, 1 month 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 4 years, 1 month 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 4 years, 1 month ago by ceslad.
    • This reply was modified 4 years, 1 month ago by ceslad.

    Yes, please put it on Additional CSS of customizer.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘EC Advertisement Widget’ is closed to new replies.