- This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
-
AuthorPosts
-
November 23, 2013 at 3:20 am #156973
Historical Forums User
ParticipantIm trying to create a new footer entitled “Lookbooks” for my site. I have added “Company” already and everything from my big cartel pages I add (–footer) to it and it will move under that footing from the heading.
I have a couple pages that I would like to appear under the 2nd footer “Lookbooks” with the code (–lookbook) added to the page title so it removes off the heading. It is already successfully under only the Lookbook footer and not the Company footer.
Im just trying to get it removed from the heading! But I am stuck! Please help! Thanks!!
November 23, 2013 at 3:21 am #156974Historical Forums User
ParticipantNovember 23, 2013 at 3:21 am #156975Historical Forums User
Participant<div id="footer"> <div class="container"> <div class="footer-bucket"> <h2>Company</h2> <ul> <li><a href="/">Home</a></li> <li><a href="/products" title="View All"></a></li> {% for page in pages.all %}{% unless page.name contains '--lookbook' %} <li><a href="{{ page.url }}">{{page.name | replace: '--menu', '' | replace: '--footer', '' }}</a></li> {% endunless %}{% endfor %} <li>{{ pages.contact | link_to }}</li> </ul> </div> <div class="footer-bucket"> <h2>Lookbooks</h2> <ul> {% for category in categories. %} {% assign cat_name = category.name %} {% assign open_sub = 0 %} {% unless category.name contains '--lookbook' %} <li>{{ category | link_to }} {% for category2 in categories.active %} {% if category2.name != cat_name and category2.name contains cat_name and category2.name contains '--lookbook' %} {% if open_sub == 0 %} <ul class="sub-menu"> {% assign open_sub = 1 %} {% endif %} {% capture sub_cat_name %}{{ category2.name | remove: '--' }}{% endcapture %} {% capture sub_cat_name %}{{ sub_cat_name | replace: cat_name, '' }}{% endcapture %} <li>{{ category2 | link_to: sub_cat_name }}</li> {% endif %} {% endfor %} {% if open_sub == 1 %} </ul><!-- sub-menu --> {% endif %} </li> {% endunless %} {% endfor %} </ul>{% for page in pages.all %} {% if page.name contains '--lookbook' %} {% capture pname %}{{ page.name | remove: '--lookbook' }}{% endcapture %} <li><a href="{{ page.url }}" title="View {{ pname }}">{{ pname }}</a></li> {% endif %} {% endfor %} <li class="last-child"><a href="/products" title="View All"></a></li> </div>
-
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
- The forum ‘CSS’ is closed to new topics and replies.