• Resolved jessp

    (@jessp)


    I am simply looking to add a link in my pages section to return to the main page. I have been reading WP Documentation for a few days, I cannot find anything useful. Link to documentation or explain how I should go about doing this please.

    Also, hate to admit, but I’m not very computer tech savvy. Try to explain for someone who just wants to have a webpage with a blog…please. ??

    Also, my page is https://themommydocuments.com if that helps any.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Drop the “Home” page and add a Text Widget to your sidebar. Trying to do what you want using a page is complicated compared to the following.

    In the Admin interface, click on Design and then Widgets. You’ll want to move a text widget from the left column over to the right column.

    Then, edit the text widget. Leave the title blank and add the following to the main block of the text widget:

    <a class="sidebar-home-link" href="/">Home</a>

    The “<a>” tag is used to create standard hyperlinks. The href attribute is where the link address is contained. Instead of putting a long address (e.g. “https://www.themommydocuments.com&#8221;) I just used a relative path (“/”) which means the root of your website, aka, your homepage. The class=”sidebar-home-link” was added in case you ever wanted to style the link by editing your style.css file.

    Thread Starter jessp

    (@jessp)

    oh my goodness…you are a bloody genius. and i have learned something new!!!

    That worked great for me as well (thank you that was a lifesave!) but now the size of the “home” text on my sidebar doesn’t match the size of the other text on the sidebar.

    Could you please tell me where in the style.css file I can find that so I can change the text size?

    Thank you so much.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding Link To Main Page’ is closed to new replies.