You are here: Blog » Tutorials » How to change the password box location with Cobalt theme in Hide My Site

How to change the password box location with Cobalt theme in Hide My Site

By default the login box for the Cobalt theme displays at the top-center location of the page. But what if you prefer it to show at the top-left or top-right corner of the page, instead? This post provides a quick run-through of how you can do that. Note that you will have to be using Hide My Site premium in order to follow along.

The End Result

Before we get started, here’s what we are working toward.

The Code

These examples will show you how to move the password box to the top left and top right positions. The code should go in Settings > Hide My Site > Custom CSS.

CSS for top-left login box
#form_wrap {margin-left: 100px !important;}

CSS for top-right login box
#form_wrap {margin-right: 100px !important;right: 0px !important;}

Thanks for taking the time to follow this tutorial. Hope you find it helpful. Please let me know if you have any questions or other feedback in the comments.

This entry was posted in Tutorials and tagged by .

Author: justin saad

Justin Saad is first and foremost a husband and a father of four. He is also a web developer and designer who has been making websites for over twenty years. His company is called The Motech Network and his website is In addition to building websites, Justin makes WordPress plugins and likes writing tutorials to help others learn about various aspects of web development.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">