• Features
    • Menu TypesCustom modules
      • YJ Mega CSS Dropdown
      • YJ Mega Smooth Dropdown
      • Joomla Split Menu
      • Menu module position
    • Mega MenuMega menu sample
      • Group 1
        • Group 1 link 1
        • Group 1 link 2
          • Login Form

            • Forgot your password?
            • Forgot your username?
      • Group 2
        • Group 2 link 1
        • Group 2 link 2
    • TypographyStyle your text
    • Module PositionsOver 50 positions!
    • Module StylesCustom modules
    • Add-onsYjsg add-ons
    • ShortcodesYjsg shortcodes
    • DocumentationYjsg Docs
  • Layouts
    • Left-Mid-Right
    • Mid-Left-Right
    • Left-Right-Mid
  • Pages
    • User Pages
      • Login FormLogin Form demo
      • User Profile User Profile Demo
      • User RegisrtationUser Regisrtation Demo
      • Username ReminderUsername Reminder Demo
      • Password resetPassword reset demo
      • 404 page404 page demo
    • Content Views
      • Category Blog View
      • Category List View
      • Categories View
      • Archived View
    • Web links
    • Contacts
    • News feeds
    • Joomla Search
    • Joomla Tutorials
  • Blog
  • Extras
    • Testimonials
    • Services
    • Our Doctors
    • YJ Module Engine

Sticky

Sticky is a element that transforms in to a fixed position container. Stickies are useful for attracting users attention or to trigger hidden menus. You can also use data-sticky-menu to convert the sticky in to a smooth scroll menu.

options:

Options Description
class="yjsg-sticky" *Required option. Sticky trigger class name.
data-hide *Required option. This option defines if the sticky should be hidden until scrolled in to view or if it should stay visible.
data-pushed *Required option. You can use this option to push sticky down. Set to 0 not to push the sticky.
data-offset *Required option. This is a top position offset where the sticky should become visible.
data-effect *Required option. Sticky has 2 transition options. You can use slide or fade.
class="yjsgsitew" This is optional helper class that can be used inside the sticky contaner. This class holds the site width thus aligns the sticky in the middle.
class="inside-container" This is optional helper class that can be used inside the sticky contaner. This class lines up the grid system paddings.
data-sticky-menu Converts the sticky container in to a smooth scroll sticky menu. Requires specific setup. See markup.
data-sticky-block Converts sticky menu in to a right aligned sticky menu block. Requires specific setup. See markup.

example:

I will become a sticky once you scroll 500px down.
  • Go back up
  • Go to scroll 1
  • Go to scroll 2
  • Go back up
  • Go to scroll 1
  • Go to scroll 2

markup:

<div class="yjsg-sticky" data-hide="no" data-pushed="0" data-offset="500" data-effect="slide">
    <div class="yjsgsitew"> I will become a sticky once you scroll 500px down.</div>
</div>
<div class="yjsg-sticky" data-hide="yes" data-pushed="120" data-offset="400" data-effect="fade" data-sticky-menu>
    <div class="yjsgsitew inside-container">
        <ul class="yjsg-sticky-menu">
            <li>
                <a class="yjscroll" data-before="120" href="#header">
                    Go back up
                </a>
            </li>
            <li>
                <a class="yjscroll" data-before="120" href="#scroll1">
                    Go to scroll 1
                </a>
            </li>
            <li>
                <a class="yjscroll" data-before="120" href="#scroll2">
                    Go to scroll 2
                </a>
            </li>
        </ul>
    </div>
</div>
<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="120" href="#header">
                    Go back up
                </a>
            </li>
            <li>
                <a class="yjscroll" data-before="120" href="#scroll1">
                    Go to scroll 1
                </a>
            </li>
            <li>
                <a class="yjscroll" data-before="120" href="#scroll2">
                    Go to scroll 2
                </a>
            </li>
        </ul>
    </div>
</div>







I am scroll 1







I am scroll 2

Add-ons

  • Sticky
  • Labels
  • Tooltips
  • Off-canvas
  • Grid system
  • Smooth Scroll
  • Helper classes
  • Round progress bars

We are Medicus

Lorem ipsum dolor sit amet, consectetur Proclivi currit oratio. Virtutis, magnitudinis animi, patientiae, fortitudinis fomentis dolor mitigari solet.

Satisne ergo pudori consulat, si quis sine teste libidini pareat? Bonum integritas misera debilitas. Certe non potest.

Si stante, videlicet vult, salvam esse se, quod concedimus; Duo Reges: constructio interrete.

Recent News

News Item1

Vivamus porta eros et neque vulputate pretium. Viva mus vel velit metus, sceleri

News Item2

Vivamus porta eros et neque vulputate pretium. Viva mus vel velit metus, sceleri

News Item3

Vivamus porta eros et neque vulputate pretium. Viva mus vel velit metus, sceleri

Services

  • Primary Care
  • Urgent Care
  • Womens Care
  • Pediatric Care
  • Cardiology
  • Home Care
  • Imaging
  • Laboratory
  • Wellness
  • Call Center

Contact Us

Medicus Inc.
795 Folsom Ave, Suite 600
San Francisco, CA 94107
  • (123) 456-7890
  • contact@medicus.com
  • Find us on Google Map
Top | + | - | reset | RTL | LTR
Copyright © Medicus 2026 All rights reserved. Custom Design by Youjoomla.com
YJSimpleGrid Joomla! Templates Framework official website
Features