Tagged: x
-
AuthorPosts
-
July 27, 2016 at 8:33 am #1105124
Marco CParticipantHello people,
I’ve generated this CPT template using Cornerstone and Toolset shortcodes
http://dev.visitpaddington.com.au/what-to-do/test-business-af/And the links are not clickable…
Here’s the code (used in Toolset template editor)
[content_band border="none" class="x-content-band-business"] [column type="2/3"][types field='business-image' size='full' align='none'][/types][/column] [column type="1/3" last="true"][types field='description'][/types][/column] [/content_band] [content_band border="none" class="x-content-band-business"] [column type="1/4"]<h4>Address:</h4><br> [types field='address'][/types][/column] [column type="1/4"]<h4>Contacts:</h4><br> Telephone: [types field='phone'][/types] Website: [types field='website'][/types][/column] [column type="1/4"]<h4>Opening Hours:</h4><br> [types field='opening-hours'][/types][/column] [column type="1/4" last="true"]<h4>Socials</h4><br> Facebook: [types field='facebook'][/types] Instagram: [types field='instagram'][/types] Twitter: [types field='instagram'][/types][/column] [content_band border="none"] [content_band border="none" class="x-content-band-business"] [wpv-map-render map_id='map-3' map_height='350px'][wpv-map-marker map_id='map-3' marker_id='marker-3' marker_field='wpcf-address'][/wpv-map-marker] [content_band border="none"]After interrogating Toolset support it appears that the Content Band shortcode creates a transparent x.container, an overlay div that blocks the links from being clicked.
I was suggested to alter the css in my stylesheet this way:
.x-content-band .x-container { position: relative; display: none; }However I feel this solution might impact the normal posts and or other pages on the site.
What’s your suggestion guys?
Thanks for your help,
Marco
July 27, 2016 at 9:38 am #1105214
ThaiModeratorHi Marco,
Please replace your shortcode with this:
[content_band border="none" class="x-content-band-business"] [column type="2/3"][types field='business-image' size='full' align='none'][/types][/column] [column type="1/3" last="true"][types field='description'][/types][/column] [/content_band] [content_band border="none" class="x-content-band-business"] [column type="1/4"]<h4>Address:</h4><br> [types field='address'][/types][/column] [column type="1/4"]<h4>Contacts:</h4><br> Telephone: [types field='phone'][/types] Website: [types field='website'][/types][/column] [column type="1/4"]<h4>Opening Hours:</h4><br> [types field='opening-hours'][/types][/column] [column type="1/4" last="true"]<h4>Socials</h4><br> Facebook: [types field='facebook'][/types] Instagram: [types field='instagram'][/types] Twitter: [types field='instagram'][/types][/column] [/content_band] [content_band border="none" class="x-content-band-business"] [wpv-map-render map_id='map-3' map_height='350px'][wpv-map-marker map_id='map-3' marker_id='marker-3' marker_field='wpcf-address'][/wpv-map-marker] [/content_band]Hope it helps 🙂
July 27, 2016 at 4:09 pm #1105920
Marco CParticipantIt did – Thank you heaps Thai.
I couldn’t see what it was at first… Just two open tags!
Have a lovely day!
July 27, 2016 at 6:49 pm #1106073
DarshanaModeratorGlad we were able to help 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1105124 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
