How to change header dimensions in WordPress?

Put that code (this is the output): <a href=”http://carolbadre.wordpress.com/”> <img width=”1000″ alt=”” src=”http://carolbadre.files.wordpress.com/2012/03/cropped-grr.jpg”> </a> Which must look different in the backend inside a div… Then you can css it and use height: auto..

IE and WordPress

Well, add these lines to functions.php of your theme. add_action(‘wp_head’,’ie_only’); function ie_only(){ ?> <!–[if IE]> <link rel=”stylesheet” type=”text/css” href=”https://wordpress.stackexchange.com/questions/53149/<?php echo get_bloginfo(“stylesheet_directory’); ?>/ie-only.css” /> <![endif]–> <?php } Now create a css file with this name (ie-only.css) and put that into your theme’s directory.

How do I make header.php use different css for different pages?

Create a primary stylesheet and enqueue as normal. Then, make a series of conditional statements using WP core functions – is_home(), is_404(), is_page_template(‘template.php’) and so on. In each of those conditionals, enqueue the stylesheet you want that overwrites your core stylesheet, using your primary (style.css) stylesheet as a dependency. Untested code, but should work: function … Read more

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; }

WordPress custom styles in menu page

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

Whats the proper way to use a php stylesheet in a wordpress theme? [duplicate]

Not sure if that’s what you need, but take a look. // Can be put into function.php if ( !is_admin() ) { add_action( “wp_enqueue_scripts”, “enqueue_scripts”, 11 ); } function enqueue_scripts() { // Theme CSS (style.css) wp_enqueue_style( ‘style-file’, get_template_directory_uri() . ‘/style.css’,false,’1.0′,’all’ ); // JS wp_register_script( ‘script’, get_template_directory_uri() . ‘/your-script.js’, array(‘jquery’) ); wp_enqueue_script( ‘script’ ); } Or … Read more