go41

Re: Formatting image captions :: Reply by Joern

von Joern am 17. Mai. 2010 | Keine Kommentare

you have to insert a new style for this class in style.css:

Example here would look like: —
.wp-caption {-moz-border-radius-bottomleft:3px;-moz-border-radius-bottomright:3px;-moz-border-radius-topleft:3px;-moz-border-radius-topright:3px;background-color:#F3F3F3;border:1px solid #DDDDDD;margin:10px;padding-top:4px;text-align:center;}

.entry .wp-caption img {float:none; margin:0;padding:0; border:none}

p.wp-caption-text{margin:5px;}
If you have Arthemia Premium you could just add it to the themes folder and switch to it to see if it works.

This alone will not change any of your content and by switching back to the old theme this will be as before.

I believe if you are happy with your current adapted Arthemia, you do not need to switch..
____________________
you find me on Google+, Twitter and Facebook

(von: Joern)

Hier noch 5 weitere Ergebnisse dieses Threads:

Formatting image captions

17. Mai. 2010 (von: drwhom)

Hi Joern, not sure if this is a bug or something that could be solved with a plug in but the captions of my images always seem to end up looking like the normal text. Sometimes that makes it quite…

Re: Formatting image captions :: Reply by drwhom

17. Mai. 2010 (von: drwhom)

Brilliant - thanks Joern - where do I need to place that code within style.css? Or doesn't it matter - will this overwrite any other comments appearance for previous articles or just future ones? Weiterlesen →

Re: Formatting image captions :: Reply by Joern

17. Mai. 2010 (von: Joern)

doesn't matter, put it at the end. It will only apply a style to items formatted as wp-caption, wp-caption img (image in there) and p.wp-caption-text (text in paragraph below the image)It's save to try as long you pls make a…

Re: Formatting image captions :: Reply by drwhom

17. Mai. 2010 (von: drwhom)

Oooh, it works like a charm. Have a look at the url I posted earlier. That is *exactly* what I wanted it to do. Weiterlesen →

Re: Formatting image captions :: Reply by Joern

17. Mai. 2010 (von: Joern)

I just had to refresh the browser - good! As with any styling you could change whatever you like in there (color, font-size etc), but it's great already..____________________you find me on Google+, Twitter and Facebook Weiterlesen →

Autor:

Du findest mich auch auf Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.

weitere forum Beiträge: