Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter rocknroll7770

    (@rocknroll7770)

    Kapil,
    thank you so much I have figured it out with the help of some forum members. Your link works perfectly but when using ‘Thesis’ one must paste the following into ‘custom_functions.php’

    function custom_footer_script() { ?>
    <script type=”text/javascript”>
    jQuery(“#page li:has(ul.submenu)”).hover(function () {
    jQuery(this).children(“a”).removeAttr(‘href’);
    jQuery(this).children(“a”).click(function () {
    return false;
    });
    });
    </script>
    <?php }
    add_action(‘thesis_hook_after_html’, ‘custom_footer_script’);

    You also need to have jQuery enabled – you can do that in Thesis under Design Options > Javascript > Sitewide JS Libraries; otherwise, you’d have to add the JS call yourself to your current function.

    Best wishes to everyone out there ; )

    Thread Starter rocknroll7770

    (@rocknroll7770)

    Ok, unfortunately I’m not sure where exactly I should put this.
    As I’m using Thesis I put it into
    Custom File Editor > custom_functions.php
    and that didn’t work, the site crashed.

    Not sure if you’re familiar with Thesis. I REALLY appreciate you taking time out for this.

    Thread Starter rocknroll7770

    (@rocknroll7770)

    Oh thanks, you are very kind!

    This is the site.

    So far I believe I have to find the ‘page ID’ and then hide it using CSS.
    I found this here: https://buynowshop.com/hide-me/

    .page-item-220 {visibility:hidden;} or .page-item-220 {display:none;}

    My page ID seems to be post=18 is that correct and what would that make the css?

    I’m still a beginner so my knowledge is very limited. ; )

    Thread Starter rocknroll7770

    (@rocknroll7770)

    Unfortunately I am using the Thesis_nav_menu and not the WP_nav_menu which is probably why this plug-in won’t work for me : (
    But thank you for your help.

    Thread Starter rocknroll7770

    (@rocknroll7770)

    Right, I was looking in the wrong place. Thank you.

    Thread Starter rocknroll7770

    (@rocknroll7770)

    Esmi: Thank you for the tutorial link, I will definitely have to look into it.

    bojandevic: Thank you but whatever I change in css does not change on webpage after updating file. Am I looking in the right place? (‘contact-form-7/admin/styles.css’)
    On top of my css it says ‘inactive’:
    ‘Editing contact-form-7/admin/styles.css (inactive)’

    Is that the problem? However when I go to Plugins>installed it is listed as active.

    Am I right in thinking it’s smarter to add to css rather than changing the code to keep it the same after an upgrade? Could you please confirm if I am in the right place.

Viewing 6 replies - 1 through 6 (of 6 total)