I’ve tried everything I can think of and nothing is working. So something somewhere in my css I think is preventing my arrow from repeating on every element.
Here’s the link to the page I’m having trouble with: http://www.ministrybooks.org/new-design/alternate/categories-test.html
Here are links to all the css pages I’ve got linked to my page in this order:
http://www.ministrybooks.org/new-design/alternate/css/normalize.css
http://www.ministrybooks.org/new-design/alternate/css/foundation.css
http://www.ministrybooks.org/new-design/alternate/css/app.css
This is what I’m using to create the arrow, but not sure if something else is affecting it somewhere because it’s just not working and I cannot figure out why on earth it isn’t. So I provided links to all my css, but here is what I know directly relates to what I’m trying to do.
HTML:
<div class="section-container accordion" data-section="accordion" data-options="one_up: false;">
<section>
<h5 class="title" data-section-title><a href="#">Item One</a></h5>
<div class="content" data-section-content>
<p>Content for Item One here.</p>
</div>
</section>
<section>
<h5 class="title" data-section-title><a href="#">Item Two</a></h5>
<div class="content" data-section-content>
<p>Content for Item Two here.</p>
</div>
</section>
<section>
<h5 class="title" data-section-title><a href="#">Item Three</a></h5>
<div class="content" data-section-content>
<p>Content for Item Three here.</p>
</div>
</section>
</div>
CSS:
section > h5 > a:after {
content: "";
display: block;
width: 0;
height: 0;
border: inset 6px;
border-color: rgba(127,106,89,0.5) transparent transparent transparent;
border-left-style: solid;
margin-right: 15px;
margin-top: -4.5px;
position: absolute;
top: 26px;
right: 0; }