Hello there! Welcome to Youjoomla Support Forums

We are Web Development Company specializing in Joomla Templates , Joomla Extensions and WordPress Themes development . You are not able to see some forum threads due to your memberhip level. To unlock all forums and special customer support please take few moments to signup . If you are just searching for free joomla templates , or free joomla extension support simply head to our Free Joomla Support forums and open a new thread. Our moderators will help you as soon as possible. To spead up the response time please take few seconds and go over forum rules

Have fun!

Edit yjscroll class

08-11-2017, 10:21 AM
# 1 (permalink)
michy80
Hi,
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?
Thanks

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
08-15-2017, 07:39 AM
# 2 (permalink)
arefund
Hello michy80.
Here you can check the cod about the yjscroll.
https://yjsimplegrid.com/add-ons/smooth-scroll.html
There you can see how to add data-before or after.
Kindness costs the least, but is worth the most!
08-17-2017, 10:59 AM
# 3 (permalink)
michy80
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
08-21-2017, 07:49 AM
# 4 (permalink)
arefund
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.
Kindness costs the least, but is worth the most!
08-21-2017, 10:08 AM
# 5 (permalink)
michy80
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?
Thanks
09-07-2017, 07:40 AM
# 6 (permalink)
arefund
You can try to use js to add the data-before attribute to the menu link.
http://api.jquery.com/attr/
Kindness costs the least, but is worth the most!
Thread Tools
Display Modes

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

Members Login

Username
Password