Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Converting the design to HTML and graphics

From: Preparing CMS Web Graphics and Layouts Using Open Source Tools

Video: Converting the design to HTML and graphics

Here is the homepage that our client has approved for the Hansel & Petal events website. It might look familiar to you, because you might have seen it in the CMS Website Strategy and Planning videos, another title that's available to you here on lynda.com. As you see, we've included a number of design elements here. There's a navigation bar going across the top. We can subscribe to a newsletter on the left-hand side, and there is a little callout image under that. That callout image, depending on your content management system and what options you have available to you, that might be one of those fade in/fade out slideshow things, rotating a bunch of different callouts.

Converting the design to HTML and graphics

Here is the homepage that our client has approved for the Hansel & Petal events website. It might look familiar to you, because you might have seen it in the CMS Website Strategy and Planning videos, another title that's available to you here on lynda.com. As you see, we've included a number of design elements here. There's a navigation bar going across the top. We can subscribe to a newsletter on the left-hand side, and there is a little callout image under that. That callout image, depending on your content management system and what options you have available to you, that might be one of those fade in/fade out slideshow things, rotating a bunch of different callouts.

Or it could be random image, where every time you go to different page perhaps a different graphic loads in that position, but just one every time you go to each page. There is a space at the bottom of the page for the most recent blog post. And a photo from the photo gallery. Again, the exact technologies that will drive these things will depend on which content management system you ultimately use to build your website. So that's the way the homepage is going to look for this website. Let's take a look at the inside pages. Here is the inside page of the website, and this looks rather different.

Remember that this is a content management system page, and our clients are going to be plugging in all kinds of different content on this page. So we don't want to get too specific about how the content looks for any particular page. So this comp is really more for my benefit. In that you can see the way the Heading 1, Heading 2, Heading 3s are styled. Remember those were the H1, H2 and H3 tags from HTML. We can also see the various states of the links. There is a blue underlined link and a green underlined link, and a blue link with no underline.

The graphic designers have already explained these to me, and they told me that the blue underlined link is the unvisited state of the link. If you are going to use blue as a link color, it's really preferred to use that as the unvisited link state. Since by default in your web browser links are blue and underlined. If you try to use that as your visited link state, you might wind up confusing some visitors. The green underlined link is going to be a visited link there in the content, and finally the blue not underlined link is going to be what happens on hover.

So as you hover your mouse over a link the underline will go away. When putting links in your content like this, it's best to underline them, so that there is more than one visual cue identifying your link within the content. However, on hover it's fine to turn off that underline. Again, it gives a little sense of interactivity. So let's think about how we are going to slice up this particular comp. First of all obviously the logo here at the top is going to be a big graphic.

We can either slice that graphic small, so that we just have a tiny little area confined to the logo itself, or we could slice it going all the way across the page. And I am going to go slice it a little bit bigger, because all of the solid blue color is not going to add that much to the file size, and it'll also help to establish the width of the site overall. Notice that on the left and right hand sides we have gradient. This is going from a light brown down to a very dark brown.

So what we are going to do is we'll wind up making a slice down the side of the page here, and then tiling that horizontally across the page, and we'll make the body background have a very dark brown color. I am going to go through all of that in great detail in a coming video. We'll also wind up making a graphic down here in the footer. We'll probably cut a slice across the bottom here, which will have the flowers at the bottom, and we can put the text on top of that background image.

As for the text for the copyright statement, the text for these links at the bottom, the text in the center of the page, all of that is going to come from the database of the website and it's all going to be HTML driven. Finally, the newsletter box over here on the left-hand side demonstrates how to style some of the little boxes that come with your content management system. In Joomla! those boxes are usually called modules, in WordPress those boxes are called widgets, and I believe they're called nodes in Drupal.

Knowing how those boxes are supposed to be styled will help inform any additional boxes that might come up on other pages of the design. So for example, if we have a poll on another page, it should probably be in that same type of box, or the secondary navigation should be in that same type of box there on the left-hand side. So now that we have sense of how we're going to create the individual graphics for our webpage, let's go ahead and start slicing. We are going to use a tool called GIMP, which is an open source image processing tool that you can download.

Show transcript

This video is part of

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Preparing CMS Web Graphics and Layouts Using Open Source Tools.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferences from the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.