NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: johanco123 on April 06, 2015, 11:29:41 PM

Title: How to change the display size of Gallery image control?
Post by: johanco123 on April 06, 2015, 11:29:41 PM
Hi Bruce

I use the gallery control on a memory form. Work fine. How can I change the image control of the gallery to change the size of the control on the window to make it bigger or smaller with a custom setting or in code.

Kind regards
Johan
Title: Re: How to change the display size of Gallery image control?
Post by: Bruce on April 07, 2015, 06:38:01 AM
I've read that sentence maybe 6 times, and I'm still not sure I understand what you are asking... can you try again please Johan?

cheers
Bruce
Title: Re: How to change the display size of Gallery image control?
Post by: johanco123 on April 07, 2015, 09:03:49 PM
Hi Bruce
How can I change the display Height or the Width of a Gallery control similar to an image control (Image Width and Image Height)?
Regards
Johan
Title: Re: How to change the display size of Gallery image control?
Post by: johanco123 on April 13, 2015, 11:43:33 PM
Hi Bruce
Do you have any suggestions how to change the height and width of a gallery image display.
Kind regards
Johan
Title: Re: How to change the display size of Gallery image control?
Post by: Bruce on April 14, 2015, 07:21:17 AM
they are set in the css;

.ad-gallery {
    width: 600px;
}

.ad-gallery .ad-image-wrapper {
    height: 600px;
}


so you could override them in your custom css code.

for build 8.45 I've added template options so you can enter a custom class for a specific gallery to apply custom css to just that gallery.

cheers
Bruce