J!Extensions Store™
Forum
Welcome, Guest
Please Login to access forum.
How can I disable som images? (1 viewing) 
Go to bottom
TOPIC: How can I disable som images?
#6476
Derasign
Fresh Boarder
Posts: 4
User Offline
How can I disable som images? 3 Years, 2 Months ago Karma: 0  
I use articles as productpages, and want to disable some images that is used for lightbox with JCEpopup.
How can I do, so they wont be shown on the AMP version of the site?
 
Logged Logged  
  The administrator has disabled public write access.
#6477
John Dagelmore
Admin
Posts: 3539
User Offline
Re:How can I disable som images? 3 Years, 2 Months ago Karma: 75  
Using the parameter based on CSS selectors to exclude certain elements.
 
Logged Logged  
  The administrator has disabled public write access.
#6478
Derasign
Fresh Boarder
Posts: 4
User Offline
Re:How can I disable som images? 3 Years, 2 Months ago Karma: 0  
Thanks. I will take a look and see if I can figure it out
 
Logged Logged  
  The administrator has disabled public write access.
#6479
Derasign
Fresh Boarder
Posts: 4
User Offline
Re:How can I disable som images? 3 Years, 2 Months ago Karma: 0  
So I should put in: *.noamp jcepopup ind the field, if the class is named jcepopup?
 
Logged Logged  
  The administrator has disabled public write access.
#6480
John Dagelmore
Admin
Posts: 3539
User Offline
Re:How can I disable som images? 3 Years, 2 Months ago Karma: 75  
*.noamp is an example, in the case that you assign the class 'noamp' to an element
If you have images having a css class 'jcepopup' you have to specify the CSS selector accordingly: img.jcepopup or *.jcepopup
Use an inspector tool such as Firebug to check the images class, or check the source code directly.
 
Logged Logged  
  The administrator has disabled public write access.
#6481
Derasign
Fresh Boarder
Posts: 4
User Offline
Re:How can I disable som images? 3 Years, 2 Months ago Karma: 0  
Thank you. It works perfectly!
 
Logged Logged  
  The administrator has disabled public write access.
Go to top