Page 1 of 1

Block grid for clients' logos

Posted: 02 Mar 2019, 06:59
by GeoPal
I was thinking of how to put the logos of my clients and then remembered block-grid from the Demo. So here is what it came out:

http://panomagic.eu/locations/

I like the result, hopefully can be useful to someone too.
Best, G

Re: Block grid for clients' logos

Posted: 02 Mar 2019, 07:19
by mjau-mjau
This is a custom content block grid, nice n' clean  :thumbsup:

Any reason you didn't use a gallery grid for this?

Re: Block grid for clients' logos

Posted: 02 Mar 2019, 08:22
by GeoPal
I didn't want the logos to be clickable, e.g. no popup. If there is a way to do that I will try it also?
In the block grid, what code can I add to have the name of the company to appear as a popup hint?
Thanks!
G

edit: I found how:
<li><img src="{{path}}Company.jpg" alt="Company" title="Company"></li>

Re: Block grid for clients' logos

Posted: 02 Mar 2019, 09:03
by mjau-mjau
GeoPal wrote:I didn't want the logos to be clickable, e.g. no popup. If there is a way to do that I will try it also?
You can entirely disable click and popup from the page settings > gallery > popup > Disable "images are clickable":
Image

Although it works fine in your custom content grid mode, there are a few potential advantages of using gallery mode:
  • It's easier to apply and add new images, without having to update with custom code.
  • X3 will serve larger size images for high-res devices (eg. retina displays) if your original images are large enough.
  • You would be able to upload non-square images, and simply used the CROP setting to make them square.
  • It would implement the X3 "lazy loader", which will only load images below visible scroll after visitor scrolls down.
  • Captions and tooltips are available.
Not really a huge deal with such a small gallery segment, which you have already implemented well into custom content, but might be good to know!

Re: Block grid for clients' logos

Posted: 02 Mar 2019, 09:43
by GeoPal
Yes, great option! I will try it right away :) Thank you!

Re: Block grid for clients' logos

Posted: 02 Mar 2019, 11:47
by GeoPal
It id work great, thanks!
Another point in using custom block-grid is being able to have "gallery" inside text. This has been discussed many times. Don't know how this could be implemented, but I hope you consider "somehow" being able to place native X3 galleries inside text for storytelling, etc.
All is working great as it is, just takes some time to fiddle with the code.
Thanks again for the excellent suggestion.
Best, G