Archived topic
2 (separate) questions: Parallax & Nav menu
15 replies · Started by Dave on April 5, 2016
Hi Tom,
couple of questions today:
Do you have a documentation of how to put together a Parallax page - I have done it but it doesn't seem to work right.
And is there a way to add an underline to a word in the nav menu when that page is the current one, rather than a difference in background color?
Thanks
Dave
Just to clarify - I have enabled and disabled Parallax in the sections and it makes no difference either way. How come the text doesn't scroll while the image remains where it is while that section is visible?
Thanks
Hi Dave,
The parallax option in Sections is very simple, it simply scrolls the background image very lightly as you scroll the page. Is that not working on your site? Can you link me?
As for the border, this might help: https://generatepress.com/forums/topic/main-navigation-menu-sub-menu-border-padding/#post-141808
Just border border to border-bottom.
Thanks Tom - this is the page I am testing it on - the image very very slightly scrolls when I look really long - but with a bigger image it is barely noticeable at all (even less than right now) is there a way to increase the movement like on Genesis Parallax?
Cheers
Dave
forgot the link: https://buyfictionplots.com/about/
Ah, it's definitely working, just a bit subtle.
You can increase the effect with a filter:
add_filter( 'generate_sections_parallax_speed','generate_custom_parallax_speed' );
function generate_custom_parallax_speed()
{
return 6;
}
6 is the default - the lower the number, the greater the effect.
Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/
Nice one - thanks!
You're welcome :)
Greetings, trying to get links to scroll to the selected page section.
Example: when I click on any of the circled links it should take me to the appropriate section for that particular link on the page. Is this possible?
Here is the home page with the links (circle menu)
http://provinciawebdesign.com/client/ktalk
Thanks in advance
Right now all of those circles seem to be linking to Google?
They should link to: yoursite.com/whatever-page#this-section
Correct, the google link was just a "#" placement until I figured out the parralax link code. In the case where I disable the title page, will the "this-section" not work (see attached link where the page content code displays instead) Or do I have to give it a title to set the section.
And the second issue is that when I click on Add-Section, nothing happens? I've used this featured plenty of times and works like a charm so I'm stuck.
http://provinciawebdesign.com/client/sample.png
Thanks Tom.
Add this into the top of the section in the "Text" tab:
<a name="this-section"><!-- anchor --></a>
Then linking to yoursite.com/whatever-page#this-section will take you there.
If the Add Section button isn't working, try updating to the latest version of the plugin.
If that doesn't work, try #1 on this page: https://generatepress.com/knowledgebase/debugging/
Hi Tom, I went back and installed the latest version of the plugin but still nothing happens when I click on Add Section. This is weird as it has worked with ease before. Parallax is enabled and also tried it w/o being enables and no luck. I created another blank page and click on YES for sections and could only get the first section and not letting me add another section.
Tried to find a post on this to not bother you but no luck. Been trying to get this to work for a couple of days.
Any help is appreciated, Thanks!!
Have you tried #1 on this page?: https://generatepress.com/knowledgebase/debugging/
Sounds like another plugin may be causing a javascript error.
Result: Arg, plugin conflict disable the Section adding option.
For the record of aiding others, the plugin is "Amazing Hover Effects Pro" by Nor E-Alam
Thank you for your time Tom.
