How do I Find the HTML Code for..

5 replies
Hi Warriors,

I want my Wordpress header graphic to appear at the top of my 1 Shopping Cart page and I need the HTML code for it.

Since I have a Wordpress site, I'm not sure how to find it. The header template of my site is a PHP file, so I don't think copying/pasting from that file will give me what I want.

Does anybody know how I can get the HTML code for my header graphic, so I can paste it into my shopping cart???

Thanks,
Michelle
#code #find #html
  • Profile picture of the author Kerryrus
    Hi, If i am understanding what you are trying to do properly. I tend to go to new post and insert the image as if i was going to do a post. Then go to html view and copy the code.

    Then just delete the draft code.

    Hope that helps

    kerry
    {{ DiscussionBoard.errors[4858946].message }}
  • Profile picture of the author Will Edwards
    Hi Michelle

    Go to your WP site, right click on the header graphic, copy the URL of the graphic file, then simply use standard HTML to incorporate it into your destination page:

    <img alt="Description" height="YYY" src="filename.ext" width="XXX">

    Your URL goes here ----------------------- ^^^^

    Cheers,

    Will
    {{ DiscussionBoard.errors[4858952].message }}
    • Profile picture of the author Nightengale
      Thanks for the fast response guys! I appreciate it.

      I've been able to put my logo at the top of the checkout page, but for whatever reason, it won't center. I can make it go to the right or left, but not center it. (Yes, I specified alignment to in the link.)

      Grrrr! And 1 Shopping Cart tech support says they don't handle that. I may have to hire a VA to help me, but it seems silly to hire someone for such a small job.

      Anyone know how to do this?

      Thanks,
      Michelle
      Signature
      "You can't market here. This is a marketing discussion forum!"
      {{ DiscussionBoard.errors[4859491].message }}
      • Profile picture of the author Daverz
        Originally Posted by Nightengale View Post

        Thanks for the fast response guys! I appreciate it.

        I've been able to put my logo at the top of the checkout page, but for whatever reason, it won't center. I can make it go to the right or left, but not center it. (Yes, I specified alignment to in the link.)

        Grrrr! And 1 Shopping Cart tech support says they don't handle that. I may have to hire a VA to help me, but it seems silly to hire someone for such a small job.

        Anyone know how to do this?

        Thanks,
        Michelle
        There are multiple ways to do this:
        • <img src="" alt="" style="display: block; margin-left: auto; margin-right: auto;">
        • <div style="text-align: center;"><img src="" alt=""></div>
        • <center><img src="" alt=""></center>

        Either the first or the second is preferable.
        {{ DiscussionBoard.errors[4860013].message }}
  • Profile picture of the author Lloyd Buchinski
    If I couldn't find the cause of the problem, something like this might make the adjustment.

    <span style="padding-left:30px;">(image link here)</span>

    It might take a few tries, but then you should be able to get it pixel perfect.

    The basic problem is probably something else, but that could be a quick fix.

    Good luck with that.
    Signature

    Do something spectacular; be fulfilled. Then you can be your own hero. Prem Rawat

    The KimW WSO

    {{ DiscussionBoard.errors[4859816].message }}

Trending Topics