Forum Replies Created
-
AuthorPosts
-
Dear Yigit,
thank you for your help. This almost solved it. The code you sent was not completly correct but the following is close enough.
if(st < el_height/3)
{
newH = el_height – st;
header.removeClass(‘header-scrolled’);
}
else
{
newH = el_height/1.5;
header.addClass(‘header-scrolled’);
}Thanks a lot, please mark it solved. Since this not something that can be done in a childtheme it would be nice to have an option to do that update save in a future release….
Best, Tobi
Thanks Yigit,
Code is added. Padding is now fine. End position of the shrink is super, but at the start of shrink the Header is still to high and Menu is not at the correct position. Shrink start to late.Just to make sure that I explained myself correct. This is what I try to get: Shrink and everything like in original ENFOLD. In the original the Logo size (and Header size) shrinks from 88px to 44px. The thing I would like to change is, that the Logo (and Header) shrinks from 88px to only about 70px. If the Logo gets smaller, it doesn’t look good anymore….
Sorry, that it takes so long….
All the Best,Tobi
Thanks Dude,
I added the code in the style css.
The shrink works now perfect. Only the Header (container?) is too big in the Beginning and the position of the Body (Slider) ist oo high…Best, Tobi
Dear Ismael,
I deleted the code as requested. Now I get a large logo in the beginning which shrinks down to medium size. The Endsize is perfect, only the size in the beginning is still to big.Best, T
This reply has been marked as private.code is added to stylesheet now.
I additionally added the following to style.css in the child theme
.header_scrolled, .logo, .logo a, .logo a img, #header_main .container {
min-height: 70px !important;
}#top .header-scrolled .main_menu {
margin-top: 15px;
}I still have the same behaviour like adding the code to quick css. Menu jumps down during scroll up…
Best, T
- This reply was modified 10 years, 9 months ago by BASISberlin.
This reply has been marked as private.it is done. the logo shrink works like in the original without any change in the shrink size…
Best,
Tobi
Hi Josue,
sorry but that doesn’t help. Tried already different options. If I put top margin to 12, the jump gets smaller by 3px. If I set set it to 0px the jump is gone, but the position of the header menue is not correct (little to high)
It seems that the header menue goes to the right position at a point to late in time (scroll upwards)
Best,
Tobi
Menu Before Jump (Menu scroll up to far)
Menu After Jump (Menu position correct)
- This reply was modified 10 years, 10 months ago by BASISberlin.
This reply has been marked as private.This reply has been marked as private.tried that code… and now the logo shrink looks perfect. Thanks a lot.
I still have one little issue: the Header menu (on the right side) still moves upwards after logo shrink already has stopped and jumps to the correct position a little later. I would like to stop the menu movement a little earlier and get rid of the jump.Best, Tobi
- This reply was modified 10 years, 10 months ago by BASISberlin.
-
AuthorPosts