-
AuthorPosts
-
July 14, 2015 at 2:21 pm #330215
innovatethehustleParticipantHi,
I am hoping to use the Card element but I don’t want to have a back side or for it to flip, just a one-face card. Is this possible?
Thanks.
July 14, 2015 at 2:56 pm #330262
ZeshanMemberHi there,
This isn’t possible out of the box. But it can be achieved with custom CSS code. To do so, first add a class of no-flip under Class field of your card element settings (see: http://prntscr.com/7qeolc). Then add following CSS code under Custom > JavaScript in the Customizer:
.x-card-outer.no-flip .x-face-outer.front { transform: none !important; animation: none !important; z-index: 2 !important; -webkit-backface-visibility: visible; backface-visibility: visible; } .x-card-outer.no-flip .x-card-inner { transform: none !important; animation: none !important; } .x-card-outer.no-flip .x-face-outer.back { transform: none !important; animation: none !important; z-index: 1 !important; }Hope this helps. 🙂
Thank you.
October 21, 2015 at 4:46 pm #634738
bgodnikParticipantI followed the directions above and double checked that the code I pasted into the global Customizer > Custom > JavaScript is the same as the code above. I added “no-flip” in the Class field to some of the cards at http://omaxgardnerfoundation.com/cornerstone-draft/ but they still flipped on rollover. I also tried using “.no-flip” and “.x-card-outer.no-flip” in the class field but nothing seems to help. Can you please let me know if I’m doing something wrong or if there might be a mistake in the code above?
Thanks,
BobOctober 21, 2015 at 5:40 pm #634814
NicoModeratorHi There,
Would you mind sharing us your admin credential so we could take a closer look on your setup.
Don’t forget to set it as private reply.
Thanks.
October 21, 2015 at 6:30 pm #634850
bgodnikParticipantThis reply has been marked as private.October 21, 2015 at 8:00 pm #634900
Rue NelModeratorHello There,
Sorry for the confusion. We have edited your page in Cornerstone, turned on the advance controls and inserted
no-flipclass (http://prntscr.com/8twhf5). We also added the following custom css in the settings tab, Settings > Custom CSS.x-card-outer.no-flip .x-face-outer.front { transform: none !important; animation: none !important; z-index: 2 !important; -webkit-backface-visibility: visible; backface-visibility: visible; } .x-card-outer.no-flip .x-card-inner { transform: none !important; animation: none !important; } .x-card-outer.no-flip .x-face-outer.back { transform: none !important; animation: none !important; z-index: 1 !important; }We have remove it from the custom js section in the customizer and added right in Cornerstone. Right now, the card element no longer flip in the page http://omaxgardnerfoundation.com/cornerstone-draft/
If you need anything else we can help you with, please let us know.
October 21, 2015 at 8:09 pm #634907
bgodnikParticipantThank you very much.
October 21, 2015 at 8:30 pm #634938
John EzraMemberYou’re most welcome!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-330215 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
