Scroll and fixed menu

Maxime Faury's Avatar

Maxime Faury

02 Apr, 2014 01:47 PM

Hello,
My question concerns this page (for example) : http://www.maximefaury.com/personnel/nancy-et-metz/
Is it possible to get the mouse wheel scroll effective?
Is it possible to fix the menu so that it is still at the center of the window even if we scroll the images?
Thanks for your answer!

  1. Support Staff 1 Posted by Uldis on 02 Apr, 2014 02:40 PM

    Uldis's Avatar

    Hi,
    I have made some changes in your website, it's under "template design - main menu" - I have set "menu position" to "fixed".

    I have also added custom CSS code:

    #contentContainer {
    text-align: center;
    }
    #contentContainer h1 {
    left: 0 !important;
    right: 0;
    position: fixed !important;
    }
    

    Take a look at your website: http://www.maximefaury.com/personnel/nancy-et-metz/

    Is it ok?

  2. 2 Posted by Maxime Faury on 02 Apr, 2014 03:09 PM

    Maxime Faury's Avatar

    Thank you, I did not expect that you would do it for me!

    Is it now possible to scroll the images by using the mouse wheel (by scrolling instead of clicking on it)?

  3. Support Staff 3 Posted by Uldis on 03 Apr, 2014 06:43 AM

    Uldis's Avatar

    Do you want to achieve the effect like in this example http://css-tricks.com/examples/HorzScrolling/ where you scroll the mouse wheel and page is scrolling horizontally instead of vertically?

  4. 4 Posted by Maxime Faury on 03 Apr, 2014 12:45 PM

    Maxime Faury's Avatar

    Exactly!

  5. Support Staff 5 Posted by Uldis on 03 Apr, 2014 02:35 PM

    Uldis's Avatar

    Hey,
    I have made a small modification of this script http://davidwalsh.name/js/scrollside and inserted the code in "settings - other settings - javascript include" field.
    Now there is a horizontal scrolling on all pages except this one - http://www.maximefaury.com/temoignages/

    Gooooood luck

  6. Uldis closed this discussion on 03 Apr, 2014 02:35 PM.

  7. Maxime Faury re-opened this discussion on 03 Apr, 2014 03:14 PM

  8. 6 Posted by Maxime Faury on 03 Apr, 2014 03:14 PM

    Maxime Faury's Avatar

    This is great, thanks, you rock!

    But I have now some troubles:
    - I can't click on the menu anymore, it disapears when I move the pointer on it. - The mosaïc icon in the portrait page and mariage page is not clickable.

  9. Support Staff 7 Posted by Uldis on 04 Apr, 2014 07:03 AM

    Uldis's Avatar

    Made some CSS fixed, now everything should work, take a look and report me if you'll find some issues.

    have a nice day

  10. Uldis closed this discussion on 04 Apr, 2014 07:03 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

19 Nov, 2016 11:00 AM
23 Jun, 2016 03:23 AM
23 Jun, 2016 03:22 AM
20 Jun, 2016 08:02 AM
18 Aug, 2015 11:09 AM