Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Cisco Rendon
PLUS
Cisco Rendon
Courses Plus Student 37,899 Points

Has anyone ever tried putting their knowledge to the test using ebay's store?

Ebay has two types of stores, a free store and a premium store. The premium store allows you "carte-blanche" but the free store is basic. Has anyone tried manipulating the stores free form with any style of coding? Just curious

4 Answers

Hi Cisco, I have done this previously using some basic HTML with an internal stylesheet. It works fine, they have a preview you can check when you are making the listing.

I built my template separately in a regular text editor as it was easier to test that way. When I sell something I just copy over the code and add in the text.

This is a simple example of code you could use:

<style type="text/css">

.container {
   margin: 0 auto;
   width: 800px;
   padding: 5px 20px;
}

img {
  display: block;
  width: 80%;
  height: auto;
  margin: 30px auto;
}

h1 {
  color: red;
}

h2 {
  color: blue;
}

</style>

<div class="container">

  <h1>Title</h1>

  <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
  tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
  quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
  consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
  cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
  proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>

  <img src="http://lorempixel.com/600/400/technics/" alt="cool photo of stuff">

  <h2>Postage</h2>
  <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
  tempor incididunt ut labore et dolore magna aliqua.</p>

</div>
Cisco Rendon
PLUS
Cisco Rendon
Courses Plus Student 37,899 Points

Tom,

Thank you for answering my inquiry, it looks good, I was using the "html box" they offer as a basic form for the page without the image but it never dawned on me to use an actual image. I know that the premium program allows you can manipulate the entire store but I don't have a store, just basic pages

You answered the main question that was plaguing me for a bit, if I could manipulate the individual page and I can. I entered basic html/css coding to make a basic page, i will work on it using sublime to make it look right and see if I can work with the settings.

Thank you again... I look forward to more answers and see what else others might have come up with. =)

Cisco Rendon
Cisco Rendon
Courses Plus Student 37,899 Points

Jorge, did you purchase the premium account from ebay or a free account? Store looks good, very well designed

Yes, we do have a premium store.