Support » Themes and Templates » AddToAny button is scaled huge (not my intention)

  • Greetings,

    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?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi

    (@esmi)

    Forum Moderator

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

    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

    Thanks

    esmi

    (@esmi)

    Forum Moderator

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘AddToAny button is scaled huge (not my intention)’ is closed to new replies.