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 Online

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

#113762 Mediabox CSS-styling broken

Posted in ‘Mediabox’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by rojteatern on Wednesday, 17 May 2023 08:08 BST

rojteatern
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

-

Link: https://www.rojteatern.nu/foerestaellningar/skrattmanniskan.html

Attachments

Ryan
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;
}

Ryan Demmer

Lead Developer / CEO / CTO

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

rojteatern
Hi,

Thanks! Worked like a charm!

//Dennis