Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #910200

    Hi Enfold-Team!
    The pics of the horizontal gallery on mobile view are appearing cropped.
    How can I change this? I need to see them full size.
    Here is the website http://www.icherubiniabbigliamento.it/home and the gallery is on the homepage

    #910243

    Hey emanuelecocchiaro,
    Please try editing /wp-content/themes/enfold/css/shortcodes.css
    on line 3814 you will find this code:

    .responsive .av-horizontal-gallery-img{ height: auto; width: 100%; 
    			-webkit-transform: 	translate(0, -50%); 
    			-ms-transform: 		translate(0, -50%);
    			transform: 			translate(0, -50%);
    			top:50%;
    			position: relative;
    		}

    change to look like this:

    /*.responsive .av-horizontal-gallery-img{ height: auto; width: 100%; 
    			-webkit-transform: 	translate(0, -50%); 
    			-ms-transform: 		translate(0, -50%);
    			transform: 			translate(0, -50%);
    			top:50%;
    			position: relative;
    		}*/

    If this works for you you can add this modify copy to your child theme.

    Best regards,
    Mike

    #910252

    Hi Mike thanks for your help, I did what you wrote but nothing changed, may you take a look please?

    #910259

    Hi,
    Sorry, from within WordPress > Appearance > Editor
    the file doesn’t show the change:
    2018-02-09_070157
    But this change should really be made via ftp or the file manager in cPanel because of the way WordPress now handles the editor.

    Best regards,
    Mike

    #910316

    Hi mike, thanks for your reply. I tried doing what you said via ftp but nothing changes. Other suggestions?

    #910442

    Hi,
    Thank you for making this change, I see the expected results.
    Perhaps try clearing your browser cache. Please see screenshot in Private Content area.

    Best regards,
    Mike

    #1001062

    Hi,
    i cannot find this line in my shortcodes.css.
    And I’m having the same problem on mobile, the pictures are cropped.

    Regards,
    Anita

    #1001193

    Hi,
    The code has been moved to:
    \enfold\config-templatebuilder\avia-shortcodes\gallery_horizontal\gallery_horizontal.css
    line 155 – line 161

    Best regards,
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.