Customizing The Featured Panel


This is a guest post by Josh Farkas, King Ninja at Cubicle Ninjas. It has been modified from it’s original version to suit the newest version (v1.1) of VibrantCMS.

WooThemes are wonderful because they look beautiful out of the box. But if you’d prefer to customize them to your taste they’ve built-in the tools to make that very easy. Here are a few tips I learned first-hand when I built our new Cubicle Ninja’s website with the VibrantCMS theme.

Let’s pretend we’re launching a fun new website about an upcoming war between kittens and mankind. We’ve installed WordPress, followed the detailed directions provided by the WooThemes team to install the VibrantCMS theme, and we were ready to add in our own imagery.

Using Large Images

By default the featured post area will grow vertically to match your image, but horizontally, your image will overflow into the next featured panel. Take a look at the left side of the image above as an example.

Is there an easy way to add in image greater then 340 pixels wide without this issue?

1. Go to Manage > Pages and locate the page with the problem image.

2. Find “VibrantCMS Custom Settings” where we’d originally placed our image URL. Located here are two fields, “Top” and “Left”. We will use these to adjust where our image is located.

3. Place a value you’d like to move your image into the field labeled “Left”. For example -50 moves your image 50 pixels to the left.

4. Hit save to update this featured panel.

5. View your page to see how you did. You can keep guessing and checking until your image fits perfectly.

</p>
<p>” width=”450″ height=”325″ /></a></p>
<p><strong>Using Small Images</strong></p>
<p>What if we have the opposite problem: We want to use a very small image but don’t want it placed against the top?</p>
<p>1. Go to Manage > Pages and locate the page with the problem image.</p>
<p>2. Find “VibrantCMS Custom Settings”   where we’d originally placed our image URL. Located here are two fields, “Top” and “Left”. We will use these to adjust where our image is located.</p>
<p>3. Place a value you’d like to move your image down into the field labeled “Top”. Using -50 moves your image up, 50 moves your image down.</p>
<p>4 . Hit save to update this featured panel.</p>
<p>5. View your page to see how you did. You can keep guessing and checking until your image floats where you like it.</p>
<p>We can even combine using “Top” and “Left to move the image to the center. If we were to place an image in the center it will overlap your text, but it will be behind your buttons.</p>
<p style=

Editing the Background

We now have our custom images snuggly in place. Would it be possible to customize our background color or image?

Absolutely. As a matter of fact, if you can customize this you’ve learned how to customize any element of your theme – the same rules apply. We’ll be using an amazing plug-in for Firefox that helps us see what we’ll need to edit. This tool is called Firebug. Click here to install your copy before we begin.

1. With Firebug, finding out what the code is behind any part of our website is as easy as clicking. Let’s open Firebug by going to Tool>Firebug>Open in New Window within Firefox.

2. At the top-left of Firebug there is an menu item called “Inspect”. Let’s click this.

3. As we run our mouse over the page we can see a blue outline appearing. These are the hidden elements of your webpage. If we mouse-over the top of our background and click, we see the specific code that controls this area.

4. In Firebug’s top right corner it displays where this code is located. This class is located in a file called “pink.css”. All of the template variations have their own CSS file. This controls the look and feel for that specific style. Use a FTP program to find the folder where these CSS files are located.

It should look close to this:
www.yourwebsitehere.com/wp-content/themes/vibrantcms/styles/

5. Next, use a text editor to open the “pink.css” file.

6. Once inside look for an entry that matches our Firebug name, “#featured”. It should look like this:

#featured {
background: #ffc0d4 url(pink/featuredbg.jpg) repeat-x top left;
}

7. Looking at this class we can see how quickly we can modify our featured area:
“#FFC0D4”
is the pink in our background, by changing this value we will modify the color
“url(pink/featuredbg.jpg)” is referencing the gradient image across the top of the featured area
“repeat-x scroll left top” tells the image to repeat horizontally and start at the top left

8. Let’s say we like our background gradient image, but we’d like there to be repeating text in this area. This would be as simple as finding the referenced image above and replacing it. (If you’re using a different style then Pink, your featured background image will be located in the folder name of that style.)

9. We can find this image at:
www.yourwebsitehere.com/wp-content/themes/vibrantcms/styles/pink/featuredbg.jpg

10. Edit and replace the old version of “featuredbg.jpg”. Your website now has a new repeating background image.

And that’s it! We’ve only begun editing our Kitten Wars website, and it looks very rough, but you can see how quickly we could change almost every aspect of the featured panel. And with your knowledge of Firebug exploring the remainder of your website should be that much easier.

cta-banner-10-product-page-v2_2x
Magnus Jepson Avatar

About

8 comments

  1. This post is very helpful. Hope to see more.

    Theron Nolen
    agosto 16, 2008
  2. useful. But how do I removing the padding on the right of the image?

    Christian Nold
    agosto 16, 2008
  3. Does this apply to the LiveWire theme? I can’t find the user manual for this theme.

    Can you send me a lnk?

    Alan F.

    Alan Fogelquist
    agosto 16, 2008
  4. Thank you so much for this fantastic post, Josh. I LOVE what you guys have done with your cubicle ninja site, and whilst I’m a million miles away from having the necessary skills or experience to do something even half as impressive, I’m so grateful to you for you taking the time and trouble to post advice which at least gives me a starter for ten. Much kudos – thank you!

    Louise

    Louise Parr
    agosto 16, 2008
  5. Josh, great post. And I have to give you guys lots of credit for that wonderful job on your site. The great thing is it’s not just pretty, but it also effectively communicates its message.

    Congrats!

    Jeff Namnum
    agosto 17, 2008
  6. Yeah this is great… It would be cool to see something like this for all the themes, I know the lessons here can be used elsewhere but sometimes you just want to click on the theme you bought and get help. great post

    Gavin Steele
    agosto 23, 2008
  7. Thanks so much for the kind words everyone! I hope this introduction gets people playing with new ideas about the near endless possibilities for theme customization…

    And my hat is off to everyone at WooThemes for building the best themes in the WordPress community!

    Josh Farkas
    agosto 31, 2008

Trackbacks/Pingbacks

  1. Creative Design & Illustration | Cubicle Ninjas | Call a ninja at 630.940.6337.

Stay up to date with WooCommerce emails

View our privacy policy. You can unsubscribe anytime.

Subscribing...

There was an error subscribing; please try again later.

Thanks for subscribing!
Emails will be sent to

You're already subscribed!
Emails are sent to

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.