This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Replies

14
  1. Andrew Misplon Staff 10 years, 5 months ago

    Hi Katerina

    Thanks for reaching out.

    Try going to Appearance > Widgets > Header and inserting a Text widget.

    Insert the following into the Text widget:

    <button onclick="goBack()">Go Back</button>
    <script>
    function goBack() {
        window.history.back();
    }
    </script>

    Just tested it now. Should do the trick.

  2. katerina 10 years, 5 months ago

    Hi Andrew yes i tested but i want to use siteorigin button widget to design it. Is it difficult?Thank you

  3. Andrew Misplon Staff 10 years, 5 months ago

    Sure.

    Insert a Text widget into the header and insert:

    <script>
    function goBack() {
        window.history.back();
    }
    </script>

    Insert a button widget and open the tab Other attributes and SEO and insert into the OnClick field:

    goBack()

    You can leave the URL blank.

    Finally, go to Appearance > Custom CSS and insert:

    /* Header */
    #header-sidebar a {
    cursor: pointer;
    }

    Hope that helps :)

  4. katerina 10 years, 5 months ago

    Thank you Andrew it works but the cursor is not hand when it hovers the button.

  5. Andrew Misplon Staff 10 years, 5 months ago

    Sure. Not at my computer right now. To confirm the CSS I sent is inserted at Appearance > Custom CSS?

  6. katerina 10 years, 5 months ago

    I inserted in style.css on child theme folder.Also when i click the button, it shakes a little bit.

  7. katerina 10 years, 5 months ago

    now i can see the hand when i hover the button. the shaking remains and also it returns back not on top of the previous page but in the height of page that cursor was.

  8. Andrew Misplon Staff 10 years, 5 months ago

    Hi Katerina

    Do you have a public URL where we can take a look at what’s going on? If you need to keep this URL private from other users, just select “Private Reply” on the bottom right of the comment box.

  9. katerina Private 10 years, 5 months ago

    This is a private message.

  10. Andrew Misplon Staff 10 years, 5 months ago

    Sure. When it comes to user roles it’s best to use a plugin. This one should hopefully do the job nicely. I’ve used it in the past:

    https://en-za.wordpress.org/plugins/peters-login-redirect/

  11. katerina Private 10 years, 5 months ago

    This is a private message.

  12. Andrew Misplon Staff 10 years, 5 months ago

    Ok got you. If possible, in forum threads, could you perhaps save private reply for sending sensitive info? Thanks. Unfortunately, we’re not able to assist with custom development beyond helping out with really basic little snippets. If you need developer assistance we highly recommend Codeable.

  13. katerina 10 years, 5 months ago

    Thank you Andrew

  14. Andrew Misplon Staff 10 years, 5 months ago

    For sure.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread