Multiple lines under an image in the Photo Gallery?

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
Egidius
 
 
Posts: 4
Joined: Mon Feb 10, 2025 10:57 am

Multiple lines under an image in the Photo Gallery?

Post by Egidius »

Hello,
I have made a Photo Gallery, with Gallery Mode: Light Box Gallery, and Type: magnificPopup.
When I click on one of the thumbs the image is shown with the title I added underneath it.
Now I would like to have MULTIPLE lines under the image, but I can’t get it done.
On viewtopic.php?t=85378 Pablo says: “The title can be one line only. The description supports multiple lines.”
However, if I fill in a Description (Doubleclicking the Gallery, then Edit one of the images and adding a text in the Description box), it is not shown. The Title is, but not the text that I added for Description.
How can this be fixed? Can I have multiple lines of text being shown beneath the images?
Thank you.
User avatar
Pablo
 
Posts: 23249
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Multiple lines under an image in the Photo Gallery?

Post by Pablo »

The comment in the topic you are referring to does not apply to lightboxes, but to description below the image.

Most Lightbox scripts do not support multiple lines. The reason for this is because the description is an attribute, which cannot contain HTML tags, so there is no way to indicate a new line has started.
This cannot be 'fixed' because these are third party script so they are provided "AS IS".
Egidius
 
 
Posts: 4
Joined: Mon Feb 10, 2025 10:57 am

Re: Multiple lines under an image in the Photo Gallery?

Post by Egidius »

I see, thank you for anwering.

And what about the font, size and colour of the Title. Can this be edited?
User avatar
Pablo
 
Posts: 23249
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Multiple lines under an image in the Photo Gallery?

Post by Pablo »

I assume you mean in the lightbox?

Each lightbox has it's own settings, so there are no generic settings.
To find out which options are available, it's best to visit the website of the lightbox script.

See also:
https://www.wysiwygwebbuilder.com/lightboxes.html
Egidius
 
 
Posts: 4
Joined: Mon Feb 10, 2025 10:57 am

Re: Multiple lines under an image in the Photo Gallery?

Post by Egidius »

I assume you mean in the lightbox?
I mean, when you click on a thumbnail in the Photo Gallery, the image will open in the Light Box Gallery/Type: magnificPopup, and below the picture you can see the Title of the image.
And I would like to edit the font, size and colour of the Title.
But I can't find any information about how to do that (if it can be done).
Can you help me out, please?
User avatar
Pablo
 
Posts: 23249
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Multiple lines under an image in the Photo Gallery?

Post by Pablo »

In case of magnificPopup, you will need to add custom CSS.

Code: Select all

<style>
.mfp-title 
{
    color: #F3F3F3;
    font-family: Arial;
}
</style>
Here' an overview of all standard styles.
https://github.com/dimsemenov/Magnific- ... -popup.css

Note that this is not specific to WWB.
Egidius
 
 
Posts: 4
Joined: Mon Feb 10, 2025 10:57 am

Re: Multiple lines under an image in the Photo Gallery?

Post by Egidius »

Thank you.
Post Reply