Youjoomla Support Forums (http://www.youjoomla.com/joomla_support/index.php)
-   YJSG Template Framework Plugin (http://www.youjoomla.com/joomla_support/forumdisplay.php?f=269)
-   -   Sticky limited to 5 links? (http://www.youjoomla.com/joomla_support/showthread.php?t=14021)

noiragneau 11-26-2015 03:21 AM

Sticky limited to 5 links?
 
Hi.
I have problem with Sticky.
I was trying to build sticky menu(data-sticky-block) but I realized that it works good only to 5 links.
When I will add more - links become active too early.
Example - I am on sticky4 section and on the bootom is the part of sticky5. In this example, sticky5 is active, should be sticky4.
Code:

<div class="yjsg-sticky" data-hide="yes" data-pushed="250" data-offset="550" data-effect="slide" data-sticky-menu="" data-sticky-block="">
        <div class="yjsgsitew inside-container">
                <ul class="yjsg-sticky-menu">
                        <li><a class="yjscroll" data-before="40" href="#sticky1"> sticky1 </a></li>
                        <li><a class="yjscroll" data-before="40" href="#sticky2"> sticky2 </a></li>
                        <li><a class="yjscroll" data-before="40" href="#sticky3"> sticky3 </a></li>
                        <li><a class="yjscroll" data-before="40" href="#sticky4"> sticky4 </a></li>
                        <li><a class="yjscroll" data-before="40" href="#sticky5"> sticky5 </a></li>
                        <li><a class="yjscroll" data-before="40" href="#sticky6"> sticky6 </a></li>
                        <li><a class="yjscroll" data-before="40" href="#sticky7"> sticky7 </a></li>
                        <li><a class="yjscroll" data-before="40" href="#sticky8"> sticky8 </a></li>
                </ul>
        </div>
</div>

Are you sure your are posting in product assigned forum?: Yes

What is your CMS version?: WordPress 3.x

MySQL Version: 5.x

PHP version: 5.x

Link to installation: local

Have you edited any files? If yes tell us which ones.: No

Is this personal or client website?: Personal

Are you sure your are posting in product assigned forum?: Yes

What is your CMS version?: Joomla 3.x

MySQL Version: 5.x

PHP version: 5.x

Link to installation: local

Have you edited any files? If yes tell us which ones.: No

Is this personal or client website?: Personal

arefund 11-30-2015 05:51 AM

Hello noiragneau.
Can you please post your site link so i can take a look.

noiragneau 12-02-2015 02:19 AM

Quote:

Originally Posted by arefund (Post 63753)
Hello noiragneau.
Can you please post your site link so i can take a look.

http://www.emuto.pl/joomla33/index.php/pl/sticky

arefund 12-02-2015 02:25 AM

Checked your site and i can't see issues. The sticky is working as it should, you have 8 sticky titles and 8 sticky menu items.

noiragneau 12-02-2015 03:24 AM

No, it is not.
I clicked the fifth, active is the seventh.
http://i.imgur.com/xI4D0oM.jpg


All times are GMT -4. The time now is 06:36 AM.

Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.