bookmark free classifieds                                                                                                                            Welcome: Guest
login here to post a free classified ad    home     register     lost password     advanced search    
Keyword Search
Site Menu
Browse Ads
Featured Ad Pricing
Buyer Features
Seller Features
Contact Us
Other Free Advertising Options
        Click here to
        post Free Ad

Ad Category : Main > Business Services
Easy Methods to style Individual Categories in Wor Ad # : 458954
Ad Details
Ad started: Feb 26
Website URL:
In this article, we are going to guide how to style individual Categories Differently in WordPress? You know that most of the WordPress theme use the same style for all category archive pages. Still, if you run a content-rich website, then you can style each category differently to boost their potential. So we are going to convoluted it. Method 1: Using Single Category Template in WordPress Theme WordPress theme accepts a standard template hierarchy. WordPress can automatically select the suitable template for showing a page relying on a template file name. For category.php file to show category archive pages. WordPress also create templates for individual categories.Let'sume you want to style the 'Apple' category differently you can do this by adding a new template file to your theme and naming it category-apple.php Using an FTP client and then go to /wp-content/themes/your-current-theme/ folder and create a new file category-apple.php. Replace apple with your own category name. Method 2: Style Individual Categories in WordPress Using CSS WordPress automatically append CSS cles to different elements through your website. It includes the body cland the post clIf you view a category archive page and then use the Inspect Tool, you will see category and category-name CSS cles in the body tag. Use this CSS clto style each individual category by adding custom CSS. Some example of CSS that you can use as a starting point. body.category-apple { background-color:#EEE; background:url(“ ads/2017/background.jpg”) no-repeat fixed; color:#FFFFFF; } .category-apple .site { background:#232323; } .category-apple a { color:#CCCCCC; } Read more: 2 simple Methods to style Individual Categories in WordPress We provides professional WordPress support and maintenance services, including 24/7 security monitoring, daily off-site backups, weekly updates to WordPress core, themes, and plugins, a dedicated WordPress support desk and custom development.


Privacy Policy - User Agreement - Help
Copyright World Free Ads. Online since 2002.  All rights reserved.