Shortcodes + Elementor tabs + CSS
-
Trying to use Zotpress shortcodes in conjunction with Elementor. Basic functionality in Elementor (using the provided Shortcode widget) is fine, but when trying to use Zotpress in conjunction with the Elementor Tabs widget I run into an error, as follows:
> If the
[ZotpressInText]and [ZotpressInTextBib] appear in the same tab within Elementor, there is no error> But I want to load the [ZotpressInTextBib] in a separate Elementor tab (on the same page) so the bibliography is compiled from all [ZotpressInText] instances across multiple preceding tabs on the same page. This generates an “Uncaught TypeError” error when inspecting the page, with the spinning gear displayed in the position of the in-text citation and bibliography
> I have tried adding the [zotpressInTextBib] to each separate tab and then hiding the bibliography on these tabs via CSS, in the hope this word be a workaround, leaving the final bibliography tab as visible but this doesn’t work when coded via CSS (placing the shortcode between <div>[zotpressInTextBib] </div> elements and hiding it either using visibility:hidden or font-size:0px) – it also generates the error – i guess it is not possible to put Zotpress shortcode within <div></div> (or spans for that matter).
So does anyone know how to get Zotpress to work with the Elementor Tab widget as described, or to play nicely with CSS? I can’t find documentation on Zotpress and CSS even though it says it supports some basic code.
Thanks
The page I need help with: [log in to see the link]
The topic ‘Shortcodes + Elementor tabs + CSS’ is closed to new replies.