Tagged: x
-
AuthorPosts
-
June 1, 2016 at 4:13 am #1019638
aaronmarshParticipantHi,
I have a grid layout of images for products (Not an online shop – just images of products). What I’d like to do is when the image is clicked I’d like a box to open on top of the page – like a lightbox does with images, that will display content such as a description and prices etc.
How can I do this please?
I looked at the lightbox plugin but I couldn’t see how I’d do it with that.
Thanks
June 1, 2016 at 4:26 am #1019673
DarshanaModeratorHi there,
Thanks for writing in! You can try a 3rd party cornerstone plugin (http://cornerstonelibrary.com/elements/modal/).
Hope that helps.
June 1, 2016 at 7:32 am #1019922
aaronmarshParticipantHi,
Thanks for the reply. I tried the plugin you suggested but I cant seem to find how it works.
I did some searching and I found I could probably do it with ConvertPlug but I’m having an issue with getting it to display.
I have added an image to my page and give it a unique class name, then I created a modal popup and set the ‘Launch with CSS Class’ option to my class name but it still doesn’t open when the image is clicked on. Am I doing something wrong?
Thanks
EDIT: Just found it, I didn’t see the switch from pause to live, 🙂 its now working as expected.
June 1, 2016 at 8:04 am #1019961
DarshanaModeratorGlad it works for you 🙂
June 1, 2016 at 8:14 am #1019970
aaronmarshParticipantThanks,
I just came across something in the modal popup, everything is working great but Im designing the popup content in a page using cornerstone so I can get it to look right, then im just copying all the code generated by cornerstone from that page into the modal.
This works perfectly however it’s not displaying ‘icons’ in the modal popup it’s just showing like an error symbol, is this something that can be resolved easily? I could swap each icon with an image but this would mess with the design and I dont really want to load an image instead of an icon.
Thanks
June 1, 2016 at 8:22 am #1019986
ChristopherModeratorHi there,
Please provide us with URL of page in question.
Thanks.
June 1, 2016 at 8:36 am #1020006
aaronmarshParticipantThis reply has been marked as private.June 1, 2016 at 8:45 am #1020023
ChristopherModeratorHi there,
Please add this code in child theme’s style.css file :
li.x-li-icon { list-style: none; } i.x-icon-chevron-right:before { content: "\f054"; font-family: fontawesome; list-style: none; }Hope it helps.
June 1, 2016 at 9:16 am #1020064
aaronmarshParticipantHi,
That worked perfectly,
Thanks
June 1, 2016 at 10:06 am #1020157
DarshanaModeratorGlad we were able to help 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1019638 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
