Adjusting image caption

plocploc / 2012-10-20 08:37:21   

Hello everybody

I can't find the good way for adjusting the captions of my thumbs in a visual index.

As you can see there :

plocploc / 2012-10-20 08:40:39   

Sorry all my post disappeard

Hello everybody

I can't find the good way for adjusting the captions of my thumbs in a visual index.

As you can see there : aymericvergnon.net/index.php/dispositifs/arts/

The caption is far away from thumbs

But here with a vertical image too close
aymericvergnon.net/index.php/dispositifs/rhodoid-dream/

I tried to play with the

#img-container .captioning .title { margin-top: 0px; text-align: {$talign}; }";
    }

At the very end of visual index format

But nothing happened

Any good idea ? Help would be nice

Thanks

arsondpi / 2012-10-20 09:31:16   

That's because portrait and landscape images fit into a specific rectangle and the caption folllows that size.

Nevertheless you can play around with css - here's an example:

  1. #img-container .picture {
  2.     height: auto !important;
  3.     text-align: center;
  4.     width: auto !important;
  5. }
  6. .captioning {
  7.     margin-top: 1em;
  8.     width: auto !important;
  9. }
plocploc / 2012-10-20 14:30:43   

Thank you
But I can't in which css is your code

base.css ?
style.css ?

I can't find this specific code

Vaska A / 2012-10-20 14:36:19   

I would put it at the end of style.css - it's the best place for changes.

plocploc / 2012-10-20 15:40:04   

Oh I didn't understand it was new lines to write
Thanks Vaska
I'll try very soon

plocploc / 2012-10-20 19:10:08   

It works ! thanks to both of you

This thread has been closed, thank you.