Showing posts with label worpress. Show all posts
Showing posts with label worpress. Show all posts

4/20/2009

Create your own WordPress theme

We uncover the secrets of a WordPress theme and show you how to add elements to create a personal design

Final

WordPress has become the web’s favourite publishing platform thanks to its simplicity, usability, aesthetics and undoubtedly, its gratis status. Its rise in popularity has seen the proliferation of hundreds of sites offering thousands of themes to give users the look and feel they want in an instant. There are undoubtedly some very good themes on the market, but while a predefined theme offers simplicity and instant impact, it doesn’t offer complete personalisation. There are plenty of free themes that are perfect as a base for a blog, but modification and personalisation will take it to the next level.
WordPress themes are essentially a collection of PHP tags and a style sheet that can be modified to create a personal theme. We have taken the Coffee Desk theme found at http://wordpress.org/extend/themes/ and used this as the base of the new personalised theme. This is a two-column theme with a right sidebar, matching the layout we have designed for.

01 Download and set up


Step1

Head to http://wordpress.org/download/ and click the Download WordPress link and save to the desktop. Now unzip all the files in the WordPress folder. The next step is to create a database for WordPress on your web server. This may differ from account to account, but the principle is the same. We are using cPanel and phpMyAdmin, as supplied with the web account, to create the necessary database. In cPanel, go to MySQL Databases and create a new database. Give it a relevant name, ie ‘blog’, and at the same time create a new username and password. Now add the user to the database and assign it All Privileges.
Now head back to the unzipped WordPress folder and rename the ‘wp-config-sample.php’ file to ‘wp-config.php’. Open wp-config.php to view the following:

define(‘DB_NAME’, ‘putyourdbnamehere’); // The name of the database
define(‘DB_USER’, ‘usernamehere’); // Your MySQL username
define(‘DB_PASSWORD’, ‘yourpasswordhere’); // …and password

Enter the relevant details and save. Now upload the entire contents of the downloaded WordPress folder into a directory on the server, eg, www.mywebsite.co.uk/blog.

02 Install WordPress

Step2

With all the building blocks in place for WordPress, the next step is to start the “famous five-minute installation”. Open the browser of choice and run the WordPress installation script by accessing it via the URL, eg, www.mywebsite.co.uk/blog/ wp-admin/install.php. Remember to replace the web address and subdirectory with the ones you created. This will present the Welcome screen. Enter a Blog Title and Your E-mail and press Install WordPress to begin the process. This is all there is to it. Note down the username and password and press Log In to start. When using WordPress from now on, log in via www.mywebsite.co.uk/blog/wp-login.php.

03 Install a theme

Step3

After installing WordPress, the next step is to find a theme that best matches the style you wish to use. We have included a number of free templates on the disc, but for the purpose of this tutorial we have chosen to use the Coffee Desk theme found via www.wordpress.org. Download the theme before uploading the folder to the wp-content/themes folder found in the location used when installing WordPress, ie www.mywebsite.co.uk/blog/wp-content/themes. If you wish to keep the original theme in its original state within WordPress, simply copy and paste the same theme with a new name into the folder location mentioned above. Now to get started, head to Design>Themes, select the desired theme and click the Activate link to apply the chosen theme. Now when you view via the installation location, WordPress will have the new theme. Before continuing, any images that are to be applied to the new theme will need to be uploaded to the appropriate folder. Using an FTP client, upload the desired images to the images folder located at www.mywebsite.co.uk/blog/wp-content/themes/nameoftheme/images. Replace ‘nameoftheme’ with the name of the chosen theme.

04 Time to modify

Click Theme Editor under Design and observe the various components of the Theme Editor. The left column contains all the Theme files, ie index.php, header.php, sidebar.php, a few of which will be called into action. Note that different themes will have different components, layouts and different tags and classes. The Coffee Desk is just one example of thousands of themes, but the principle of modifying follows very much the same steps. To get started, the style sheet (style.css) is to be tackled first, so click to view it. The first tag on show is the body, and the first modification we are going to make is to change the background image and default font.
The original tag contained the following:

background-image: url(images/back.PNG);
font-family: Geneva, Arial, Helvetica, sans-serif;

The new version looks like this:

background-image: url(images/siteback.jpg);
font-family: Georgia, Arial, Helvetica, sans-serif;

Now click Update File and switch to the Live tab (see Technique boxout).

05 New header
Step5

The header image within a WordPress template is often a major element of the page and will undoubtedly make a big difference to how a page looks. Identify the tag or class that contains the header using the tips suggested in the Technique boxout, and change the background image to the desired image. In our example, the width of the image is the same but the height is not. This has been adjusted accordingly.

This is the original code:

.content_header {
background-image: url(images/header.jpg);
background-repeat: no-repeat;
float: left;
width: 990px;
height: 307px;
}

and the new version:

.content_header {
background-image: url(images/siteheader.jpg);
background-repeat: no-repeat;
float: left;
width: 990px;
height: 366px;
}

06 Header text
The header of the theme currently contains the blog title, as defined in the installation and setup, the tag line “Just another WordPress Blog” and links to Home and About. To define the text, first switch to the header.php file. Under

you will find the following cod

”>




Remove all of this, adding another closing

to the end of the code and press Update File. Now the blog title, tag line and original navigation bar will have disappeared, with Home and About positioned at the top of the header. To reposition the text, simply locate the .navigator class in style.css and adjust padding-left: and add padding-top: to position, for example:

padding-left: 80px;
padding-top: 220px;

07 Remove backgrounds

Step7

The main content of the theme boasts a background image, which needs to be replaced with a single-colour white background. Locate the #c_content tag and remove the following code:

background-image: url(images/desk.jpg);
background-repeat: repeat-y;

and replace with:

background-color: #FFFFFF;

Now locate .post_top and replace the three lines of background with the following code:

background-color: #FFFFFF;

Inserting this code will remove the background image at the top of individual posts with a white background. Next, locate .post_index and remove:

background-image: url(images/postbg.jpg);
background-repeat: repeat-y;

Now locate .post_bottom and remove any background references to remove the bottom background image.
Each post will now be image-free, and blend perfectly with the white background. Finally, locate .clear_content and adjust Height: 30px to Height: 1px to bring together all of the posts.

08 Post header action

Step8

The next step is to add a background image to encompass the post title and details. Head to .post_info and add the following code to the tag:

background-image: url(images/postheader.jpg);
background-repeat: no-repeat;

Also modify the left-padding to 30px and reduce the width by 25 pixels to make sure it all still fits across the page and the text is in a better position. We are going to remove the third line in the post title, which collapses the post header to the default two-line size. To compensate, add the following line: height: 70px; to the class. To remove the Published in text, go to index.php and remove the following line:

Published in .

In order to position the text, go back to .post_info and add padding-top: 7px;. Then remove the same number of pixels from the height. The text in the post title is now invisible (black on black). To change the font and size of the post title, head to #post_entry h2 and change to the following:

font-family: “Georgia”, Tahoma, “Arial Narrow”;
font-size: 20px;

To change the colour of the text, go to .post_info h2 a:link, .post_info h2 a:visited and change the colour. To change the hover colour, go to .post_info h2 a:hover, .post_info h2 a:active and change the colour.

09 Date background

Step9

With the post header in place, next up is to replace the date background image and position the day and month. Head to .calendar and change the background-image to the new option. For ease of use, we have made our image the same size as the original size. To swap the date and month around so that the month, ie AUG is at the top, go to index.php and locate

. Now swap the following two lines around, so “month” is the first line:




To modify position, font size and colour, first go back to style.css. Locate .date to change the font-size and colour and adjust line-height to position horizontally. Add padding-left: 2px; to position month text. It will be a case of modifying and testing until the exact combination puts the text in the right place.

10 Sidebars

Step10

The following classes and tags (.bottom_sidebar, .top_sidebar, .div_wrap_sidebar and .widget_sidebar h2) all contain the background images that make up the sidebars. First locate .top_sidebar and .bottom_sidebar and delete any background-image references, ie background-image: url(images/side_btm.jpg); background-repeat: no-repeat; background-position: top;. Now locate .div_wrap_sidebar and again remove any background image references. Head to .widget_sidebar h2 and add the new background in background-image: url(images/image.jpg); and change font-family: “Trebuchet MS”, Tahoma, “Arial Narrow”; to font-family: “Georgia”, Tahoma, “Arial Narrow”;.

Now adjust the following (as shown) to match the current theme and style:

height: 44px;
line-height: 22px;
font-size: 1.4em;
color: #FFFFCC;

This effectively styles all the sidebar widgets except the calendar. Locate #wp-calendar caption and change the font-family to Georgia, color to FFFFCC, background-image to your choice and adjust the height and line-height as before (see below). This will match up the calendar with all the other widgets in the sidebar.

#wp-calendar caption {
font-family: “Georgia”, Tahoma, “Arial Narrow”;
font-weight: normal;
text-align: center;
width: 230px;
color: #FFFFCC;
font-size: 1.4em;
background-image: url(images/rightcolumnback.gif);
background-repeat: no-repeat;
background-position: center;
height: 44px;
line-height: 35px;
}

11 Footer fun

Step11

The final major step in modifying a theme lies in the footer. The Coffee Desk theme contains a number of background images that are going to be removed and the text styled to match.

The following class and tags (recent_bottom, recent_top, footer_panel, footer_bg and #c_footer) all contain background images relating to the footer. Replace all instances of background images with background-color: #FFFFFF;. This will replace all the background images with a white background. To change the title text, go to #c_footer h2 and modify the font as follows:

font-family: “Georgia”, Tahoma, “Arial Narrow”;

Finally, to put the footer image into the theme, modify the #footer_bg tag as follows:

#footer_bg {
float: left;
width: 990px;
padding-right: 25px;
padding-left: 25px;
background-image: url(images/footer.gif);
background-repeat: no-repeat;
background-position: bottom;
background-color: #FFFFFF;
padding-top: 10px;
padding-bottom: 30px;
}

Note that the image is positioned at the bottom of the tag and the tag is also given a background colour. Without the background colour, the tag is effectively transparent.

12 Finishing touches

Step12

Now, the new personalised theme has been finalised and is ready to use. However, it is always worth adding the finishing touches now that the basis of the theme is complete. An example with the theme we have used is that removing the original background images has left a lot of white space, especially between the posts. To help resolve this issue, we are going to remove the class post_top from the index.php file. This is effectively a space that is not needed any more. Open index.php and locate

. This resides about six lines down. Delete the code, press Update File and reload the site to note the better spacing. Other noticeable elements from the original theme include the old-style Search button and the Blog Feed image. New versions of the images have been created to match the theme. The simple way to replace the old images is to give the new images the same name and upload to the Themes Images folder. This will instantly replace the old with the new.

13 Advanced options

Step13

Most of the work throughout this tutorial has taken place with the style sheet, style.css. This gives the theme new images, positioning and padding, margins, text styles, colour and size. To go beyond the aesthetics, users will need to start delving into the code base. Effectively, this is already in place and been tried and tested to make sure all is operating as intended. However, it does no harm to find out what some of the PHP tags mean within each of theme elements, ie header.php, footer.php, index.php etc. Take a look inside the header.php and the PHP tag ?php bloginfo(), makes a few appearances. This displays information about your blog, mainly using the information users add in their profile. It can be used anywhere within a page template.

Web 2.0 widgets for WordPress

WORDPRESS IS UNDOUBTEDLY the best known and almost inevitably the most popular content management system (CMS) available to users around the world today. Why is this? Well, mainly because it bypasses the need for an indepth knowledge of programming while still giving users a comprehensive publishing platform to work with. Additionally, it’s nice and easy to install and like the best things in life, it’s absolutely free! WordPress comes equipped with its very own themes: the default WordPress theme based on the famous Kubrick (http://binarybonsai.com/kubrick/) and the WordPress Classic theme. Both these and many other WordPress themes come with a default selection of widgets, including Categories, Tags, Search, Archives and Meta, which can be added and removed as desired. To take a theme beyond the basics, there is a vast library of widgets and plug-ins that allows users to customise WordPress and all that resides in the sidebar. In this tutorial, we’ll show you where to find these widgets and plug-ins, as well as run through how to install a typical WordPress widget. To finish up, we have taken a couple of our favourites and shown them in action.

01 Pick the widget that works for you
widget1
The first step to working with WordPress widgets and plug-ins is to locate an item to work with. A good starting point is the WordPress website itself. Head to http:// wordpress.org/extend/plugins/ to view the Plugin Directory. Browse the directory and click a title to view more details, including a description, installation notes, an FAQ, screenshots and a Download link. Hit the Download link and download the folder to the desktop. The vast majority of plug-ins come as a ZIP file, so the first step is to extract the files. Once all the files have been extracted, make sure that the accompanying readme.txt file is viewed before proceeding. This typically gives instructions on how to install the plug-in and other useful information. A typical instruction would include the following (this refers to the Tabbed Widget plug-in): Upload the `tabbed-widgets` directory to the /wp-content/plugins/ directory. The final directory tree should look like: /wp-content/plugins/tabbed-widgets/ tabbed-widgets.php. Almost without exception, the plug-in will be uploaded to the wp-content/plugins directory.

02 Activate plug-in
widget2
Now log in to WordPress to view the Dashboard and click Plugins to open the Plugin Management page. This will display the plug-ins installed by default, ie Akismet, and any plug-ins installed by the user under the Inactive Plugins banner. To activate and start using a plug-in, simply click the Activate link related to the plug-in. WordPress will place the plug-in on its own section under the banner Currently Active Plugins. To deactivate the plug-in at any point, simply click Deactivate. This will place the plug-in into a new section named Recently Active Plugins. This will display the plug-in for seven days before returning it to the Inactive Plugins list. Alternatively, click Clear List to instantly add the plug-in back to Inactive.

03 Choosing the Category Cloud
widget3
When a plug-in or widget has been activated, it is accessible via Design>Widgets. To start using the widget, first click Add to place on the Current Widgets list. Press Save Changes and head back to the site to view the new widget in action. The first example we have used is a widget called Category Cloud, which can be found on the WordPress website. To change the default settings, click the related Edit link. By default, the widget doesn’t have a title and the font is set to a minimum of 50 per cent and a maximum of 150 per cent. Add a title and modify the font size by adding the appropriate numbers and choosing the desired font unit. For example, we have named the widget and set the minimum and maximum reasonably close together (minimum 80 per cent, maximum 120 per cent). This ensures that the Category Cloud doesn’t look too disproportionate. To complete the widget, choose alignment, the order of categories, how many are displayed, hide options and IDs to exclude. Category IDs can be found by placing the cursor over a category, which will be displayed in the status bar of the browser. When complete, press Change and Save Changes to apply. Now view via the website.

04 Start a blank HTML document
widget4
The Tabbed Widgets widget is again found via the WordPress website, and again is installed in the wp-content/plugins folder. After activating the widget, head to Design>Tabbed Widgets. This widget has its own dedicated section. There is the option to create up to eight separate widgets; realistically, though, users are only likely to use one or two at a time. To demonstrate the capabilities of Tabbed Widgets, this tutorial is going to concentrate on creating a single instance. All the techniques learnt here can be applied to the remaining widgets if so desired. The first step is to add a title to the widget. This is displayed on the page if the Show Title checkbox is ticked. By default, the title is not displayed on the page, but whatever title is chosen, this is the name displayed under Widgets. Now select the desired page, widget, etc, from the drop-down list for each of the tabs that are to appear in the widget. Give each one a relevant title and press Update Options. There is the option to add curved corners for each of the tabs. Simply click the Enable rounded corners tab checkbox. By default, the widget will be displayed as tabs. To display with the accordion effect, check the related radio button. To apply, press Update Options.

05 Tabbed Widgets
widget5
The Tabbed Widgets widget is again found via the WordPress website, and again is installed in the wp-content/plugins folder. After activating the widget, head to Design>Tabbed Widgets. This widget has its own dedicated section. There is the option to create up to eight separate widgets; realistically, though, users are only likely to use one or two at a time. To demonstrate the capabilities of Tabbed Widgets, this tutorial is going to concentrate on creating a single instance. All the techniques learnt here can be applied to the remaining widgets if so desired. The first step is to add a title to the widget. This is displayed on the page if the Show Title checkbox is ticked. By default, the title is not displayed on the page, but whatever title is chosen, this is the name displayed under Widgets. Now select the desired page, widget, etc, from the drop-down list for each of the tabs that are to appear in the widget. Give each one a relevant title and press Update Options. There is the option to add curved corners for each of the tabs. Simply click the Enable rounded corners tab checkbox. By default, the widget will be displayed as tabs. To display with the accordion effect, check the related radio button. To apply, press Update Options.

06 XML site map generator for WordPress

widget6
This plug-in (found via the WordPress Plugins Directory) helps create a Google Sitemapscompliant XML site map of a WordPress blog. The plug-in supports automatically generated pages, ie posts, and any custom pages the user creates themselves. The beauty of the plug-in is that it updates the site map every time the user edits or creates a new post. Plus, any search engine that supports the site map protocol, ie Google, MSN Search, Yahoo! and Ask, are notified about the update. The plug-in is installed in the wp-content/ plugins directory, and will be found via the Settings tab. The plug-in has an impressive array of options, which can be at the default setting if desired. Options worth noting include Limit the number of posts in the sitemap. This ensures that only the latest posts are displayed if activated. Additional Pages allows users to specify files or URLs that reside outside the WordPress folder location, eg, www.mysite. co.uk/blog. This would typically mean that the homepage needs to be added. Click Add New Page and fill out the details. Sitemap Content gives the option what to include in the site map, ie posts, categories, archives, tag pages, etc. Finally, Priorities allows users to dictate which pages should prioritise over others. There is a 0-1 number system for each page type, so select a number, eg, 0.3, 0.7, with 1 ensuring top priority.

07 Configurable Tag Cloud options
widget7
The tag cloud widget commonly found with the basic WordPress installation is a simple, nonconfigurable affair. It does what it does, but installing the Configurable Tag Cloud widget (http://leekelleher.com/wordpress) ensures far more control over the output. The widget is installed in the wp-content/plugins folder and can be found via the Settings tab. Alternatively, after the widget has been added to the sidebar via Design>Widgets, its options can be modified via its location. The widget is simple and intuitive to use, and the starting point is Title. Add an appropriate title before deciding on the number of tags to display. If the chosen number is less than the total number of tags, the widget decides which tags are to appear in the tag cloud. Choose the smallest and largest font size, trying to keep reasonably close to avoid unsightly gaps in the tag cloud. Next, there is the option to choose a colour range for the tags, so add the appropriate hexadecimal code. Cloud Format offers Flat for a standard tag cloud, while List presents the tags in a list, ascending or descending. There is the option to integrate categories in the cloud, including empty ones, and display the post count. The final options allow the tags to be sorted by name, count or random. Hit Change when finished and Save Changes to view on the page.

FIVE ESSENTIAL WORDPRESS WIDGETS

WordPress has a vast library of widgets available via the web. Here, we pick five of our favourites.

WordPress Automatic upgrade
http://wordpress.org/extend/plugins/ wordpress-automatic-upgrade/
This widget allows a user to automatically upgrade a WordPress installation to the latest one.

Video Widget
www.nikohk.com/plugin-wordpress-video-widget
Add one or more videos in the sidebar without the need for any HTML code. Support includes YouTube, Dailymotion, Google Video, Flash Video, Vimeo, Flickr and many more.

Dashboard Editor
http://anthologyoi.com
Take control of the WordPress dashboard. Get rid of the entire dashboard or remove individual unwanted components.

My Page Order
http://wordpress.org/extend/plugins/my-page-order/
Avoid the awkward default setup and set the order of pages through a drag-and-drop interface.

MobilePress
http://mobilepress.co.za
Take a WordPress blog and render it for mobile handsets, such as the iPhone and Windows Mobile.

Design a template for a stylish WordPress theme

HANDDRAWN IS ALL THE RAGE JUST NOW, SO GET YOUR PENS AND PAPER OUT AND START DOODLING THIS WORDPRESS DESIGN MOCKUP

AS THE WEB 2.0 beta bandwagon reached fever pitch, there was always going to be a backlash. Hand-drawn, watercolour, ripped and rough edges are becoming hugely
popular as the antithesis to everything polished, glassy and reflective. Starting with a simple sketch, you can build up a design that is uniquely yours. You don’t need to be a master draughtsman either; simple, scratchy textures are just as effective as intricate works of art.

In this tutorial, we’re going to use hand-drawn sketches that have been scanned into Photoshop and paint over them to achieve a watercolour effect. Feel free to use your own, as the process is the same regardless. We’ll roughen the edges using Layer Masks, bring in hand-drawn elements for the heading backgrounds, a customised date display box and a low-tech RSS button. The end result will be a blog template that we’ll be using in our companion WordPress walkthrough on page 70.

01 Create a new document
step01
Open Photoshop and create a new document. We’re going to design to fit 1,024 x 768px, so choose a document size of 1,000 x 1,000px at 72dpi, with a transparent background. If you accidentally create a document with a background layer, double-click on this to convert it to a normal layer.

02 Import the header
step02
Create a new layer, then select File>Import and choose the file ‘blog001.jpg’ from the CD (or locate your own scan). Size it so that there’s a small gap down each side, and hit Enter on your keyboard to accept the import. Use the Eraser tool to remove the word ‘heading’.

03 Set up your layers
step03
Select the empty bottom layer and fill it with white. We’re going to paint on a layer between the sketch and background layers to ensure the lines of the sketch stay strong. Set the sketch layer to use the Multiply blending mode so that the layers underneath shine through.

04 Start to paint
step04
Create a new layer beneath the sketch and call it ‘paint’. Select your Brush tool from the toolbox and a dark blue foreground colour. Select the Overlay blending mode and an Opacity of 25 per cent and layer the paint on bit by bit, using a medium-sized brush to fill the eye’s iris with blue.

05 Work in the effect
step05
Pick out some of the texture in the iris by painting over these areas again. By painting and then painting again, varying the size of your brush and being a little rough around the lines, you can quickly build up a layered watercolour effect. Add different colours, too.

06 Finishing it off
step06
Work over the whole sketch, painting and repainting as necessary. It’s fine to leave some bits unpainted, and overwork other bits; the look we’re going for is omemade,
organic and imperfect. When you’re finished, take a step back and admire your work!

07 Create the content area
step07
We’re going to set the content area of the template to be a white background with black text. Create a new layer and use the Rectangular Marquee tool to draw out a selection to represent the content area. Make your foreground colour white, then fill the selection by pressing Alt+Delete.

08 Roughen the boundaries
step08
Ctrl-click on the layer with the content area to load it as a selection. Click on the Add Layer Mask button at the bottom of the Layers panel, and a Layer Mask will be added with your selection. Paint with black on the layer mask at 25 per cent Opacity to roughen up the top edge.

09 Add a logo
step09
We want a simple text-based site logo here. Type in your name or text and right-align your text, with each word on a new line. Use the Polygonal Lasso tool to draw some rough shapes behind the text, fill these with black on a new layer beneath the text and set the text to white.

10 Give it a background
step10
Select a cream colour to act as the background, and fill the background layer. Using the same settings as before (25 per cent, Overlay) and a rough brush, paint random details over the background to add texture. Select Filter>Texture>
Texturizer to add a canvas texture to the background. 11 Get a footer

11 Get a footer
step11
Import the footer sketch (‘blog003.jpg’) and use the Eraser tool to remove the notes. Set the blending mode of the footer layer to Multiply, choosing Edit>Transform to resize it for this design. We’ve plumped for a simple messy crosshatch here, but you can go as intricate as you like.

12 Open the design elements
step12
The rest of this process is largely laying out where the blog posts should go, setting up navigation and designing the page architecture. Open the design element sketches up by choosing File>Open and locating ‘blog002.jpg’ and copy and paste from this file into your design template.

13 Bring in the date box
step13
Rather than having a bit of text to tell you when the entry was posted, a calendar graphic would be better. Using the Rectangular Marquee tool, select the correct bit and copy/paste it into the template. You may need to resize and rotate it slightly. Create text layers for the day and month.

14 Add headings and content
step14
Repeat for the main blog post area and the Previous Posts link. We’ve created a sketched version of the typical RSS button, so copy that across and position it at the bottom of the template, underneath the footer. Some elements might need the blending mode to be set to Multiply.

15 Add sidebar content
step15
Most blogs have a sidebar that gives quick access to archives, blogrolls, etc. Add one by using the dividing line sketch rotated to vertical, and use the same backgrounds for headings. Define the colour of the links and render your link text in this colour to see how the site will look.

16 Add primary navigation
step16
Make a white box as per step 7, roughen this as before and add text for the blog’s main pages. Bring in the navigation hover sketch and set it above the text like a crown. Add a layer style of Color Overlay set to Screen blending mode to match the crown to your navigation text.

17 Take a step back
step17
Zoom out to 100 per cent and look for anything that doesn’t look right. We decided that the logo would look better if we used the same hatched background as the post titles, so we revisited step 9 and replaced the black background with further copies of the heading sketch.

18 Organise your layers
step18
It will be far easier to convert this design into HTML if the layers are appropriately named and organised. Here, we’ve grouped the layers into like parts; all the blog post elements are together in a folder/layer group, and so on. Once that’s done, you’re ready to start building your site!