Okay
  Public Ticket #326716
How make footer fixed just in home
Closed

Comments

  • Daniel started the conversation

    Hey guys!

    I'd like to make footer fixed, but just on home page and in desktops. How can I do that?

    Thank you!

  •  8,847
    Tahir replied

    Hey!

    We dont have a hack for it but its on the wish list for future updates. 

    Best,

    -T


    ThemeNectar Support Team 

  • Daniel replied

    Hey Tahir, how are you
    Oh really? Sad :(

    CSS code no too?

  •  8,847
    Tahir replied

    Hey Again!

    There are some makrup changes needed as well as css so its better to leave it for the next update. 

    Best,

    -T


    ThemeNectar Support Team 

  • Daniel replied

    Nice! So we will wating for it. Some idea to a schedule for this update?

  •  1,071
    ThemeNectar replied

    Hey!

    Try this for now :)

    #footer-outer {
      position: fixed!important;
      width: 100%!important;
      bottom: 0;
      left: 0;
    }
    

    Cheers

  • Daniel replied

    This works but in whole site. I need a fixed footer just in home. Anyway thank you so much!

  •  8,847
    Tahir replied

    Hey!

    For home only use this:

    .home #footer-outer {
      position: fixed!important;
      width: 100%!important;
      bottom: 0;
      left: 0;
    }


    ThemeNectar Support Team 

  •  8,847
    Tahir replied

    ohk, well the home class is not added as you have not yet set it as home. You can use page id instead like this:

    .page-id-155 #footer-outer {
      position: fixed!important;
      width: 100%!important;
      bottom: 0;
      left: 0;
    }
    

    Thanks 


    ThemeNectar Support Team 

  •  8,847
    Tahir replied

    Hey!

    The css seems to be working alright: http://prntscr.com/5dfgap
    Thanks 


    ThemeNectar Support Team 

  • Daniel replied

    Thank you Tahir!