Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Cascading Style Sheets (CSS) is a style sheet language used to describe the presentation semantics (the look and formatting) of HTML output, usually via Themes. When you have to use this tag, then there's a high chance that your question is off topic on this SE network site.
1
vote
After I change CSS not updating in the browser
If you add a version number in the wp_enqueue_script() call - fourth argument - it will append a query string to the css file reference and most (if not all) browsers will see that as a cache-breaker and …
2
votes
How to exclude certain code from style.css?
See this topic as well, as it discusses the correct handling of .css components. …
1
vote
Add second background-image on hover
html:
<div class="my-image-holder">
text and other contents we don't want affected by opacity
</div>
css:
.my-image-holder {
position: relative;
z-index:1;
width:200px;
height:200px …
1
vote
I want to set global directory locations for my CSS and JS locations. How?
php
/*
Plugin Name: SiteWide Assets Location
Plugin URI: www.mysite.com
Description: Global URI for commonly used CSS and JS files
Version: 1.0
Author: Me
License: None
*/
define( 'SYSTEM_ASSETS', $_SERVER … '/somedirectory/' );
Then, store your .css and .js files there (or in a subdirectory within that directory), and now in your themes you can simply refer to the constant SYSTEM_ASSETS whenever you want …
2
votes
Using PHP in a Stylesheet (possibly a ".htaccess" problem?)
Note that the idea of inlining style may work -- but future Content Security Policy may kill that idea...inline CSS is a weak spot; see this OWASP explanation for more information. …
0
votes
Accepted
Wordpress Unite Theme: Footer isn't sticking
As a quick fix try adding this to your css:
html, body {
height: 100%;
}
If that doesn't work then there are ancestral elements in the footer's chain that are not at height 100%. …