- 
		AuthorPosts
 - 
		
			
				
October 26, 2015 at 7:37 pm #525157
I can use in my gallery sortable replace the text with image? In my gallery there will be only two types of category. I wish there were image instead of text in the sortable.
How I do it?
LINK SITE
http://www.andrebrito.com.br/ab2/blog/publicacoes/October 28, 2015 at 9:43 am #525954Hey mleite1!
Thank you for using Enfold.
Set the image as background of the sort button. Something like this:
.artigos-cientificos_sort_button { background: url(IMAGE URL HERE); padding: 20px; } .capitulos-de-livros_sort_button { background: url(IMAGE URL HERE); padding: 20px; }Regards,
IsmaelNovember 4, 2015 at 4:41 pm #530198Ismael, where I put this code? QUICK in CSS?
If yes, it did work.
November 4, 2015 at 4:44 pm #530203Hey!
Yes, the code should go into Quick CSS field.
Glad Ismael could help! :)Regards,
YigitNovember 4, 2015 at 4:49 pm #530211It worked, but the image was cut and titles remain on the image.
Removing this title and how to put the image size you desire?
November 4, 2015 at 4:53 pm #530216Hey!
Please add following code to Quick CSS as well
.artigos-cientificos_sort_button,.capitulos-de-livros_sort_button { background-repeat: no-repeat; background-size: contain; } .artigos-cientificos_sort_button .inner_sort_button,.capitulos-de-livros_sort_button .inner_sort_button { opacity: 0; }Cheers!
YigitNovember 4, 2015 at 5:07 pm #530245It worked.
Only lack insert a picture for the word/link ALL and hide ( / ) between the squares.November 4, 2015 at 5:10 pm #530248Hey!
Please add following code to Quick CSS as well
.all_sort_button { background: url(IMAGE URL HERE); padding: 20px; background-repeat: no-repeat; background-size: contain; } .all_sort_button .inner_sort_button { opacity: 0; } .av-sort-by-term .text-sep { opacity: 0; }Cheers!
YigitNovember 4, 2015 at 5:24 pm #530261Great Yigit,
The All button has the same size as the other 2. Why was with different size?
November 4, 2015 at 5:28 pm #530264Hey!
Please add following code to Quick CSS as well
.all_sort_button { min-width: 145px; }Regards,
YigitNovember 4, 2015 at 5:34 pm #530272Thanks Yigit.
 - 
		AuthorPosts
 
- The topic ‘SORTABLE WITH IMAGE’ is closed to new replies.
 
