• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Customizing the look of Author box in WordPress with CSS

By Abhishek Ghosh April 25, 2011 8:21 pm Updated on October 17, 2014

Customizing the look of Author box in WordPress with CSS

Advertisement

Some readers has asked the solution how to customize the appearance of author box in WordPress. One of them has tried the method we wrote to customize blockquote in WordPress.

Basically, the principle is same: adding or modifying the existing CSS code in the style.css file of your current theme.Customizing the look of Author box in WordPress The reason why one person failed to customize it is, in his theme, the author box design was not defined in CSS style sheet. So, he added the CSS with name Author box.

The main problem in his case was, there was a separate php file (visible in theme editor) which was named author-info.php. So, his customization was not applied. So, take care of this thing. Re-naming it as author-info instead of Author box in the stylesheet solved the problem.

Advertisement

---

So, your first work is to find out where is the code that is defining your author box in style.css file of your current theme. Searching with author (after copy pasting the code in Notepad) should normally find it. If you do not find it, examine your theme for the corresponding name of the php file. You must name accordingly.

To get something like my Author box, you have to add (or modify) the code to like this :

 

<span style="color: #ff0000;">.author-box</span> {background-color:#e3e3e3;<span style="color: #00ff00;">background-image</span>:url(images/blockquote.png);background-repeat:no-repeat;background-position:top right;font-family:Georgia;font-size:14px;font-weight:400;color:#000;text-shadow:#fff 0 1px 1px;overflow:hidden;border-color:#eee;border-style:solid;border-width:5px;margin:0 0 30px;padding:10px 60px 10px 10px;}<span style="color: #3366ff;">.author-box img</span> {background:#FFF;float:left;border:1px solid #EAEDEF;margin:0 10px 0 0;padding:4px;}

 

Explanation

 

Firstly read this post to understand the meaning of the above codes.

.author-box defines how the box will look.

.author-box img defines the look of the Gravatar inside your author box. If you do not want customize Gravatar, just omit the code.

background-image defines the position of our logo (the Lotus), if you do not want to show, omit this line.

 

Examples

 

Author box plain with 1px border:

 

Lorem Ipsum is simply dummy text of the printing and typesetting industry

 

Border color has been made black (#000000), 1 px wide. Others has been deleted.

 

Author box without any border:

 

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

 

Border has been deleted.

 

Author box without any border and rounded corners:

 

Mauris eleifend felis et turpis tempor porttitor. Aliquam ullamcorper tellus id metus aliquam laoreet.

 

Border has been made of same color that of background, it has been rounded using CSS. Follow this tutorial to create borders rounded. If we make the border of different color, you will understand it:

 

Curabitur vel ante augue, sed gravida mauris. Duis pellentesque blandit neque sit amet luctus.

 

About the border of author image

 

If you do not want any border, simply set it to none. If you want to make one side (usually the lower) thick, mention border as 2px 2px 7px 2px (this is just an example).

 

Dotted border

 

Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae;

 

Just, we have used border: 1px dotted #000;

 

Signature

This Article Has Been Shared 818 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Customizing the look of Author box in WordPress with CSS

  • Get your Twitter’s tweet as RSS feed and JSON’s url plus widget codes

    You can fetch your Twitter account’s tweets as RSS feed or the get the JSON’s url with this nice and easy trick.

  • Create mouse hover effect for button using CSS sprite

    You must have noticed buttons in various websites that change its appearance on mouse hover. Here is tutorial on how to create very easily.

  • Customize blockquote using CSS and graphics in WordPress

    Blockquote should reflect the personality of the blog site writer. It looks nice when it is customized to reflect the brand of your blog or simply to add an effect of quotation mark.

  • How to use specific color for author’s comments in WordPress

    Using this trick, when the author of post reply in comments, his / her comment box will have different color or background in Wordpress.

  • Sticky Note with shadow effect in WordPress using CSS

    Sticky note with shadow can be created and used anywhere in Wordpress just by using CSS and a small graphical element.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Advantages of Cloud Server Over Dedicated Server for Hosting WordPress March 26, 2023
  • Get Audiophile-Grade Music on Your Smartphone March 25, 2023
  • Simple Windows Security and Privacy Checklist for 2023 March 24, 2023
  • 7 Best Artificial Intelligence (AI) Software March 24, 2023
  • ESP32 Arduino Water Tank Level Monitoring Using Laser ToF Sensor March 23, 2023

About This Article

Cite this article as: Abhishek Ghosh, "Customizing the look of Author box in WordPress with CSS," in The Customize Windows, April 25, 2011, March 27, 2023, https://thecustomizewindows.com/2011/04/customizing-the-look-of-author-box-in-wordpress-with-css/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT