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,069
    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,069
    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,069
    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,

  •   Stephanie replied privately
  •  3,158
    Andrew replied

    Hi Stephanie,

    Thank you for getting back to us.

    You need to add this CSS instead to make the text go  full width. Add this into the Custom CSS box in your Salient Theme Options panel:

    .portfolio-items .work-meta {
        width: 100%;
    }

    Try that and let us know how it goes.

    Thanks,

  •  1
    Stephanie replied

    Thank you Andrew, that worked perfectly.

  •  2,069
    Judith replied

    Hello Stephanie,

    I'm happy that we could assist you! If you haven't already, please consider sharing your experience by leaving a review on ThemeForest.

    If you've enjoyed Salient, be sure to check out Nectarblocks, our latest innovation for building websites visually with WordPress.

    Your feedback is valuable to us and greatly appreciated!

    Should you have any further questions or encounter any difficulties along the way, please don't hesitate to reach out. 

    Best regards,