Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

CSS selector for element as offset
(1 viewing) (1) Guest
"ARI Stream Quiz" WordPress plugin
Go to bottomPage: 1
TOPIC: CSS selector for element as offset
#66450
CSS selector for element as offset 4 Years, 2 Months ago Karma: 0
Hello, I use ARI Stream Quiz Pro version and I have a problem.

I have a sticky menu on my website on both PC and moblie version. And I want to use a bottom of this menu as an offset for questions in quizzes during smart scroll (so the questions would scroll right under the menu). However my PC and mobile menus are different and I have suspicion that they have different CSS selectors (I am not good at programming). So I wanted to ask you, what CSS selector(s) do I need to insert in offset option in Settings, so it will make what I want on both PC and mobile phones?

Here is a link on one of my quizzes on my website, so you could see my sticky menu - link

Thanks in advance!
Last Edit: 2020/05/02 21:29 By Giorgos93.
The administrator has disabled public write access.
 
#66451
Re:CSS selector for element as offset 4 Years, 2 Months ago Karma: 748
Hello,

Try to populate scroll offset parameter with #masthead value.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#66453
Re:CSS selector for element as offset 4 Years, 2 Months ago Karma: 0
I've just tried #masthead value, but it doesn't make a needed offset.

I made 2 screenshots of how this offset looks on my PC (1366x768) and iPhone 6 right after I pressed one of the answers and it autoscrolled down. Admin panel was not opened at the top, so it didn't make an extra offset.


Mobile version:




PC version:




What other value(s) should I try?

Thanks in advance!
Last Edit: 2020/05/03 10:28 By Giorgos93.
The administrator has disabled public write access.
 
Go to topPage: 1