Jump to content

Archived

This topic is now archived and is closed to further replies.

arlomiller

Sections and Scroll Spy

Recommended Posts

arlomiller

I'd like to use Scroll Spy Along with a variety of sections such as

Collapser

iBox

Post/Loop

 

For the post loop, its easy to see where to put the 

  1. <h4 class="scroll-header" title="Setup"></h4>

 

But where and how can i put in the class .scroll-header and attribute title=""  when using other sections? 

Share this post


Link to post
Share on other sites
ellenmva

arlomiller First, if you want to show "Setup" in your post loop make sure to put it between the <h4></h4> tag like 

<h4 class="scroll-header" title="Setup">Setup</h4>

To add it for sections, use the drag the TextBox onto the template above the section and put the code in there. If you don't want anything to show above the section, just to have it in the ScrollSpy then you would just have,

<div class="scroll-header" title="Menu Title"></div>

Ellen


Ellen Moore

Pagelines Developer

www.elsue.com www.betterdms.com

Share this post


Link to post
Share on other sites
batman

Hi @ellenmva

This resolved my problem,  I take note to this

wpml_mail.gif

Thank Ellen !


Life is too short to remove USB safely ...

Share this post


Link to post
Share on other sites
arlomiller

ellen  you rock!  perfect!

Share this post


Link to post
Share on other sites
Rob

@ellenmva  Well done!  Thank you...


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
Leonardo da Vinci

But if we have sub-title like 3 subtitle in one section , how can we add them in spy menu under main title ?

 

Home

services

+about

  - FAq

  -About us 

  - contact us 

 

 

 

Thanks

Share this post


Link to post
Share on other sites
James B

Hi there,

 

Scroll Spy adds the titles from the html elements you've set within the page automatically, it doesn't allow for drop downs  to be included unfortunately.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites

×