-
AuthorPosts
-
November 26, 2016 at 10:57 am #717181
Hi, if I want to insert an image gallery not using ALB but the standard wordpress editor and if I choose medium size images the gallery shows up as a tiny image gallery with 80px width and height. This is due to an entry in base.css that defines for
#top .gallery .gallery-item
a width of 80px.This is a bit annoying since it disables the WordPress gallery feature that should make it possible to choose between different sizes for a gallery.
November 26, 2016 at 11:30 am #717192Hey bluecafe,
Can you try to give us a link to page mentioned? so we can inspect further. Place it in the “private content” when you reply.
Best regards,
NikkoNovember 26, 2016 at 2:28 pm #717216Hi, I have changed my css to #top .gallery .gallery-item { width: auto; height: auto; } in order to being able to use the standard wordpress gallery without having the images resized to tiny 80px images even if you choose medium size images. So you won’t see the effect on my site any more.
You can easily check it by placing a gallery inside a post using enfold theme with the standard wordpress editor. I trust you will have a demo version running with enfold?
I don’t think that a theme should disable default wordpress features such as choosing image size of gallery photos.
- This reply was modified 7 years, 12 months ago by bluecafe.
November 28, 2016 at 8:47 pm #717962Hi,
We are very sorry for that. The theme doesn’t disable the default wordpress features however there’s a css conflict and the theme’s css did override the default gallery. We will report this bug to Kriesi and our Devs.
Best regards,
NikkoMarch 8, 2017 at 4:35 pm #757897Hi,
I just wanted to inform you that the issue still isn’t fixed with enfold version 4.0.2.
I’ve had the same problem for weeks and just have found this question and could fix it with putting into the Quick CSS following code:#top .gallery .gallery-item{ width: auto !important; height: auto !important; }
Regards.
March 10, 2017 at 5:42 am #758690April 12, 2018 at 11:49 pm #941170Hi,
I just wanted to inform you that the issue is still not fixed with enfold version 4.2.6 ;-)April 13, 2018 at 3:18 pm #941543Hi MSchrauf,
Could you please give us a link to your website, we need more context to be able to help you.
Best regards,
VictoriaApril 13, 2018 at 3:55 pm #941563April 13, 2018 at 4:00 pm #941568Hi Victoria,
you just need to read the previous posts. Enfold is overriding the gallery height and width.
To be more specific:base.css line 397
#top .gallery .gallery-item{ margin:1px 1px 0 0; width:80px; height:80px; padding:0; }
Therefor all gallery items are forced to a width of 80px and a height of 80px. Doesn’t look very nice.
April 14, 2018 at 1:05 pm #941901Hi bluecafe,
Have you seen the WordPress media settings page? If you do not change anything there you too get the 80px thumbs.
It is very easy to adjust the css for the gallery and there are plenty solutions on the forum.
Like this#top .gallery .gallery-item{ margin:1px 1px 0 0; width:180px; height:180px; padding:0; }
If you need further assistance please let us know.
Best regards,
VictoriaApril 15, 2018 at 7:03 pm #942256Yes, but it would be nice if the CSS settings were set to automatic, so you can use the settings of the gallery.
width: auto !important; height: auto !important;
Thus the settings of the gallery are always overwritten and it is not possible to use preview images of different sizes in different articles/pages.
- This reply was modified 6 years, 7 months ago by MSchrauf.
April 17, 2018 at 4:56 am #942897Hi,
Thank you for the update. Did you try the suggested css code above? That should override the theme’s default gallery style.
Best regards,
IsmaelApril 17, 2018 at 7:50 am #942988Yes, it works, but it would be nice if it was implemented correctly in the Enfold. The way it is now, it’s more like a bug.
April 17, 2018 at 11:58 pm #943307The theme shouldn’t override the media settings. And users shouldn’t have to use CSS in order to see their media settings in the backend. Cannot believe that the moderators don’t get it …
April 19, 2018 at 7:28 am #943938Hi,
That is quite intentional because we don’t expect users to opt in for the default gallery when there are media elements in the builder that are, arguably, far more advanced and elegant. Please use the css modification above if you want to use the default WP gallery.
Best regards,
IsmaelApril 19, 2018 at 8:03 am #943955The problem is, the Avia Layout Builder is not available for custom post types. This is how the standard gallery is used there.
edit:
Okay I found the solution:
https://kriesi.at/documentation/enfold/use-the-layout-builder-with-any-post-type/- This reply was modified 6 years, 7 months ago by MSchrauf.
April 19, 2018 at 3:05 pm #944121That is quite intentional because we don’t expect users to opt in for the default gallery when there are media elements in the builder that are, arguably, far more advanced and elegant.
You call a gallery with images with a dimension of 80px x 80px advanced and elegant??? 80px x 80px may be used as size for an avatar but this is surely not an appropriate size for a gallery. A gallery is meant to present images. The enforced enfold gallery settings are anything else but not advanced and definitely not elegant.
In addition you cannot expect users to use the Avia Layout Builder by default. This is an option nothing more and nothing less. Therefor it must not override default settings where you need some html and css knowledge to reckognize why your gallery is looking so inconspicuous and tiny .. in short ugly.
So please be honest and say that you just don’t want to care. But don’t call these setting advanced or even “elegant”. This is a joke …
April 22, 2018 at 1:03 am #944996Hi,
You call a gallery with images with a dimension of 80px x 80px advanced and elegant???
I was referring to the theme’s media elements (sliders, gallery, horizontal gallery etc), not the default gallery. Please use the css modification above to override the theme’s default gallery styling. :)
Best regards,
IsmaelApril 23, 2018 at 8:28 pm #945547I was referring to the theme’s media elements (sliders, gallery, horizontal gallery etc), not the default gallery.
Me too. Unfortunately these unattractive 80px x 80px gallery settings are the themes default settings and it is necessary to use css to make it look a bit like a gallery. But I am repeating myself and I have to recognize that you prefer to ignore the problem.
April 24, 2018 at 9:14 am #945754Hi,
But I am repeating myself and I have to recognize that you prefer to ignore the problem.
@bluecafe: We encourage users to use the theme’s gallery elements. You can find those in the advance layout builder under the media elements panel. If you really want to use the default WP gallery, add the css modification above. I’m not sure how can I be more clear. :DBest regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.