Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • in reply to: Can't Insert Raw HTML / Raw JS #51369
    ptrikutam
    Member
    Post count: 9

    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,
    pav

    in reply to: Can't Insert Raw HTML / Raw JS #50691
    ptrikutam
    Member
    Post count: 9

    OK, 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?

    in reply to: Gizmo icon classes #45086
    ptrikutam
    Member
    Post count: 9

    OK Thanks!

    in reply to: problem with tabs! help! :( #44716
    ptrikutam
    Member
    Post count: 9

    I’m using the Dante-Child theme though I’m on Dante 1.5.1– is this a problem?

    in reply to: problem with tabs! help! :( #44715
    ptrikutam
    Member
    Post count: 9

    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.

    in reply to: Gizmo icon classes #44354
    ptrikutam
    Member
    Post count: 9

    I agree with this request- this would save me lots of time!

    in reply to: @Font-Face #41221
    ptrikutam
    Member
    Post count: 9

    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.

    in reply to: @Font-Face #41220
    ptrikutam
    Member
    Post count: 9

    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?

    in reply to: Keep In Touch Section From Demo #40906
    ptrikutam
    Member
    Post count: 9

    Hi Ronin,

    How did you do this? I’m trying to do the same.

    Thanks!

Viewing 9 posts - 1 through 9 (of 9 total)