Setting description position not working

Created on 16 April 2024, 8 months ago

Problem/Motivation

On the settings page, there is an error with saving the "Description position" option. The value is not saved. Even if you do not adjust the value, the saving does not work properly.

Steps to reproduce

1. go to /admin/config/media/glightbox
2. Click on custom options
3. Select a value of the options in the "Description position"
4. Click on save

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇨🇭Switzerland handkerchief

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @handkerchief
  • 🇷🇸Serbia levmyshkin Novi Sad, Serbia

    Hi handkerchief, GLightBox options are added with attachments, so they are being cached. You just need to clear caches, then new options will be applied.

  • Status changed to Closed: works as designed 5 months ago
  • 🇷🇸Serbia levmyshkin Novi Sad, Serbia
  • 🇮🇹Italy giordy

    Where is this option? I can't find it in the settings.

    Thanks and best regards

  • 🇷🇸Serbia levmyshkin Novi Sad, Serbia

    Hi giordy, it's on GLightbox Settings form:
    /admin/config/media/glightbox

    You can open it from Configuration toolbar menu link.

  • 🇮🇹Italy giordy

    Maybe I didn't understand the problem (I don't know English and I use Google Translate) or I explained myself badly.

    My problem is that the image captions are aligned to the right and I wanted them in the center, but I don't know how to do it.

    Thanks and best regards

  • 🇷🇸Serbia levmyshkin Novi Sad, Serbia

    There is no settings to align description in popup, but you can add some CSS in your Drupal theme to align description.

    .gslide-title {
      text-align: center;
    }
    
    .gslide-desc {
      text-align: center;
    }

    You should utilize ChatGPT for translation, it's working better than Google Translate. It will also help to you with adding CSS, javascript for your site.

Production build 0.71.5 2024