Archived

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

  • 0

Scrollspy Displays (Html Title Attribute Needed) Instead Of Title


Question

Posted · Report post

Scrollspy appears to functions correctly but will not display the title of my section in the actual bar itself. I have tried everything I can think of, even copying the html of Pagelines tools page itself, only to get the same result. The scrollspy is linking to content on a page, not a section. Would really like to utilize this feature on the about page to display content from several small pages on one. Any help would be appreciated. Thanks in advance.

Also checked these links, but find that they are lacking in detail:

http://demo.pagelines.me/sections/#spyID7

http://www.pagelines.com/wiki/How_to_Use_ScrollSpy

Screenshot:post-28860-0-96881000-1351536860_thumb.p

Code:


<div id="spyID1" class="scroll-header page-header" title="About">

<h1 class="zmt">About<small> Lake City Community Theatre</small></h1>

</div>

The mission of the Lake City Community Theater is to cultivate a community of educated and involved consumers of the arts by providing trained supervision through the staging of dramatic and musical productions for the benefit of people living in Lake City and the surrounding areas.

<div class="row">

<div class="span6">

<h2 style="text-align: center">Contact Information</h2>

<p style="text-align: center">Lake City Community Theatre

PO Box 726<br />

Lake City, SC 29560<br />

(843) 374-8611</p><br />

<h5 style="text-align: center"><a class="btn btn-primary btn-large" href="http://goo.gl/maps/YD20r" target="_blank">Get Directions →</a></p>

</div>

<div class="span6">[googlemap width="100%" height="300" address="125 South Blanding Street Lake City, SC"]</div>

</div>

Share this post


Link to post
Share on other sites

1 answer to this question

Posted · Report post

Hi there, can you make sure you have the 'postloop' in the content area on the drag and drop. The html links need to go inside there for the scrollspy to pick up the data. I've just tested and mine came up exactly the same even though the code was in there, until i made sure the postloop was active.

So pagelines>site options>drag and drop> Click on 'content-area' in the right hand layout image so it highlights blue. Then scroll down and click on the name of the page template you're using, then scroll down to check 'post loop' is active in the left hand list.

Also check that 'content' is active in the 'page templates' area.

Share this post


Link to post
Share on other sites