- 1). Log on to your WordPress site and click on "Appearance," then "Editor."
- 2). Select "Stylesheet" from the list on the right.
- 3). Add the CSS for your thumbnail using the online editor. For example, if you wish to align the thumbnail image to the left and display a solid black color for it, you can add this code:
img.alignleft {
float: left;
border: 1px solid #000;
} - 4). Click on "Update File."
- 5). Select the template where you have "the_post_thumbnail" code. If it is located within a WordPress page, select the "Page" template from the list of templates on the right.
- 6). Edit the code to apply the style you specified for your thumbnail. The following code displays the thumbnail using your site's default thumbnail size, with the style you defined in your style template:
<?php the_post_thumbnail('thumbnail', array('class' => 'alignleft')); ?> - 7). Update your template file to apply the changes.
Tags
PHP
Programming
C C++
ASP
Development Tools
Ajax
XML
Javascript
Python
VB
VC
perl
dephi
Ruby
sql
technology
Microsoft Access
Excel
ffice
Powerpoint
Word
Oracle
Related Posts "Technology"
-
Business Presentations…Make them Effective with right PPT Templates
7/11/2019 3:02:00 PM
You might also like on "Technology"
How To Build A Website Using WordPress In Ten Minutes
7/10/2019 8:05:00 PM
Website Creation Utilizing Search Engine Optimisation Under Consideration
7/10/2019 6:35:00 PM
Useful WordPress Website Design Tips
7/10/2019 3:19:00 PM
Barricades Involved In Mobile Application Testing
7/10/2019 1:27:00 PM
Hire PHP Developers India for Efficient PHP Web Development
7/10/2019 10:54:00 AM
Changing Your Logo Seamlessly
7/9/2019 8:22:00 PM
Are You Loan-Worthy? 5 Ways to Improve the Odds of Acceptance
7/9/2019 8:03:00 PM
Relevance Of Custom Website Design For Niche Audience
7/9/2019 7:30:00 PM
You Must Understand and Use Responsive Web Design
7/9/2019 4:51:00 PM
Web Design Development: A Dime a Dozen
7/9/2019 3:33:00 PM
A Great Way To Start Earning Money Online Is With An Affiliate Site
7/8/2019 4:43:00 PM