• Resolved derlehre

    (@derlehre)


    Hello dear Masteriyo support

    I wanted to put the Person icon which represents the login/sign up and account. I’m using the Elearning theme. It has a dedicated header for mobile. Could you please inform me if it’s possible to put the person icon in the header and give it the url of account page if Masteriyo? How can i do it?

    Thank you dear

    • This topic was modified 1 week ago by derlehre.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support sauravkhanal

    (@sauravkhanal)

    Hi @derlehre,

    Yes, this is possible, and you don’t need any code for the icon itself. You can add it using the eLearning header builder:

    1. Go to Appearance → Customize → Header.
    2. In the builder panel, switch to the Tablet/Mobile view.
    3. Click an empty spot in the header row and select HTML 1.
    4. Open HTML 1, switch to the Code tab, and add:
    <a href="https://yoursite.com/account/" aria-label="My Account">
        <i class="fa-solid fa-user"></i>
    </a>

    Replace the URL with your Masteriyo Account page URL. You can find this under Masteriyo → Settings → General → Pages → Account.

    You can also adjust the Links colour in the HTML 1 settings so the icon is visible against your header. Then click Publish.

    Visitors who aren’t logged in will see the login/registration form, while logged-in students will be taken directly to their account dashboard. You can also drag the icon within the header row if you’d like to position it differently.

    If you’d prefer to hide the icon when visitors are already on the account page, you can add this under Appearance → Customize → Additional CSS:

    .masteriyo-account-page .tg-html-1 {
        display: none;
    }

    Hope this helps!

    Thread Starter derlehre

    (@derlehre)

    @sauravkhanal Thank you dear

    Now my website looks okay in all devices.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.