Support

Support is part of Event Gallery Extended.

Please get a subscription if you need support. Feel free to use the ticket system or the contact form for reporting defects or pre-sale questions. Make sure you're logged in in order to be able to create a new ticket.

For general information you can also jump to the manual.

Subscribe now!

#3137 squares layout

Posted in ‘Event Gallery - General’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by sbluege on Monday, 30 April 2018 08:51 UTC

mryus
 Hello,
Question:
1. Can I change the squares layout from 3 columns to 1 column image. how to do it?
2. I tried to create a responsive layout via css tamplate. but it seems to have no effect. Why? (note: responsive css in global setting off)

my web




thank you for your hard work.

sbluege
Hi,

there is a switch in the components options to enable loading the responsive stylesheets. Just flip that switch and check again :)

mryus
does not seem to work.


i need to make squares layout from 3 columns to 1 column image



how is the easiest way to achieve it. Is this a basic function, or do you recommend me to use "extended", or another plugin you have made ?

Thnks for your answer

sbluege
I always recommend using Event Gallery Extended. My kid loves food on the table ;-)

So the switch is set correctly. But it seems I missed adding the CSS to that CSS-file. The next release will contain this change automatically. Until then, you can add this to your templates CSS file:

/* Event List - Square Layout */


@media (max-width: 900px) {
	#event .eventgallery-square {
		width: 50%;
	}
}

@media (max-width: 450px) {
	#event .eventgallery-square {
		width: 100%;
	}
}

mryus
already added to the css-file.
still does not work. do not know why.
i will wait for new update. hopefully work.

thank you

sbluege
To which file did you add the additional CSS?

sbluege
Ah, I see. You added it to the mobile.css file. But in addition, you made that file invalid because of some syntax errors.

Please add only this to this file:

/* Events List - Tiles Layout */

@media (max-width: 900px) {
	.eventgallery-tiles-list .eventgallery-tiles .eventgallery-tile {
		width: 50%;		
	}
}

@media (max-width: 450px) {
	.eventgallery-tiles-list .eventgallery-tiles .eventgallery-tile {
		width: 100%;		
	}
}

/* Event List - Square Layout */


@media (max-width: 900px) {
	#event .eventgallery-square {
		width: 50%;
	}
}

@media (max-width: 450px) {
	#event .eventgallery-square {
		width: 100%;
	}
}

mryus
I tried it on localhost.
still does not work. did i wrong change the css file?

sbluege
This looks good but I'm not sure if the nesting is correct. The screenshot of your mobile.css looks different then the one online.

Please check the attached screenshot.

Attachments

2018-04-29_21-19-51.jpg

mryus
after check the attached file i figured it out. it work thank u sven. but i have another problem the image not center it heading left. can u give me another advice to fix it, please.



thank you

sbluege
Your template is pulling thumbnail containers 20px to the left.

This should help:
div.eventgallery-thumbnails {
	margin-left: 0;
}

mryus
ok. i think i will fix from my template.
thank you for all help

sbluege
You're welcome.