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 7872223
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T02:08:37+00:00 2026-06-03T02:08:37+00:00

I am using the Drupal ShareThis module. Unfortunately, a recent security release of this

  • 0

I am using the Drupal ShareThis module. Unfortunately, a recent security release of this module has added a span in the generated code and it disrupts the layout of my page major. Everything was working fine before.

There is no option to control the generation of this code:

<span class="chicklets twitter">&nbsp;</span>

Is it possible to remove/not display this span code via CSS? If yes how?

I tried:

.chicklets twitter {
    display:none;
}

but no success. I am not a CSS expert. Thanks.

UPDATE

Here is a screen shot from FireBug:

enter image description here

I have been trying the suggested solutions:

span.chicklets {
    display:none;
}

The above completely removes all ShareThis buttons (which can be explained by the following issue):

span.chicklets.twitter {
    display:none;
}

The above removes the button, but the corresponding span still appears in FireBug as shadowed (see next).

enter image description here

Of course, I need to keep my button. What could cause this?

P.S.: Nevermind, I’ll discuss this extra issue in another question if necessary.

  • 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-03T02:08:38+00:00Added an answer on June 3, 2026 at 2:08 am

    If you want to set the style of an element with two classes specifically, combine them with no spaces. The dot notation means “class”, so you would put a dot before each of them and concatenate them:

    span.chicklets.twitter {
        display: none;
    }
    

    As @AndrewBrock suggested, you can also just use one of the classes, as long as you know that the single class won’t affect other span elements in an undesirable manner.

    If you need the span to maintain the button, but don’t want the span to take up space, then change it to this:

    span.chicklets.twitter {
        width: 0px;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Drupal and Lightbox module to display the content of articles in this
I'm using Drupal 6.x. This is my code on my node-product.tpl.php template. I've created
I am using Drupal Location module in CCK to retreive longitude & latitude based
Using Drupal, the theme has a background color assigned to the <HTML> element. I'm
I'm using Drupal 6 and its core comment module. I want to run a
I'm using Drupal autoresponder module - and I want to use tokens so I
I am using Drupal Webform 6.x-2.9 - is there a way (some code snippet
I’m using Drupal (please note that this is not a Drupal related question), and
I'm using Drupal . I have a module which loads a form onto a
I'm using Drupal as my content-management system. I installed the IMCE module to include

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.