Youjoomla Support Forums (
-   YJSG Template Framework Plugin (
-   -   Edit yjscroll class (

michy80 08-11-2017 09:21 AM

Edit yjscroll class
I would like to personalize ijscroll class but I do not find the css file to edit.
I searched in many files but i did not find it. My goal is to insert a value like data-before.
Any suggestion?

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.: Yes

Is this personal or client website?: Personal

arefund 08-15-2017 06:39 AM

Hello michy80.
Here you can check the cod about the yjscroll.
There you can see how to add data-before or after.

michy80 08-17-2017 09:59 AM

Hi Arefund,
thanks for your replay. So, I have to insert the "data-before" parameter in each html page in which I use yjscroll? Is there no method to apply one "data-before" (es. data-before= 100) parameter for all pages in which I use yjscroll?
Thank you

arefund 08-21-2017 06:49 AM

Right now there is no option to set one data-before for each page, but if you are using the same grid with same html it should work on all pages.

michy80 08-21-2017 09:08 AM

Thank you for your answer.
Another question, always about yscroll & data-before: i have a menu item that refers to an anchor (#login) that is present in each page of my site.
Is there a way to set "data-before" parameter also for a menu item?
I tried by inspecting page with Chrome and it works fine, but i do not know how to apply the rule in Joomla or YJSG Framework.
Any suggestion?

arefund 09-07-2017 06:40 AM

You can try to use js to add the data-before attribute to the menu link.

All times are GMT -4. The time now is 07:53 PM.

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