Support > General

figcaption and css

(1/1)

armpouniotis:
Hi there !

In my template's CSS file, I want to edit this:

<figcaption itemprop="caption description">Τουριστικές Επιπλωμένες Κατοικίες</figcaption>

I want to change the font family and font color.

I tried this:

figcaption{
   font-family: Verdana, Geneva, sans-serif;
   font-size: 12px;
   color: #FFF;}

but nothing happens...

Could anyone help me please ?

Thank you in advance
Christos

xmanhattan:
Hello armpouniotis,

Are you showing that on a black background because color is set to white!

Otherwise it works for me.

armpouniotis:
Hi there !

I want to use it on elxis 4.6, because the image title uses <figcaption itemprop="caption description"></figcaption>

But unfortunately, nothing happens....

although I am using dark background, the font color of the image title is still black......

xmanhattan:
Hi, it looks like you are trying to add more information using schema elements rather than trying to get the figcaption tag to work.

Schema elements add INFORMATION for seo purposes, e.g. for social networking, libraries, etc.

The color for white is #fff, the color for black is #000.

See this for help with the html5 tag, The figure & figcaption elements
http://html5doctor.com/the-figure-figcaption-elements/

See this for help with schema
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/itemprop

I hope the above helps.


Navigation

[0] Message Index

Go to full version