go41

Formatting image captions

von Joern am 17. Mai. 2010 | Keine Kommentare

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 hard to actually tell whether it’s a caption or not, like here: http://www.iamstaggered.com/featured/flower-powerless
Do you know how I can make them look different? It would be nice if they appeared inside a box like they do on the preview but that all seems to get lost when it’s published.
As a quick aside – do you think it’s worth me upgrading to Arthemia Premium? I’ve bought it but never upgraded as I worry that I might lose content – any thoughts?
Hope you’re well!

(von: drwhom)

Hier noch 5 weitere Ergebnisse dieses Threads:

Re: Formatting image captions :: Reply by Joern

17. Mai. 2010 (von: Joern)

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-colo... Weiterlesen →

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: