images within style sheet
Use a relative path in your stylesheet. If the CSS file is in /style.css: #menu .menu-drop .menu-label { background: url(admin/images/drop1.png) no-repeat right; }
Use a relative path in your stylesheet. If the CSS file is in /style.css: #menu .menu-drop .menu-label { background: url(admin/images/drop1.png) no-repeat right; }
Okay, the answer is pretty obvious. Let me explain by example: W3 Total Cache makes sure that all the primary static contents on a web page (i.e. ones directly referenced in the source of the web page) are loaded via the CDN URL. So, lets say, W3TC serves the blog’s stylesheet from cdn.example.com/wp-content/themes/MY-THEME/style.css and the … Read more
You could use <!doctype html> <head> <style type=”text/css”> #toplevel_page_custom_menu_title{ display:none !important; } .update-nag{ height:auto !important; } </style> </head> <body> <div class=”update-nag”> <?php echo “Admin Page Test”; ?> </div> </body> </html> You can enqueue this way function prefix_add_my_stylesheet() { wp_register_style( ‘prefix-style’, plugins_url(‘style.css’, __FILE__) ); wp_enqueue_style( ‘prefix-style’ ); } add_action( ‘admin_enqueue_scripts’, ‘prefix_add_my_stylesheet’ ); Reference: http://codex.wordpress.org/Plugin_API/Action_Reference/admin_enqueue_scripts#Example:_Load_CSS_File_on_All_Admin_Pages
It looks like a javascript error is preventing scripts from running. There error is from the script cloudflare.min.js, so perhaps it has to do with how you have Cloud Flare setup? Did you just recently start using it? In particular it seems to want to load a non-existent image from ‘http://www.fearlessblue.com/trueblue/wp-content/themes/Prestige/img/backgrounds/LeatherBusiness_DarkLeather&Wood_addPages.jpg’.
Well, it was my fault. I had added a media-query to style.css and I put: @media (min-width: 1300px) { h2.site-description { margin-top: 130px; } That is to say, I forgot a bracket. It should be: @media (min-width: 1300px) { h2.site-description { margin-top: 130px; } } That broke all my next css properties.
show count is out of the anchor tag in wp_list_categories
If your theme’s folder structure is similar to the following: my-theme |- index.php |- style.css |- fonts/font-name.ttf |- inc/some-file.php then the code to connect the font files in your style.css will be: @font-face { font-family: ‘Font Name’; src: url(‘fonts/font-name.ttf’); } body{ font-family: ‘Font Name’, sans-serif; } There shouldn’t be any problem!
never ever copy text from word document into anything web related. Word documents contain extra styling information which might break the content that you try to copy. If you need to copy test it is best to receive it as a simple text file that can be opened in notepad.
Its an old bug in Chrome. In order to solve your problem though – you just need to add this CSS (append to the one you already have in place): .fleche { float: none !important; vertical-align: top; } With inline-blocks – you don’t need floats to keep them on the same line.
why this media query is not working / not loading when I put it in child theme?