AddToAny button is scaled huge (not my intention) (4 posts)

  1. mrpooh
    Posted 4 years ago #


    I'm using a child theme off of TwentyTen, and there is custom code I added to the style.css file to change the width of the page to accommodate a more narrow header image.

    For some reason, it's making the AddToAny button scaled up larger to around 500 x 50 pixels.

    Here's the post where you can see the problem:

    Sample page here

    Here's the CSS code that did it:

    .one-column #content,
    #content img{
    	width: 480px;

    What additional code do I need in order to keep this code and not have it affect the ATA button?


  2. esmi
    Forum Moderator
    Posted 4 years ago #

    .one-column #content{
    	width: 480px;
  3. mrpooh
    Posted 4 years ago #

    Thanks so much for coming to the rescue.
    That did the trick, of course.

    Question: Can you tell me what purpose might have been served by that code in the first place? What item(s) might it affect or have been intended to affect? I want to make sure I don't throw anything else off here.

    By the way, this was code that I copied and pasted from another forum discussion, so some of the code may not have been relevant to my site.

    Here's the forum discussion that had the code, which I modified to fit the width of my header:

    Forum Post here


  4. esmi
    Forum Moderator
    Posted 4 years ago #

    Well, that's a good example of why you should never use code/CSS from another theme/topic and add it, wholesale, to your site.

Topic Closed

This topic has been closed to new replies.

About this Topic