Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Elxis documentation
for users and developers.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
figcaption and css
« previous
next »
Print
Pages: [
1
]
Author
Topic: figcaption and css (Read 4555 times)
armpouniotis
Sr. Member
Posts: 377
figcaption and css
«
on:
November 24, 2017, 19:13:57 »
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
Logged
Christos Armpouniotis
xmanhattan
Hero Member
Posts: 1235
If I'm still breathing, I'm doing something!
Re: figcaption and css
«
Reply #1 on:
November 25, 2017, 10:13:06 »
Hello armpouniotis,
Are you showing that on a black background because color is set to white!
Otherwise it works for me.
Logged
Bournias.net
armpouniotis
Sr. Member
Posts: 377
Re: figcaption and css
«
Reply #2 on:
November 25, 2017, 21:47:54 »
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......
Logged
Christos Armpouniotis
xmanhattan
Hero Member
Posts: 1235
If I'm still breathing, I'm doing something!
Re: figcaption and css
«
Reply #3 on:
November 26, 2017, 09:17:34 »
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.
Logged
Bournias.net
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
figcaption and css