Jump to content

Archived

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

webmktco

Accordion spacing help

Recommended Posts

webmktco

I'm hoping I can get some help w/ an accordion.
 
Go to http://the-handyman-company.myddsweb.com/our-services/handyman-services/and you'll see some spacing issues:
 
2015-03-24_14-38-51.png
 
Here's the code (i've tried using the pl_raw tags):

<div class="accordion" id="accordion">
	<div class="accordion-group">
		<div class="accordion-heading pl-contrast">
			<a href="#collapse1" data-parent="#accordion" data-toggle="collapse" class="accordion-toggle" title="Handyman Jobs">Handyman Jobs</a>
 		</div>
		<div class="accordion-body collapse in" id="collapse1">
        	<div class="accordion-inner">
				<p>Whatever needs to be repaired or installed, an experienced handyman is only a phone call away. Bring us in for any odd jobs you have waiting on your to-do list.</p>
				<a class="btn btn-default btn-large" title="Handyman Jobs" href="http://the-handyman-company.myddsweb.com/our-services/handyman-services/handyman-jobs/">More about Handyman Jobs <i class="fa fa-chevron-circle-right"></i></a>
   			</div>
     	</div>
	</div>
    
    
	<div class="accordion-group">
		<div class="accordion-heading pl-contrast">
        	<a href="#collapse2" data-parent="#accordion" data-toggle="collapse" class="accordion-toggle" title="Drywall">Drywall</a>
        </div>
		<div class="accordion-body collapse" id="collapse2">
        	<div class="accordion-inner">
				<p>Call our team to repair any damages to your drywall and give your home a fresh and professional look. We are unmatched experts in drywall installation and repair.</p>
					<p class="center"><a class="btn btn-default btn-large margin-bottom" href="http://the-handyman-company.myddsweb.com/tampa/tampa-drywall-contractors/" title="Tampa Drywall Contractors">Tampa</a> <a class="btn btn-default btn-large margin-bottom" href="http://the-handyman-company.myddsweb.com/clearwater/drywall-contractors/">Clearwater</a> <a class="btn btn-default btn-large margin-bottom" href="http://the-handyman-company.myddsweb.com/orlando/drywall-contractors/">Orlando</a> <a class="btn btn-default btn-large margin-bottom" href="http://the-handyman-company.myddsweb.com/sarasota/drywall-contractors/">Sarasota</a> <a class="btn btn-default btn-large margin-bottom" href="http://the-handyman-company.myddsweb.com/ft-myers/drywall-contractors/">Ft. Myers</a> <a class="btn btn-default btn-large margin-bottom" href="http://the-handyman-company.myddsweb.com/melbourne/drywall-contractors/">Melbourne</a> <a class="btn btn-default btn-large margin-bottom" href="http://the-handyman-company.myddsweb.com/jacksonville/drywall-contractors/">Jacksonville</a></p>
			</div>
        </div>
   </div>
   
   
	<div class="accordion-group">
		<div class="accordion-heading pl-contrast">
        	<a href="#collapse3" data-parent="#accordion" data-toggle="collapse" class="accordion-toggle" title="Carpentry">Carpentry</a>
        </div>
		<div class="accordion-body collapse" id="collapse3">
        	<div class="accordion-inner">
                <p>When done correctly, carpentry should be able to endure through many years. Our professional work will not disappoint you. Call us for all of your building needs.</p>
                <p class="center"><a class="btn btn-default btn-large margin-bottom" href="http://the-handyman-company.myddsweb.com/tampa/carpenter" title="Tampa Carpenter">Tampa</a> <a class="btn btn-default btn-large margin-bottom" href="http://the-handyman-company.myddsweb.com/clearwater/carpenter" title="Clearwater Carpenter">Clearwater</a> <a class="btn btn-default btn-large margin-bottom" href="http://the-handyman-company.myddsweb.com/orlando/carpenter" title="Orlando Carpenter">Orlando</a> <a class="btn btn-default btn-large margin-bottom" href="http://the-handyman-company.myddsweb.com/sarasota/carpenter" title="Sarasota Carpenter">Sarasota</a> <a class="btn btn-default btn-large margin-bottom" href="http://the-handyman-company.myddsweb.com/ft-myers/carpenter" title="Ft. Myers Carpenter">Ft. Myers</a> <a class="btn btn-default btn-large margin-bottom" href="http://the-handyman-company.myddsweb.com/melbourne/carpenter" title="Melbourne Carpenter">Melbourne</a> <a class="btn btn-default btn-large margin-bottom" href="http://the-handyman-company.myddsweb.com/jacksonville/carpenter" title="Jacksonville Carpenter">Jacksonville</a></p>
			</div>
        </div>
   </div>
   
   
   
	<div class="accordion-group">
		<div class="accordion-heading pl-contrast">
        	<a href="#collapse4" data-parent="#accordion" data-toggle="collapse" class="accordion-toggle" title="Soffit / Fascia">Soffit / Fascia</a>
        </div>
		<div class="accordion-body collapse" id="collapse4">
        	<div class="accordion-inner">
				<p>Structural problems can make your home vulnerable to leaky roofs and unwelcome critters.  For quality you can trust, bring in our expert team to repair and maintain your soffits and fascia.</p>
                <a class="btn btn-default btn-large" title="Soffit / Fascia" href="http://the-handyman-company.myddsweb.com/our-services/handyman-services/soffit-fascia-and-decks/">More about Soffit / Fascia <i class="fa fa-chevron-circle-right"></i></a>
			</div>
        </div>
   </div>  
   
   
	<div class="accordion-group">
    	<div class="accordion-heading pl-contrast">
        	<a href="#collapse5" data-parent="#accordion" data-toggle="collapse" class="accordion-toggle" title="Doors &amp; Windows">Doors &amp; Windows</a>
        </div>
        <div class="accordion-body collapse" id="collapse5">
        	<div class="accordion-inner">
                <p>Contact us when you need someone to reseal old doors and windows or install new ones. You can cut down on your power bill, bring extra sunlight into a dark room, or just give your home a new look.</p>
                <a class="btn btn-default btn-large" title="Doors &amp; Windows" href="http://the-handyman-company.myddsweb.com/our-services/handyman-services/doors-and-windows/">More about Doors &amp; Windows <i class="fa fa-chevron-circle-right"></i></a>
			</div>
        </div>
    </div>  
    
    
    
    <div class="accordion-group">
    	<div class="accordion-heading pl-contrast">
        	<a href="#collapse6" data-parent="#accordion" data-toggle="collapse" class="accordion-toggle" title="Tile Floors">Tile Floors</a>
        </div>
        <div class="accordion-body collapse" id="collapse6">
        	<div class="accordion-inner">
                <p>For a durable and sophisticated look, consider ceramic tiles. Our professional installation will give you a floor that lasts for years to come.</p>
                <a class="btn btn-default btn-large" title="Tile Floors" href="http://the-handyman-company.myddsweb.com/our-services/handyman-services/tile-repair/">More about Tile Floors <i class="fa fa-chevron-circle-right"></i></a>
            </div>
        </div>
   </div> 



	<div class="accordion-group">
    	<div class="accordion-heading pl-contrast">
        	<a href="#collapse7" data-parent="#accordion" data-toggle="collapse" class="accordion-toggle" title="Painting">Painting</a>
        </div>
        <div class="accordion-body collapse" id="collapse7">
        	<div class="accordion-inner">
            	<p>Even an older home can be livened up with well-maintained walls and a new coat of paint.</p>
                <a class="btn btn-default btn-large" title="Painting" href="http://the-handyman-company.myddsweb.com/our-services/handyman-services/painting-and-drywall/">More about Painting <i class="fa fa-chevron-circle-right"></i></a>
			</div>
        </div>
	</div> 


	<div class="accordion-group">
    	<div class="accordion-heading pl-contrast">
        	<a href="#collapse8" data-parent="#accordion" data-toggle="collapse" class="accordion-toggle" title="Fencing">Fencing</a>
        </div>
        <div class="accordion-body collapse" id="collapse8">
        	<div class="accordion-inner">
            	<p>Whether you want a privacy fence in your backyard, front yard fencing that improves your curb appeal, or just a simple structure that keeps in pets or children, you can trust the quality you receive when we do your fencing.</p>
                <a class="btn btn-default btn-large" title="Fencing" href="http://the-handyman-company.myddsweb.com/our-services/handyman-services/carpentry-and-fencing/">More about Fencing <i class="fa fa-chevron-circle-right"></i></a>
            </div>
        </div>
    </div> 


	<div class="accordion-group">
    	<div class="accordion-heading pl-contrast">
        	<a href="#collapse9" data-parent="#accordion" data-toggle="collapse" class="accordion-toggle" title="Shelving, Lighting &amp; Fans">Shelving, Lighting &amp; Fans</a>
        </div>
        <div class="accordion-body collapse" id="collapse9">
        	<div class="accordion-inner">
				<p>Your bedroom, family room, or home office has a lot of potential, and we can turn your vision into a reality. Contact us about installing ceiling fans, shelves, or assembling new furniture and equipment.</p>
                <a class="btn btn-default btn-large" title="Shelving, Lighting &amp; Fans" href="http://the-handyman-company.myddsweb.com/our-services/handyman-services/lighting-and-fans/">More about Shelving, Lighting &amp; Fans <i class="fa fa-chevron-circle-right"></i></a>
            </div>
        </div>
   </div> 
</div> 

Share this post


Link to post
Share on other sites
Danny

Hi,

 

If in future you need to provide a snippet of code please use a service such as GitHubs gist or CodePen, please refrain from posting your code like you have above, as it is incredibly awkward to read.

 

Also, has this been resolved as I am unable to see any issue, especially the one you have in your screenshot.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Danny

Thanks for informing us, we appreciate it.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • balfred1345
      By balfred1345
      Hi, 
      I'm using El Sue's Accordion plugin  V1.7.4 in DMS2 using WP 4.4.1.
      I've created a set "Jobs2", and selected three accordions for the set. Here's a screen shot: http://screencast.com/t/MXYR9p1QoEAo
      The "accordion set to show" selection box no longer works, and all accordions I've made are showing instead of the set "Jobs2"  You can see this here: http://whub34.webhostinghub.com/~videoh6/cidev2.com/jobs-at-piepho/
      I've deactivated all plugins to see if there was a conflict, and there does not seem to be one, as the accordion selector problem persists even with plugins off. 
      Can you please tell me how to fix this so the "accordion set to show" selector works again?
      Thanks,
      Bruce
    • lmillslagle
      By lmillslagle
      Hi, I'm using the accordion shortcode on this page: http://actonline.org/releases/
       
      And it works well for the first ten items and item 20, but it won't open 11-19.
       
      I checked the shortcodes and the non-working ones match the working ones (aside from the number and heading). I tried deactivating all plugins and still no dice. Any idea what the issue is?
       
      Thanks!
    • jharri74
      By jharri74
      Hello, is there a way to add a class to an accordion heading? I've read posts that say a unique class is added to each accordion heading of an accordion but I don't see that when i inspect the element in chrome or in firebug. I'm trying to duplicate this (see attached) where each section (eg: main courses) shows the list items and prices of each item within. Here's my current page:
      http://www.jayharry.com/localtemplates/Restaraunt01/full-menu/
       
       
    • h0bd0b1in
      By h0bd0b1in
      I'm fairly new to the whole web design and CSS thing. I dabbled in HTML back in the day (HTML 3 I think) but I'm looking to get back in to it in earnest. I've managed so far to style my site to a certain extent but I've hit a little bit of a snag.
       
      I have accordions embedded within an iTab on one of my pages and, while I've managed to successfully alter the background colours of the toggles and content panes, I'm struggling to alter the colour of the text within the accordion toggles. At the moment, they are using the default base colour for my site, which is what I want links to use in every other regard, but in this instance that colour clashes with the toggles background colour.
       
      I attempted to inject the colour attribute using CSS by referencing the .accordion-toggle class but without success. How would I go about changing this colour?
    • caspersjan
      By caspersjan
      Dear Pagelines team,
      I have been using the PL Accordion Shortcode and it has worked efficiently and beautifully. But a problem has arisen on RTL pages: The space between the accordioncontent bars increases considerably. I cannot see any difference in the HTML and can't find anything in CSS or anywhere else that might cause this. I'd be most grateful if you could cast your more experienced eye on this. Here are two pages:
      LTR page: http://animatinglibraries.com/?activities=space-race
      RTL page: http://animatinglibraries.com/?activities=space-race-2&lang=ar
      Can you see what might be the case? It irks me that I don't understand it - and can't prevent it from happening. 
      Thank you for your ongoing assistance - and your patience in the ongoing epic LTR/RTL saga...
      Yours faithfully, Jan.
       
      P.S.: In case it's helpful, here are the actual HTML portions with the accordion shortcodes for these pages:
      LTR:
      [pl_accordion name="activity1"][pl_accordioncontent name="activity1" class="activity" number="1" heading="INFO" open="no"] [row] [span3] <span style=font-weight:bold;">Group size</span> 11 - 15 <span style=font-weight:bold;">Age</span> Secondary School <span style=font-weight:bold;">Gender</span> Mixed <span style=font-weight:bold;">Profession</span> Pupils [/span3] [span3] <span style=font-weight:bold;">Sessions</span>   <span style=font-weight:bold;">Session duration</span> 1 1/2 hours <span style=font-weight:bold;">Type</span> Introduction <span style=font-weight:bold;">Level</span> Beginner [/span3] [span6] <span style=font-weight:bold;">Report:</span> Breaking the frontiers of space [/span6] [/row] [/pl_accordioncontent] [pl_accordioncontent name="activity1" class="activity" number="2" heading="PHOTOS" open="no"] [row][span6] WORKSHOP IMPRESSIONS </br>[justified_image_grid ids=8079 preset=5 row_height=100 height_deviation=25 prettyphoto_social=no lightbox=colorbox mobile_lightbox=no ][/span6]   [span6] MODELS AND SETS </br>[justified_image_grid ids=8080 preset=5 row_height=100 height_deviation=25 prettyphoto_social=no lightbox=colorbox mobile_lightbox=no ][/span6][/row] [/pl_accordioncontent] [pl_accordioncontent name="activity1" class="activity" number="3" heading="VIDEO" open="no"] No video [/pl_accordioncontent][/pl_accordion]   RTL: [pl_accordion name="activity2"][pl_accordioncontent name="activity2" class="activity" number="4" heading="INFO" open="no"][row][span6] <span style=font-weight:bold;">Report:</span> Breaking the frontiers of space [/span6] [span3] <span style=font-weight:bold;">Sessions</span>   <span style=font-weight:bold;">مدة اللقاءات</span> 1 1/2 hours <span style=font-weight:bold;">نوع الورشة</span> مقدمة <span style=font-weight:bold;">مستوى الورشة</span> Beginner [/span3] [span3] <span style=font-weight:bold;">حجم المجموعة</span> 11 - 15 <span style=font-weight:bold;">الفئة العمرية</span> مدارس ثانوية <span style=font-weight:bold;">الجنس</span> مختلط <span style=font-weight:bold;">المهنة</span> تلاميذ [/span3] [/row] [/pl_accordioncontent] [pl_accordioncontent name="activity2" class="activity" number="5" heading="صو" open="no"] [row] [span6] ر : نماذج ومواقع </br>[justified_image_grid ids=8079 preset=5 row_height=100 height_deviation=25 prettyphoto_social=no lightbox=colorbox mobile_lightbox=no ][/span6] [span6] ر: انطباعات من الورشات </br>[justified_image_grid ids=8080 preset=5 row_height=100 height_deviation=25 prettyphoto_social=no lightbox=colorbox mobile_lightbox=no ] [/span6] [/row] [/pl_accordioncontent] [pl_accordioncontent name="activity2" class="activity" number="6" heading="صو" open="no"] No video [/pl_accordioncontent][/pl_accordion]  
×