You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours:
Monday To Friday
From 09:00 To 17:00 Europe/London (BST)

Please post your question in the Forum and we will get back to you as soon as we can.

  Tuesday, 16 May 2023
  2 Replies
  640 Visits
When using Mediabox popup I want to style the caption. It worked before but now only for the "title" not the "caption".
In the "custom.css" I have:
.wf-mediabox-caption h4 {
font-size: 12px;
font-family: "Bitter",serif;
}
.wf-mediabox-caption p {
font-size: 12px;
font-style: italic;
}
.wf-mediabox-numbers {
color: #666;
display: block;
font-size: 12px;
margin-right: 15px;
}
.wf-mediabox-theme-light .wf-mediabox-close {
color: #666;
font-size: 12px !important;
font-family: "Bitter",serif;
}

But in the popup the caption is not styled

- caption.JPG

Link: https://www.rojteatern.nu/foerestaellningar/skrattmanniskan.html
more than a month ago
·
#113763
Accepted Answer
Set your css like this:


.wf-mediabox-caption,
.wf-mediabox-caption p {
font-size: 12px;
font-style: italic;
}

.wf-mediabox-caption h4 {
font-family: "Bitter",serif;
font-style: normal;
}

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#113763
Accepted Answer
Set your css like this:


.wf-mediabox-caption,
.wf-mediabox-caption p {
font-size: 12px;
font-style: italic;
}

.wf-mediabox-caption h4 {
font-family: "Bitter",serif;
font-style: normal;
}

Just because you're not paranoid doesn't mean everybody isn't out to get you.

rojteatern selected the reply #113763 as the answer for this post — 9 months ago
more than a month ago
·
#113764
Hi,

Thanks! Worked like a charm!

//Dennis
  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!