Of all the Content Management Systems (CMS’s) available, WordPress is by far my favorite due to its ease of use and flexibility. In this article we look at 10 CSS design tips which you can use for your WordPress layouts.
1. Make a Child Theme: This is one way of protecting your original theme content. In the child theme you can add make all sorts of customizations without fear of overwriting the original code. Many designers use professional themes in this way. One such example is Genesis. In this case the designer buys all the themes, then when an assignment comes which is similar to one of the themes the designer creates a child theme, and modifies the code to suit the needs of the client.
2. Create Post Snippets: This allows you create custom post snippets which will show up in your blog feed. To do so, make use of the <!–more–> tag immediately after the text you want to use as a snippet. Here is an example of how that would work:
Whenever possible, I like to post information directly relating to my site, but this one post caught my attention because it involves travel scams and some of these are in Latin American countries. <!–more–>
3. Add Borders Around Images: One way of adding a border around an image is to do so with white/black space within an image creation program. Another way is with CSS. Here’s some code for a given image:
4. Add a Drop Shadow to an Image: CSS3 allows for some great effects, one of which is the box-shadow property. Using the above image as an example (and without the border) here is the code for a drop shadow:
7. Use CSS3 Web Fonts: This option allows you to use web fonts that are not installed on your computer. There are many font options available to you. One popular resource is Google Fonts which gives you many fonts and effects. Here’s some code for a Google font effect:
<div class=”font-effect-shadow-multiple”>Cool Font Effects<div>
</body>
</html>
Here is the font effect. Full instructions on how to use the effects are on the Google site. To see what else is available online, do a search for CSS text effects.
8. Text Shadow Effects: The text-shadow property is a great way of applying a quick on-the-fly effect to text. Here’s an example of how it would work:
10. Install Firebug in Firefox: To install it, search for it in the Add-ons Manager.
Firebug allows you to view the code on a website, study it, and make changes which you can view in real time. After that, you can copy the code and use it in your own projects or to update pages with trouble spots.
Additional Tools
Here are some additional CSS3 tools to aid in your explorations. They will also save you a lot of time.
As you can see, there are many CSS options available to you. Some are designed for use within a style sheet while others can be used on-the-fly. That’s the beauty of CSS and is just one of many reasons why it is so popular.
The original home of HTML tutorials. HTMLGoodies is a website dedicated to publishing tutorials that cover every aspect of being a web developer. We cover programming and web development tutorials on languages and technologies such as HTML, JavaScript, and CSS. In addition, our articles cover web frameworks like Angular and React.JS, as well as popular Content Management Systems (CMS) that include WordPress, Drupal, and Joomla. Website development platforms like Shopify, Squarespace, and Wix are also featured. Topics related to solid web design and Internet Marketing also find a home on HTMLGoodies, as we discuss UX/UI Design, Search Engine Optimization (SEO), and web dev best practices.
Advertiser Disclosure: Some of the products that appear on
this site are from companies from which TechnologyAdvice
receives compensation. This compensation may impact how and
where products appear on this site including, for example,
the order in which they appear. TechnologyAdvice does not
include all companies or all types of products available in
the marketplace.