Home Forums Viral Disable fixed/following sidebar

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1778
    Melkemann
    Participant

    Hi.

    How can i disable the fixed/following sidebar?

    #1782
    Hash
    Keymaster

    You will have to make edit in the JS file. If you are comfortable editing the code, we can guide you. But we strongly recommend not to if you are novice.

    #1785
    Melkemann
    Participant

    Where is the code locacted?

    #1786
    Melkemann
    Participant

    I actually managed to fix it. I removed this one line from functions.php:
    wp_enqueue_script( ‘theia-sticky-sidebar’, get_template_directory_uri() . ‘/js/theia-sticky-sidebar.js’, array(‘jquery’), ‘1.4.0’, true );

    #1787
    Hash
    Keymaster

    Great. Now you will see a jquery error if you check your website console.

    To fix it you need to go to custom.js file and remove the code from there also.

    $('#primary, #secondary').theiaStickySidebar({
    		additionalMarginTop: 20,
    		additionalMarginBottom : 20
        });

    Thats it. And please don’t forget to review our theme https://wordpress.org/support/theme/viral/reviews/#new-post

    #1804
    Melkemann
    Participant

    Just left a review.

    I changed a fair bit in the theme, the site is in Norwegian, but if you want to you can check it out at

    #1820
    Hash
    Keymaster

    The site looks great.

    #1937
    jmgranger1010
    Participant

    Melkermann, how did you get the tag names off your images?

    #2039
    Hash
    Keymaster
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.