-
AuthorPosts
-
June 11, 2015 at 9:45 am #457683
Hi there, best Support ever ;-)
on e.g. http://www.musikzentrale.net/ueber-uns/musikschulen/gladenbach/ the catalogue module to show the different instruments we teach at our music school. I would like to have the whole cell linked to the respective page, but since this feature obviously adds some extra spacing, thumbnail flips above the title and the the text gets somewhat more narrow.
Is there any way to remove the additional spacing and get the catalogue element linked to a page? Thanks for your assistance.
Best regards, Sebastian.
June 11, 2015 at 12:18 pm #457760Hi Sebastian!
Please add following code to functions.php file in Appearance > Editor
function add_custom_div(){ ?> <script> jQuery(".av-catalogue-item").click(function(){ window.location = jQuery(this).find("a:first").attr("href"); return false; }); </script> <?php } add_action('wp_footer', 'add_custom_div');
Can you please post a screenshot and show the extra spacing?
Cheers!
YigitJune 11, 2015 at 1:37 pm #457800hi Yigit,
thanks for coming back on my issue. before i work on the function.php, here is the one of the pages i do use the catalogue. First cell called BASS is linked to its respective page. As you can see, thumbnail flips to the top, the row with “Info zum Bassunterricht” moves down. I would like to have the styling of the unlinked version, apply the link and finally remove the “info…” part.
Please see http://www.musikzentrale.net/ueber-uns/musikschulen/gladenbach/ for reference.
Cheers, Sebastian.
June 11, 2015 at 7:36 pm #457995Hi!
Did you modify the catalogue template? The av-catalogue-item link is duplicated. Try to add this in the Quick CSS field:
.av-catalogue-item-inner .av-catalogue-item { width: 100%; } #top .av-catalogue-item { float: left; }
Regards,
IsmaelJune 12, 2015 at 7:09 am #458193Hi Ismael,
this was the perfect idea: when i insert a second link into a already linked catalogue cell, it breaks the styling. Without the sentence “Infos zum Unterricht”, everything is fine. Maybe someday there will be the chance to link the whole cell AND have additional links in the catalogues` text.
Cheers, Sebastian
June 13, 2015 at 9:32 pm #458843Hey!
feel free to make a feature request for this here: kriesi.at/support/enfold-feature-requests/
Regards,
Andy -
AuthorPosts
- You must be logged in to reply to this topic.