Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1009814
    steevka
    Participant

    As you know, minimum out of box settings are 5% scroll and 350px.

    Is there a way to make this 0% (immediately), and 200px width?

    Thanks for the help! Y’all the best!

    #1010254
    Darshana
    Moderator

    Hi there,

    Thanks for writing in! To assist you with this request, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    #1011175
    steevka
    Participant
    This reply has been marked as private.
    #1011311
    Nabeel A
    Moderator

    Hi there,

    Thanks for providing the credentials! I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.

    Thanks!

    #1012349
    steevka
    Participant

    Sorry if I was not clear, I’ll try to be more descriptive.

    Within the Content Dock plugin settings, the minimum allowable width for the dock is 350px. I would like to make the content dock 200px wide if possible. I’m assuming that a bit of CSS is required in the customizer, but I can’t figure out which div to target.

    The second question: The minimum out of the box page scroll percentage before the content dock appears is 5% of the length of the page. I would like the content dock to appear immediately on page load instead of having to scroll before it appears.

    #1012466
    Rad
    Moderator

    Hi there,

    I went ahead and added this CSS

    .x-content-dock {
      width: 200px !important;  
    }

    and this javascript

    jQuery ( function($){
      
      function trigger_content_dock() {
        $('.x-content-dock').toggleClass('x-content-dock-off').toggleClass('x-content-dock-on').css('left', '20px');
      }
      
      $(document).ready( trigger_content_dock );
      $(window).load( trigger_content_dock );
      
    });

    to your customizer’s setting.

    Cheers!

    #1013379
    steevka
    Participant

    Hey thanks!!! Works great

    #1013802
    Friech
    Moderator

    You’re more than welcome, glad we could help.

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-1009814 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>