This topic is: not resolved

Logout Button

  • AvatarARHSNSW
    Participant
    Post count: 12
    # 1 year, 7 months ago

    Hello,

    What do people who have a member’s area to log in do for a logout button on the Vestige WP theme? If there is a better solution than what I have proposed below, please let me know.

    On one of the header buttons, I would ideally like it to read:
    Members’Area – regular font
    (Login / Logout) – smaller font and underneath

    Can we edit the button text accordingly?

    Thank you,
    Katie

    Attachments:
    You must be logged in to view attached files.
    AuthorAuthor
    Keymaster
    Post count: 26675
    # 1 year, 7 months ago

    Hi there

    In the button label we can use a little HTML to wrap the “Login / Logout” text but it needs a little modification in header file. Do you want me to send a modified header file for you to use?

    Thanks

    AvatarARHSNSW
    Participant
    Post count: 12
    # 1 year, 7 months ago

    Yes please

    AuthorAuthor
    Keymaster
    Post count: 26675
    # 1 year, 7 months ago

    Add this file in your parent theme(need to keep safe with every update) or in your child theme https://d.pr/f/md9FRF+
    Now add your button menu label as “Member’s Area Login / Logout
    and add custom css at Theme Options => Custom CSS/JS

    .site-header .btn > span {
        font-size: 80%;
        display: block;
        line-height: 1;
        text-transform: none;
        letter-spacing: 0;
        font-weight: 400;
    }

    Adjust the css as you like.
    Thanks

    AvatarARHSNSW
    Participant
    Post count: 12
    # 1 year, 7 months ago

    I have followed all fo your instructions and the formatting did not change.

    AuthorAuthor
    Keymaster
    Post count: 26675
    # 1 year, 7 months ago

    Share your website URL so I can check if it is working fine. Thanks

    AvatarARHSNSW
    Participant
    Post count: 12
    # 1 year, 7 months ago
    AuthorAuthor
    Keymaster
    Post count: 26675
    # 1 year, 7 months ago

    Thanks for the URL. For now I can not see span tags in the button in the header as I suggested. Share your website’s wp-admin credentials here in a private reply for me to check it. Thanks

    AvatarARHSNSW
    Participant
    Post count: 12
    # 1 year, 7 months ago
    This reply has been marked as private.
    AuthorAuthor
    Keymaster
    Post count: 26675
    # 1 year, 6 months ago

    Just did the necessary changes for you. Thanks

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.