How to Adapt a Photoshop Template in Lubith

In this step-by-step tutorial we will present to you how to adjust a Photoshop template in Lubith.

In this step-by-step tutorial we will present to you how to adjust a Photoshop template in Lubith.

This is the resulting layout:

1. Open the layout in Photoshop.

Now we need to estimate the construction of the template. Observe the layers and the way in which each element of the structure is displayed. We have to export each component and adjust it in Lubith. So, one step at a time:

Slicing

From the Toolbar, right click on the slice tool. You can see that beneath it there are concealed two other tools – crop tool and slice select tool. Photoshop might automatically trace some slices over your template, but you will have to change the size for some of them and add several more along the way.

2. Beginning with the background

The background is actually composed of a smaller image that repeats itself. By using the eye icon from Layers, determine the visibility of the layers – click on the icon and make visible only the background layer. There, only the background stays.

With the slice tool choose a slice of the background in the top left corner. With the slice select tool, double click on that slice. Change its name to “background”, click Ok.

Then go to File – Save for Web & Devices. Choose Preset – PNG 24.

It is advised to employ this image file type for the web. Make sure that transparency is each time selected, in case your slices should handle opacity.

Select only the slice that you wish to save on the image preview. On the drop-down menu, click on Selected Slices, and then Save.

Login to your Lubith account.

Click on the body of the layout. Go to Background -> Upload Image and choose from your computer the background.png slice you just exported.

Click the Repeat Image horizontally and vertically cassettes in Image position.

From Photoshop, right click using the select slice tool the slice you made in the background and delete it. We no longer require it.

3. The main header, content and footer

In order for the proper slices to be made, containing each component of the layout, a few layers need to be set visible, and others, concealed, like this:

- the woman, tape, pattern and header layers need to be set visible from the main header layers folder;

- conceal the entire buttons layers folder;

- set visible the entire main footer layers folder;

- from the sidebar layers folder, make visible the background layer only;

- the entry background and content background layers have to be made visible from the content layers folder;

- hide any other layer.

Now we have to generate a slice with each element. With the select slice tool, create a slice enclosing the main header, main content and main footer, like below:

When making the slices, make sure that you move around each portion a few pixels more on each side.

- The top margins of the content, entry and sidebar backgrounds, with their round corners need to be included in the header slice;

- A piece of minimal height taken out of the main content is sufficient – in Lubith, the image will repeat vertically, and the main content area will expand dynamically according to the quantity of data of each page of your website.

In this way, sufficient background will be supplied for your pages, no matter how much data they display. Plus, they will load more rapidly.

- The main footer needs to surpass a bit the bottom margins of the content, entry and sidebar backgrounds, enough to grab their rounded corners.

Change their name and save them like you did with the background slice. To select multiple slices to save, press down Shift then click on each slice.

Go to Lubith. Select the main container. Go to Background and make it transparent.

- Select the main header. Click on Background – Clear image and then Upload Image. The main-header.png has to be uploaded from your computer.

Go to Background – Image Position. The header should be centered horizontally and with vertical alignment at the bottom. The image must not pe repeated.

- Click on the main container. Upload the main-content.png image to its background. It should be horizontally centered, aligned vertically at the top and vertically repeatable.

- Select the main footer. Upload the main-footer.png file to its background. Determine its horizontal alignment at the center, vertical alignment at the top. The image must not repeat itself.

4. The entry header, footer and content

From the content layers folder, only the pattern, entry header, entry content, entry footer, and butterfly layers have to be made visible. No other layer in the main content part must be visible.

- Generate a slice containing the entry header. Make sure that you move beyond the bottom border with a few pixels.

- Like in the main content, a fragment of minimal height is sufficient for the entry content.

The image will repeat itself vertically in Lubith - in this way your posts will not remain without background, no matter how lengthy they are.

- For the entry footer make a slice similar to the one of the entry header.

Change their name and save the slices.

In Lubith remove the Meta data and Post Utility from Tools -> Add/ Remove.

- Select the entry header and upload the entry-header.png to its background. Determine its horizontal alignment at the center, and the vertical one at the bottom. The image must repeat.

- To the entry content’s background, upload the entry-content.png image . It needs to be horizontally centered and vertically aligned at the top. Repeat it vertically.

- Upload the entry-footer.png image to the entry footer’s background in Lubith. Align it vertically at the top and center it horizontally.

In order to make the elements to fit right, drag the green and orange knobs, move and resize the elements until there is a good display of backgrounds.

Now you can see that the position of the text is a little off. The text is managed within the entry content area from Tools – Padding. In the entry title, text needs to be centered.

5. The widget container, widget header, content and footer

From the sidebar layers folder, only the header, content, footer and ball layers are made visible.

Repeat the stages for the entry header, content and footer. The small orange ball hast to be included in the footer. Change the name and export the slices.

Upload the slices in Lubith, by clicking on each section of the widget at a time. Establish the same kind of alignment as applied in the entry section. Repeat vertically just the widget-content.png image. Set padding.

6. Buttons

For the website’s menu background, set visible only the background layer from the buttons layers folder.

A slice is made enclosing it. Change its name, save it and upload it in the site’s menu background.

For each button’s background, only the button 4 layer is made visible, from the same layers folder. Create a slice containing it, change its name and save it.

In Lubith, set the background transparent for each Normal, Over and Pressed button. Upload the exported slice for each of them. Center the images vertically and horizontally. Images should not be repeatable.

In order to make the buttons to fit properly, use the green and orange knobs to move and resize them.

7. Fonts

In Lubith, click on the website’s title. Go to Type – Text Style, look for La Belle Aurore font and apply it.

Make the same thing for the the entry title and subtitle and widget title (hide the website’s description using the Add/Remove tool).

The size of the fonts is modified from Type – Text Style – Properties.

Place the titles properly using the orange knob. Padding is set, if necessary.

The Amatic SC font is used for the buttons. Modify the size of the font. Make sure the text is centered.

For entry content and widget content, the font employed is Voltaire. Modify the size and center the text.

8. Colors

For using the same colors as the ones in the Photoshop layout, click on each layer with text and with the eyedropper tool click on the text.

Do this for the site’s title, for example. The color applied will be chosen by the eyedropper tool. The RGB values are then copied from the Color Panel.

Go to Lubith, click on the site’s title, and paste the values in the Type – Text Color RGB cassettes. Repeat the process for any element with text.

And that’ it!

Now you understand how to adjust a Photoshop template into Lubith and create additional modifications, if you want.

Aside from that, PSD resources like logos, buttons, headers etc. can also be easily adapted. by using the steps from this tutorial. 

comments powered by Disqus
Loading