Hi, i want to insert a button in header area. I write this “Back” in onclick but it doesnt work. Thank you in advance.
Insert Back Button in Header area
This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.
Hi Katerina
Thanks for reaching out.
Try going to Appearance > Widgets > Header and inserting a Text widget.
Insert the following into the Text widget:
Just tested it now. Should do the trick.
Hi Andrew yes i tested but i want to use siteorigin button widget to design it. Is it difficult?Thank you
Sure.
Insert a Text widget into the header and insert:
Insert a button widget and open the tab Other attributes and SEO and insert into the OnClick field:
You can leave the URL blank.
Finally, go to Appearance > Custom CSS and insert:
Hope that helps :)
Thank you Andrew it works but the cursor is not hand when it hovers the button.
Sure. Not at my computer right now. To confirm the CSS I sent is inserted at Appearance > Custom CSS?
I inserted in style.css on child theme folder.Also when i click the button, it shakes a little bit.
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.
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.
This is a private message.
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/
This is a private message.
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.
Thank you Andrew
For sure.