sandra408
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Footer background color is not showing in TwentyTen.Sorry, the site is in The Maintenance Mode at this point.
Forum: Themes and Templates
In reply to: Footer background color is not showing in TwentyTen.Thanks, I’ll check it out.
I just saw your reply to another thread on how to keep branding image only on home page. I’ve run into the same problem.
I have custom home page with home.css. I was hoping by using#branding img {display: none;}
in my regular style.css file I would get rid of the branding image on the rest of the site’s pages. But somehow it affects my home.css file also and image does not show on the home page also.I tried to implement your header.php editing method like this:
<?php if(is_home()): ?> // Check if this is a post or page, if it has a thumbnail, and if it's a big one if ( is_singular() && current_theme_supports( 'post-thumbnails' ) && has_post_thumbnail( $post->ID ) && ( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'post-thumbnail' ) ) && $image[1] >= $header_image_width ) : // Houston, we have a new header image! echo get_the_post_thumbnail( $post->ID ); elseif ( get_header_image() ) : // Compatibility with versions of WordPress prior to 3.4. if ( function_exists( 'get_custom_header' ) ) { $header_image_width = get_custom_header()->width; $header_image_height = get_custom_header()->height; } else { $header_image_width = HEADER_IMAGE_WIDTH; $header_image_height = HEADER_IMAGE_HEIGHT; } ?> <img src="<?php header_image(); ?>" width="<?php echo $header_image_width; ?>" height="<?php echo $header_image_height; ?>" alt="" /> <?php endif; ?> <?php endif; ?>
I guess I messed up somewhere… it did not work for me. Did I make a mistake somewhere?
Thank you for your time.
S.Forum: Fixing WordPress
In reply to: Navigation image dividers in TwentyTen without trailing dividerThis resolved it in css file:
#access .menu-header ul, div.menu ul { margin: 0; list-style: none; } #access .menu-header li, div.menu li { float: left; position: relative; padding-left: 18px; background-image: url(images/dot-separator.png); background-repeat: no-repeat; background-position: 0 .2em; } div.menu li:first-child { background:none; }
Forum: Fixing WordPress
In reply to: Navigation image dividers in TwentyTen without trailing dividerIt still does not take care of the last divider…
Forum: Fixing WordPress
In reply to: Navigation image dividers in TwentyTen without trailing dividerHere is the solution:
1- open your style.css file
2- scroll down the “menu” section of your css (twenty ten section starts with /* =Menu)
3- make sure to “first” upload your gif image to your server, mine for instance was located in:
https://yoursite.com/images/navdivider.gif
4- paste in this line of code (though swap out your own site info) into your style.css file
#access li { background: url(https://yoursite.com/images/navdivider.gif) no-repeat right center;}
I’ll give it a try. Thanks.
Forum: Fixing WordPress
In reply to: Custom header widget size problem…I resolved it by putting php code in <div> tags and giving <div> an id …
Here is CSS:
#header-left-widget-holder { height: 233px; width: 150px; margin: 23px 0 40px 40px; position: absolute; z-index: 50; }
Forum: Fixing WordPress
In reply to: How to remove the "Header" sub-menu item from my Admin. Panel.Thanks, it worked…
Forum: Themes and Templates
In reply to: How to keep header/banner images on a static/home page only.Hi.
Thank you for your reply.
I found solution by using Dynamic Headers plug-in and disabling headers in appearance–>header menu…However now I need to remove the “Header” sub-menu item from my Admin. Panel and code that I tried to use is not working…
Here is what I used in functions.php:function remove_submenus() { global $submenu; unset($submenu['admin-header.php'][2]); // Removes 'Header'. } add_action('admin_menu', 'remove_submenus');
Clearly I made a mistake somewhere… Any ideas??
Thanks.
[Please post code snippets between backticks or use the code button.]
Forum: Fixing WordPress
In reply to: How to add a custom link to a dropdown menu item?I see. Great. Thank you.
Forum: Fixing WordPress
In reply to: How to add a custom link to a dropdown menu item?Thank you for your reply.
In custom menu I can’t figure out how to create a drop-down item…
Am I not seen something here in the configure menu window??Forum: Themes and Templates
In reply to: levels depth/layers in Word Press?OK, if anyone needs help with layers/levels:
to position your logo above the header image:
———————————————add this to your style.css file in your theme
#logo{
height: LOGO HEIGHT IN PX;
width: LOGO WIDTH IN PX;
background: url(images/logo.png) no-repeat;
position: absolute;
top: 50;
left: 50;
z-index:500;
}Then within <div id=”branding” role=”banner”></div> put this in your theme header.php file:
<div id=”logo”></div>
Forum: Themes and Templates
In reply to: levels depth/layers in Word Press?Thank you for your reply, I’ll try to figure out what would do the trick…
Forum: Themes and Templates
In reply to: levels depth/layers in Word Press?I tried to use z-index positioning, but it did not do anything…
Forum: Themes and Templates
In reply to: levels depth/layers in Word Press?So Word Press supports layers?