Digital experiences for all disciplines
Forum Replies Created
-
Posted in: We hit Power Elite.
-
OK, I’ll drop you an email separately, Ed.
As for everyone else: One thing that worked for me was putting in Raw HTML (not JS) into a text block on the raw text side, and then including the JavaScript in the functions.php of a Dante-Child theme. I created a separate JavaScript file for my custom JS and included it there, so hopefully this provides some folks a temporary solution until an official fix is out.
Thanks,
pavOK, I just realized I was inputting jQuery wrong, since wordpress runs jQuery in noconflict mode.
Raw JS Still doesn’t work. Here’s what I tried next in a text block (in the text tab):
<script type="text/javascript"> jQuery(document).ready(function() { jQuery(".signup-type").change(function() { if ( jQuery(".signup-type").val() == "Merchant") { jQuery('#merchant-fields').show(); } else { jQuery('#merchant-fields').hide(); } }); }); </script>
Instead, that turns into:
<script type="text/javascript">// <![CDATA[ jQuery(document).ready(function() { jQuery(".signup-type").change(function() { if ( jQuery(".signup-type").val() == "Merchant") { jQuery('#merchant-fields').show(); } else { jQuery('#merchant-fields').hide(); } }); }); // ]]></script>
What’s going on w/ the Raw JS?
OK Thanks!
I’m using the Dante-Child theme though I’m on Dante 1.5.1– is this a problem?
I’m having the same issue with my site. Any time I try to create a tabs element it doesn’t save it and clears all the tabs.
I agree with this request- this would save me lots of time!
Nevermind! I figured it out– the comments are the reason why it wasn’t working. I guess those comments caused WP or the CSS to choke and not execute any css after them.
By removing the “//” comments I was able to get everything working properly.
Thanks anyway.
Hi Guys,
I’m having the same issue. I’ve set the font settings to be standard, in the dante-child folder’s style.css I’ve added the appropriate font-face declarations (that I got from fontsquirrel) and I’ve added the fonts in the same folder. The fonts are still not showing up. Here is what the code looks like:
@font-face { font-family: 'avenirlight'; src: url('avenir-light-webfont.eot'); src: url('avenir-light-webfont.eot?#iefix') format('embedded-opentype'), url('avenir-light-webfont.woff') format('woff'), url('avenir-light-webfont.ttf') format('truetype'), url('avenir-light-webfont.svg#avenirlight') format('svg'); font-weight: normal; font-style: normal; } // BODY FONT body, h6 { font-family: "avenirlight", Helvetica, Arial, Tahoma, sans-serif !important; } // HEADINGS FONT h1, h2, h3, h4, h5, .custom-caption p, span.dropcap1, span.dropcap2, span.dropcap3, span.dropcap4, .spb_call_text, .impact-text, .impact-text-large, .testimonial-text, .header-advert, .sf-count-asset .count-number, #base-promo, .sf-countdown, .sf-icon-character, .fancy-heading h1 { font-family: "avenirlight", Helvetica, Arial, Tahoma, sans-serif; }
Even with the above code everything is still showing up as Helvetica. What am I doing wrong here?
Hi Ronin,
How did you do this? I’m trying to do the same.
Thanks!
-
Posted in: We hit Power Elite.