 
	
		
		
		
		
			
- 
		AuthorPosts
- 
		
			
				
June 23, 2015 at 2:47 pm #463432Hi, 
 I have a problem with a align on a gallery.I change css style in this way: #top div .avia-gallery img { padding: 0; margin:0; padding-top:8px; border: none; padding-left:8px; }but the first thumb isn’t aligned at left. I try to write this: .first_thumb a{ padding-left:0 !important; }but isnt’ correct… what can I do? Thanks June 24, 2015 at 5:29 am #463753Hey Serena! Could you provide us with a link to the site in question so that we can take a closer look please? Cheers! 
 RikardJune 24, 2015 at 11:16 am #463910June 24, 2015 at 6:06 pm #464237Hi! Please add following code to Quick CSS as well .avia-gallery-thumb a:first-child img { padding-left: 0!important; }Cheers! 
 YigitJune 25, 2015 at 9:29 am #464464Thanks Yigit, 
 now the left align is ok, but there is a problem with the hight of the firs thumb, that is more of the other thumb.June 26, 2015 at 9:21 am #464809Hi! Use this in the Quick CSS field: #top #after_section_1 div .avia-gallery img { max-height: 90px; }Best regards, 
 IsmaelJune 26, 2015 at 2:41 pm #464986Hi Ismael, 
 I add this code, the first thumb now is aligned, even if it is wider of the others.
 The problem now is that when I have a second row of thumb (like here http://www.mottarellatest.it/mottarellanew2/portfolio-articoli/eventi/), the first thumb of second row is not aligned…June 29, 2015 at 6:43 pm #466012Hey! please remove this code from first post: .first_thumb a{ padding-left:0 !important; }and add this code: .avia-gallery-thumb { margin-left: -8px; }Regards, 
 AndyJune 30, 2015 at 2:09 pm #466425Thanks Andy, now is perfect!!! July 1, 2015 at 9:18 am #466841Hey! glad it’s working for you now. Let us know in a new ticket if you have any other issues or questions related to the theme. We are happy to assist! Regards, 
 Andy
- 
		AuthorPosts
- The topic ‘gallery css style’ is closed to new replies.
