Okay
  Public Ticket #3814224
Team Member Arrow
Closed

Comments

  • Aron started the conversation

    Would it be possible to use a button in place of the team member arrow that opens the modal? 

    Attached files:  Screenshot 2025-02-04 at 2.21.59 PM.png

  •  1,986
    Judith replied

    Hello Aron,

    Thanks for writing to is.

    Changing the arrow to a button is not possible directly at the moment from the team member element, however, we can use CSS to create a button there while removing the arrow symbol.

    I hope this proves helpful for you. If you have any more questions or run into any problems, please feel free to reach out.

    Best regards,

  • Aron replied

    Can you share the custom css that makes this possible?

  •  1,986
    Judith replied

    Hi Aron,

    Thanks for writing back.

    Please share your website URL so we can write the CSS for you.

    Best Regards.

  • Aron replied

    https://circlesstg.wpenginepowered.com/

    C
    ould you also share how to change the bg color of the text side of the modal? 

  •  1,986
    Judith replied

    Hi Aron,

    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:

    .centered-text.wpb_column .team-member[data-style=bio_fullscreen_alt] .nectar-cta {
        border: 1px solid white;
        border-radius: 26px;
        width: 12vw;
        margin-left: 4em;
    }
    .team_member_details {
        background: blue;
    }

    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. 

     

  • Aron replied

    Hey Judith - Thank you for the bg update! The css of the button looks a little off. Could we replace the arrow with the .nectar-button.see-through-2 button with Learn More text? 

  • Aron replied

    Hey Judith - I also noticed that the bg-color for the team member doesn't cover the entire height of the column?  Can I also adjust the color of the mouse-based close button? 

    Attached files:  Screenshot 2025-02-05 at 8.56.24 AM.png

  •  9,059
    Tahir replied

    Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):

    .centered-text.wpb_column .team-member[data-style=bio_fullscreen_alt] .nectar-cta:before {
        content: "Learn More";
        position: relative;
        top:0px;
        width: 100%;
        height: 100%;
        display: inline;
    }
    
    
    .centered-text.wpb_column .team-member[data-style=bio_fullscreen_alt] .nectar-cta .link_wrap {
        top: -5px !important;
        right: -10px !important;
    }
    
    

    Thanks


    ThemeNectar Support Team