Centering shortcode item in sidebar

  • CKW

    #2765

    I’m asking only after I tried a couple of things…. I have a shortcode button in a sidebar which I would like to see horizontally centered. I know I will have to add CSS code for #text-6, but do not know the correct code. What should I use?

    Thanks.

    Josh

    #21836

    I would add a padding property to the element, and “shift” it to the right.

    Something like:

    #text-6 {
    padding-left:50px;
    }

    should work. Just adjust the number until it’s “centered”.

    CKW

    #21837

    It worked by adjusting the size. Appreciate the support.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!