Wordpress/Few Questions

Advertisement


Question
Good morning, I have a few questions. i will submit them separately I hope that will be easier for you.

First, I'm somewhat new to CSS. What does !important mean? I see it on some of my theme's settings, but not sure what it means. Thanks for your help.

Answer
Thanks John for separating these questions and letting me focus on each one separately.

Usually, if you have more than one setting for a specific section of your website, the website will use the last one in the list. For example, if the CSS first sets the width of an image at 350px, then later in the CSS sets the same image to 400px, the website will use the last one in line:

img {
width: 350px;
}
img {
width: 400px;
}

The width of the image will be 400px.

However, if you put in !important after a command, that command will trump all other commands, regardless of position.

img {
width: 350px !important;
}
img {
width: 400px;
}

The width of the image will be 350px.

Wordpress

All Answers


Ask Experts

Volunteer


Chris Gagner

Expertise

Almost anything about Wordpress. -Getting Started -Finding the right themes & plugins -Search Engine Optimization -Editing CSS, HTML,& PHP -Security & Backups -Finding a good web host Note: I currently only answer questions about single user Wordpress. I don't answer questions about Multi-User.

Experience

I've built several personal and business websites with Wordpress, as well as a few others for colleges. In my opinion, it's one of the most powerful ways to make any website (not just blogs)! I've downloaded and used over 400 plugins, and read about many others. I always download free themes for my websites, then heavily customize the CSS and PHP until it looks unique. Over the years I've become an expert in Wordpress because that is all I've ever used to create my websites.

Education/Credentials
Personal experience using Wordpress since 2007.

©2016 About.com. All rights reserved.