Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1412493

    Hi there,

    I used the Gallery element to display images. I want the images to be displayed smaller but regardless of the size I select under “Style” the image size stays the same.

    Any solutions for that?

    Thanks a lot
    Daniela

    #1412541

    Hi Daniela,

    Could you post details in private to where we can see and reproduce the problem please?

    Best regards,
    Rikard

    #1412675

    Hi Rikard,

    thank you for your help, please find details below.

    Regards
    Daniela

    #1413434

    Hi,
    Thank you for the link to your site, I see that your gallery is about 400px square with very little space between them while your other images are 300px square with a lot of space between them, so to match these try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    #top.home div .avia-gallery img {
    	padding: 50px;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1413460

    Hi Mike,

    this works, thank you. Does the CSS apply to all pages? Do I have to change anything if I add galleries to all pages and want them to look the same?

    Regards
    Daniela

    #1413480

    Hi,

    Thanks for the update. The CSS Mike posted will apply to all pages. Please let us know if you would like more specific CSS.

    Best regards,
    Rikard

    #1413495

    Hi Rikard,

    I will adjust my existing pages and give a feedback. Thank you very much so far!

    #1413504

    For future reference:

    It has to be

    #top div .avia-gallery img {
    	padding: 50px;
    }

    to work for all pages. Now it is the way I wanted it to be. I also added

    #top div .avia-gallery img {
    	padding: 50px;
    border-style:none;
    }

    to delete the thin grey border around the gallery.

    Thanks for helping me, thread can be closed.

    Regards
    Daniela

    #1413523

    Hi,

    Great, I’m glad that you found a working solution, and thanks for sharing your code. I’ll close this thread for now then, please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Gallery element – image size’ is closed to new replies.