Position of text in Home Page
-
Hi Dear, again I’m struggling in finding the correct selector for the item I want to change… :-(
I included the text “English – Português” in my Home Page and I want to place it on the upper-right corner. Can you help me with this?
Thanks in advance.The blog I need help with is: (visible only to logged in users)
-
Hi, what we will have to do is to add a CSS class to that code you have in the home page. Open your home page in the editor, switch to the HTML/Text tab, scroll down to that code and right now you have this.
<a href="https://julianadotlu.wordpress.com/find-us/">English</a> - <a href="https://julianadotlu.wordpress.com/contact/">Português</a>Either edit that from within the Text/HTML tab in the editor and turn it into the following, or remove what you have and copy/paste this in there.
<p class="my-contact"><a href="https://julianadotlu.wordpress.com/find-us/">English</a> - <a href="https://julianadotlu.wordpress.com/contact/">Português</a></p>Then paste in the following to the bottom of your custom CSS.
.home #page { position: relative; } .home #post-47 { position: initial; } p.my-contact { position: absolute; top: 10px; right: 20px; }
- The topic ‘Position of text in Home Page’ is closed to new replies.