• Hi Shrini,

    The solution to add

    .wp-caption {
    min-width: 70%;
    text-align: center;
    }

    doesn’t work for me, since all captions for both bigger and smaller pictures become 70% in both IE9 en chrome. It seems to work like width: 70%

    Is there another solution?

    Regards,

    Rob

Viewing 1 replies (of 1 total)
  • Thread Starter robmeerwijk

    (@robmeerwijk)

    I forgot to include examples, sorry!

    http://www.meerwijk.dk/rutte-of-roemer/

    Here the caption is 70% while the picture is smaller. I added 2 lines to the custom css file:

    /*
    Welcome to Custom CSS!
    
    CSS (Cascading Style Sheets) is a kind of code that tells the browser how
    to render a web page. You may delete these comments and get started with
    your customizations.
    
    By default, your stylesheet will be loaded after the theme stylesheets,
    which means that your rules can take precedence and override the theme CSS
    rules. Just write here what you want to change, you don't need to copy all
    your theme's stylesheet content.
    */
    .wp-caption {
    	min-width: 70%;
    	text-align: center;
    }
Viewing 1 replies (of 1 total)

The topic ‘alignment’ is closed to new replies.