Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8558473
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T15:49:11+00:00 2026-06-11T15:49:11+00:00

Its ok as below: align top http://www.kerrydeaf.com/aa.png The problem: When I click the accodion

  • 0

Its ok as below:

align top http://www.kerrydeaf.com/aa.png

The problem: When I click the accodion to open and you can see ‘+’ and ‘-‘ icons appeared at the same time. It is because the text heading is spread to two lines. It is ok when it one line only.

align top http://www.kerrydeaf.com/bb.png

How do I force ‘+’ and ‘-‘ icons to appear as ‘-‘ only when opened.

I use jQuery 1.7 and it is for iPhone.

This is the CSS:

  .trigger {padding:0px;margin:0; background:url(../images/toggle_small.svg) no-repeat right; background-position:100% -20px; } 
  .trigger a{color: #636363;text-decoration: none;display: block; padding:2px 0 2px 0;font-size:16px;font-family:opensans;font-weight:normal; }

HTML:

    <div class="toogle_wrap">
        <div class="trigger"><a href="#"><span class="trig">8.</span> lorem lorem lorem lorem lorem lorem lorem lorem</a></div>
        <div class="toggle_container">
        <ul class="lists">
        <li>Lorem ipsum consectetur adipisicing elit</li>
        <li>Lorem ipsum consectetur adipisicing elit</li>
        <li>Lorem ipsum consectetur adipisicing elit.</li>
        </ul>
        </div>
    </div>

JS:

<script type="text/javascript">
     var $ = jQuery.noConflict();
     $(function() {
         $('#tabsmenu').tabify();
         $(".toggle_container").hide(); 

         $(".trigger").click(function(){
         $(this).toggleClass("active").next().slideToggle("slow");
         return false;
         });
     });
</script>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T15:49:12+00:00Added an answer on June 11, 2026 at 3:49 pm

    You are using a sprite

    +-----+
    |  -  |
    |  +  |
    +-----+
    

    and when the heading breaks onto two lines the other parts of the sprite “bleed” into the view. You just need to increase the padding between the single parts of the sprite.

    +-----+
    |  -  |
    |     |
    |     |
    |  +  |
    +-----+
    

    This only occurs when it is opened, because the open-icon is placed above the close-icon.

    If you dont want to edit the sprite, you can introduce an additional element which holds the icons and declare a fixed height and overflow hidden on it.

    <div class="toogle_wrap">
            <div class="trigger"><a href="#">...<span class="open"></span></a></div>
    
    .open{
       background:      /* declare your background-image here*/
       height:          /* exact height of the - sign*/
       overflow:hidden; /* prevent bleeding*/
    }
    

    do the same fore the closed-state.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

please see the demo below : http://www.templateaccess.com/demos/walkin/ i bought this template and really really
I have a table like below and its rows can be added and removed
I am having problems styling form fields with CSS. As you can see below
I was religiously following this tutorial: http://www.icodeya.com/2012/08/grails-creating-image-gallery-feat.html on how to add an image gallery
I have a list of items like how its listed below, and I'm trying
After loosing much sleep I still cannot figure this out: The code below (its
I have a general question on the class definition and its use..THe below code
Summary Below is the full question (a bit complicated in its full form) here's
The link below shows a listview composite control in its most basic form however
this example below works when hover event is trigered and when its not, its

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.