Right align a youtube video
Use an id and CSS selector for the element and align it in your stylesheet.
Use an id and CSS selector for the element and align it in your stylesheet.
You can get the thumbnail URL with wp_get_attachment_image_src and get_post_thumbnail_id: $src = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), ‘thumbnail’ ); echo $src[0];
The theme editor is located under /wp-admin/theme-editor.php and uses get_current_theme(); to give you the first files to edit. From the returned array of theme data, it uses ‘Template Dir’ to locate the directory and ‘Template Files’ to give you a list of files to edit (loops through the files with a foreach loop). For stylesheets … Read more
Are you setting the border using CSS? If so, you should set “Default display if no results:” under Settings to nothing. If that is nothing, YARPP will show nothing.
Try changing the style of: .sf-menu a, .sf-menu a:visited { /* visited pseudo selector so IE6 applies text colour*/ padding: 5px 10px; color: #FFF; text-decoration:none } The white text colour appears to be coming from there.
You can use jQuery like this: jQuery(‘ul.children li:last’).addClass(‘last’); And then CSS it with: ul.children li.last { color: red; } Hope this helps. Good luck!
Seems like the superfish menu plugin is not setting the CSS properties correctly when hovering over the menu item. You can fix this by updating the CSS in your styles.css file at line 155 from: .nav2 li.sfHover ul, ul.nav2 li:hover ul { background: none repeat scroll 0 0 #B3B3B3; color: #FFFFFF; text-decoration: none; z-index: 1000; … Read more
This is not really a WordPress question but I’ll answer it anyway. The first thing you need to know is CSS is your friend. You’ll want to do something like this: In style.css .serif-class {font-family: “Times”, “Times New Roman”, serif;} Then using the html view inside of your post: <span class=”serif-class”> This is an important … Read more
It’s because you’ve floated your image on line 745 of your CSS. You’ve cleared the span, but the margin property still won’t if there’s a floated element above… Change the margin to padding, that should fix it..
Fancybox (or some other javascript / jQuery element) is setting the width of the image in your markup. If you look at Firebug, you’ll see the div element width as 471px, which is 10px wider than your image width.