Tagged: ,

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #12973
    Joaozinho
    Member

    I use a lot of images on my website.
    When I add a caption text, this shows perfectly in WordPress.
    However when I go to the browser, there is this stripe sign: – before the text. How do I remove this stripe before the caption text?

    Thanks in advance!

    #13007
    Sakin
    Keymaster

    @Joaozinho: Can you send me the link of the page where it shows to stripe sign :-

    #13036
    Joaozinho
    Member

    Hi Sakin,

    Here is an example: http://www.worldcupbrazil.net/world-cup-history/world-cup-30s-60s/1930-uruguay/

    All images with text have that – sign before the text.

    #13047
    Sakin
    Keymaster

    @Joaozinho: You can add the following CSS in “Appearance => Theme Options => Custom CSS” box.
    .wp-caption .wp-caption-text:before { content: none; }

    #13061
    Joaozinho
    Member

    It worked thanks a lot 🙂

    #13063
    Joaozinho
    Member

    There is no way to center the caption text? The caption doesnt start in the beginning but does go all the way to the right as in this example:

    http://www.worldcupbrazil.net/world-cup-brazil-2014-guide-tour/

    Cant the text be automatically centered?

    #13093
    Sakin
    Keymaster

    @Joaozinho: Just add the following CSS in “Appearance => Theme Options => Custom CSS” box.

    .wp-caption .wp-caption-text {
        padding-left: 0;
        text-align: center;
    }
    #13119
    Joaozinho
    Member

    Thanks it worked 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘How to remove the stripe in caption’ is closed to new replies.