Hello There, Guest! Login Register
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FIXED HEADER FIELD
#1
Hello,

I would like as the website (http://www.sponsor-board.de) have a fixed header when scrolling down.

Now I have made clever and found something on the Internet. Have the installed on my test surface from Them Plate "FlatOne" and the drop down menu on the show thread overview bugged out. See picture attached.

Next I installed:

add in the Templates & Style -> Templates -> Your Style -> Templates without group -> header include all below:
PHP Code:
<script type="text/javascript">
jQuery(document).ready(function($) {
 
   function sticky() {
 
       var window_top = $(window).scrollTop();
 
       var top_position = $('body').offset().top;
 
       var element_to_stick = $('#panel');
 
       if (window_top top_position) {
 
           element_to_stick.addClass('sticky');
 
       } else {
 
           element_to_stick.removeClass('sticky');
 
       }
 
   }
 
   $(window).scroll(sticky);
 
   sticky();
});
</script> 

füge in der Templates & Style -> Themes -> dein Style -> global.css ganz unten ein:
PHP Code:
#panel.sticky 
 
 {
 
   positionfixed;
 
   top0;
 
   left0;
 
   width100%;
 
 

On the "www.sponsor-place.de" to be exact in a thread such as "Http://sponsor-place.de/showthread.php?tid=13" is to see the bug.

Would be nice if you could help me with my mistakes, thank you.
Reply
#2
see attachment


Attached Files Thumbnail(s)
   
Reply
#3
I need help
Reply
#4
Can you please send me credentials (via PM) for templates so I can debug further? Thanks.
Reply
#5
I have to send your a PN with credentials.
Reply
#6
(11th Jun, 09:54 pm)KingKaSo Wrote:  I have to send your a PN with credentials.

We are looking at your issue and will get back to you. Apologies for the delay.
Reply
#7
I sent you a PM but I will say it here also.

The login information you sent doesn't seem to work. Please send us correct login details.

Am I correct in assuming that you would like that blue fixed header to match the theme?
Reply
#8
I have send you a PM with new Logindates.

Greets
Reply
#9
Can you help me with my Problem?
Reply
#10
Any Support? I am waiting!
Reply




Users browsing this thread: 1 Guest(s)