1. vtom007
  2. Sherlock Holmes
  3. Commercial Templates
  4. Monday, 23 February 2026
  5.  Subscribe via email
I am using a Joomla51 template with the “Sticky Header” option enabled. A large graphic is used as the logo.

Is it possible to configure it so that when scrolling down, the graphic disappears completely instead of just becoming smaller? The menu bar should remain fixed at the top.

Thank you.
Accepted Answer Pending Moderation
0
Votes
Undo
Okay, best of luck! :)
Accepted Answer Pending Moderation
0
Votes
Undo
And does it also work if you enter it into the custom CSS?


Yes, it works with the Jasmine template. However, you should note that with this CSS code, the mobile logo cannot be used. It would probably need an additional rule to hide the main logo in responsive mode.

However, this is sufficient for me.
Accepted Answer Pending Moderation
0
Votes
Undo
And does it also work if you enter it into the custom CSS?
Accepted Answer Pending Moderation
0
Votes
Undo
ChatGPT say:

/* Ausgangszustand */
.logo {
overflow: hidden;
max-height: 300px; /* ungefähr die aktuelle Logo-Höhe */
transition: max-height 0.5s ease, padding 0.5s ease;
}

.logo-image.primary-logo-image {
display: block;
transition: transform 0.5s ease, opacity 0.4s ease;
}

/* Sticky-Zustand */
.sticky-wrapper.is-sticky .logo {
max-height: 0;
padding-top: 0;
padding-bottom: 0;
}

.sticky-wrapper.is-sticky .logo-image.primary-logo-image {
transform: translateY(-100%);
opacity: 0;
}
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok