WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Pages in Sidebar (14 posts)

  1. jaa22
    Member
    Posted 1 year ago #

    Hi, I'm wanting to make banner-type things in Photoshop, and each one would be a separate file with the name of one of my pages on each one. Since these wouldn't be saved to a URL, is there a widget I can use to sort of add the actual picture to, so it would show up on the sidebar of my page?

  2. Rab
    Member
    Posted 1 year ago #

    You can use the text widget which allows you to use HTML, is that what you're looking for?

  3. jaa22
    Member
    Posted 1 year ago #

    Rab, it's a picture I made, so it's not hosted on a site or anything. Therefore, I don't know how'd I'd html a pic that I just made from scratch in photoshop.

    Wish there was a way to post a picture of what I have done- it'd probably take you (or someone else) about 2 seconds to figure out exactly what I'm trying to explain.

  4. Rab
    Member
    Posted 1 year ago #

    You can upload it to your Media Manager to get in on your site. It'll give you a URL which you can then use in the widget.

  5. jaa22
    Member
    Posted 1 year ago #

    tried that, and it worked with a pic I found on a website, but it just showed that little thing that indicates a photo should be here, but it's not.

  6. Rab
    Member
    Posted 1 year ago #

    That sounds like it's not uploaded correctly, or the URL is incorrect. Can you see the thumbnail of it in your Media Library?

    What file type is it?

  7. jaa22
    Member
    Posted 1 year ago #

    yeah, the thumbnail is in the media library. It's a .jpeg file.

  8. Rab
    Member
    Posted 1 year ago #

    Alright, then it sounds like you don't have the correct URL if it's not displaying properly. Can you paste the URL which you are using for the image which gives the broken image?

  9. jaa22
    Member
    Posted 1 year ago #

    Rab, sorry for the late response. This is the url for the picture. http://golfundamentals.com/wp-content/uploads/2013/01/pagesidebartest.jpg

  10. Rab
    Member
    Posted 1 year ago #

    Can you try adding this to a text widget in your sidebar? Replace the # with the URL of your page.

    <a href="#"><img src="http://golfundamentals.com/wp-content/uploads/2013/01/pagesidebartest.jpg"></a>

    You may or may not want to add in alt and title tags, or alignment with a class such as aligncenter.

  11. jaa22
    Member
    Posted 1 year ago #

    Rab,

    Awesome it worked! Only thing is it bumps up against the very right side of the page (which is what I assume you were referring to w/ alignment). Do you know where the alignment tags would be placed to solve this issue?

    Really appreciate your help!

  12. Rab
    Member
    Posted 1 year ago #

    Hi,

    Try this,

    <a href="#"><img class="aligncenter" src="http://golfundamentals.com/wp-content/uploads/2013/01/pagesidebartest.jpg"></a>

    There is more on WP CSS in the Codex.

  13. jaa22
    Member
    Posted 1 year ago #

    ok, that worked. thanks a million, and sorry for the delayed response times on my behalf.

  14. Rab
    Member
    Posted 1 year ago #

    No problem, don't be sorry, I'm not sitting waiting - just passing by from time to time :)

    Glad it worked out.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.