Okay
  Public Ticket #3848447
Image Gallery Captions
Open

Comments

  •  1
    Stephanie started the conversation

    Is there a way to get have the caption from an image span the full width of the image it is representing? In my attached photo example I'm using a two column photo gallery and would like to have the text span to the edge or almost the edge of the column or photo. 


    Thanks.

    Attached files:  image Gallery Caption.png

  •  2,033
    Judith replied

    Hello Stephanie,

    Thanks for writing to us.

    Please share your website URL so we can provide a possible CSS to span it to full width.

    I look forward to your response.

  •   Stephanie replied privately
  •  2,033
    Judith replied

    Hi Stephanie,

    Thanks for writing back.

    To make the changes as requested, you will need to add some custom CSS code. To do this, please follow these steps:

    From your WordPress dashboard, Navigate to Salient > General Settings > CSS/Script Related. In the custom code area, insert the provided CSS snippet:

    .portfolio-items .col p, .container-wrap[data-nav-pos="after_project_2"] .bottom_controls li span:not(.text) {
        width: 18vw;
        text-align: justify;
    }
    
    

    Once the code is added, save and refresh the page to see if the change has been applied. In case it helps, please check this section from the documentation on CSS/Script Related. If this does not work as expected or If you have any further questions or need additional assistance, don't hesitate to write back, I'm happy to help. 

     

  •   Stephanie replied privately
  •  2,033
    Judith replied

    Hi Stephanie,

    Thanks for writing back.

    To assist you better, we'd love to have a closer look at your setup and to do this, we'll need admin login credentials 

    (dashboard URL, username, password) to your site. This will enable us to conduct a more in-depth investigation of the issue based on your specific configurations. Would you mind sharing this with us? 

    If you prefer, you can safely share the access through an access plugin such as Controlled Admin Access.

    Before you provide this information, we strongly recommend taking a backup of your site.

    If you have any concerns or questions about this process, please don't hesitate to let me know.

    Best regards,