Tagged: x
-
AuthorPosts
-
May 25, 2016 at 4:18 pm #1009814
steevkaParticipantAs 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!
May 25, 2016 at 8:58 pm #1010254
DarshanaModeratorHi 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.
May 26, 2016 at 9:55 am #1011175
steevkaParticipantThis reply has been marked as private.May 26, 2016 at 11:09 am #1011311
Nabeel AModeratorHi 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!
May 26, 2016 at 10:57 pm #1012349
steevkaParticipantSorry 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.
May 27, 2016 at 12:43 am #1012466
RadModeratorHi 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!
May 27, 2016 at 2:05 pm #1013379
steevkaParticipantHey thanks!!! Works great
May 27, 2016 at 8:21 pm #1013802
FriechModeratorYou’re more than welcome, glad we could help.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1009814 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
