<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1-alpha-2539" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
		>
	<channel>
		<title>WordPress.com Forums &#187; Topic: Mouse over image darkening and button</title>
		<link>http://en.forums.wordpress.com/topic/mouse-over-image-darkening-and-button</link>
		<description>WordPress.com Forums &#187; Topic: Mouse over image darkening and button</description>
		<language>en</language>
		<pubDate>Fri, 24 May 2013 15:30:38 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1-alpha-2539</generator>
				<atom:link href="http://en.forums.wordpress.com/rss/topic/mouse-over-image-darkening-and-button" rel="self" type="application/rss+xml" />

		<item>
			<title>designsimply on "Mouse over image darkening and button"</title>
			<link>http://en.forums.wordpress.com/topic/mouse-over-image-darkening-and-button#post-991487</link>
			<pubDate>Wed, 29 Aug 2012 16:50:54 +0000</pubDate>
			<dc:creator>designsimply</dc:creator>
			<guid isPermaLink="false">991487@http://en.forums.wordpress.com/</guid>
			<description><![CDATA[<p>Cheers :)
</p>
]]></description>
					</item>
		<item>
			<title>naszetrendy on "Mouse over image darkening and button"</title>
			<link>http://en.forums.wordpress.com/topic/mouse-over-image-darkening-and-button#post-991309</link>
			<pubDate>Wed, 29 Aug 2012 14:48:23 +0000</pubDate>
			<dc:creator>naszetrendy</dc:creator>
			<guid isPermaLink="false">991309@http://en.forums.wordpress.com/</guid>
			<description><![CDATA[<p>You're amazing! It works just great :D</p>
<p>I only had to change the width of images.</p>
<p>Thank you very much :)
</p>
]]></description>
					</item>
		<item>
			<title>designsimply on "Mouse over image darkening and button"</title>
			<link>http://en.forums.wordpress.com/topic/mouse-over-image-darkening-and-button#post-990662</link>
			<pubDate>Tue, 28 Aug 2012 21:22:42 +0000</pubDate>
			<dc:creator>designsimply</dc:creator>
			<guid isPermaLink="false">990662@http://en.forums.wordpress.com/</guid>
			<description><![CDATA[<blockquote><p>After adding this CSS the width of posted images has changed and the darkening is a bit bigger (to the right and down). How can I fit it?</p></blockquote>
<p>Hmm, try adding this:</p>
<pre><code>.entry img {
	margin-bottom: 0;
}</code></pre>
<p>Note that you should remove the #greybutton lines you added to Appearance &#8594; Custom Design &#8594; CSS. They're not formatted properly and are causing trouble. Also, using an extra class or ID probably could work to target the images, but it seems like a lot of extra work and I don't think they're needed if the only links in your posts are images that get the overlay treatment.</p>
<p>The finished solution looks nice so far!
</p>
]]></description>
					</item>
		<item>
			<title>designsimply on "Mouse over image darkening and button"</title>
			<link>http://en.forums.wordpress.com/topic/mouse-over-image-darkening-and-button#post-990649</link>
			<pubDate>Tue, 28 Aug 2012 21:16:57 +0000</pubDate>
			<dc:creator>designsimply</dc:creator>
			<guid isPermaLink="false">990649@http://en.forums.wordpress.com/</guid>
			<description><![CDATA[<blockquote><p>I've also noticed that, as you mentioned it applies to all links.. so facebook and twitter links as well. Can I block this for those two links only?</p></blockquote>
<p>Yep. Try making the original example I posted juuust a bit more specific, like this:</p>
<pre><code>.entry p a {
	position: relative;
	float: left;
	cursor: pointer;
}

.entry p a:hover:before {
	content: &quot;&quot;;
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0,0,0,0.5) url(http://s.wordpress.org/about/images/logos/wordpress-logo-stacked-rgb.png) center center no-repeat;
}</code></pre>
<p>(Note that there's probably more than one way to do the same thing.) :)
</p>
]]></description>
					</item>
		<item>
			<title>naszetrendy on "Mouse over image darkening and button"</title>
			<link>http://en.forums.wordpress.com/topic/mouse-over-image-darkening-and-button#post-969501</link>
			<pubDate>Wed, 08 Aug 2012 09:55:58 +0000</pubDate>
			<dc:creator>naszetrendy</dc:creator>
			<guid isPermaLink="false">969501@http://en.forums.wordpress.com/</guid>
			<description><![CDATA[<p>Hi Zandyring :)<br />
thank you very much for your help :)</p>
<p>I've put the following to css:<br />
#greybutton<br />
.entry a {<br />
	position:relative;<br />
	float:left;<br />
	cursor:pointer;<br />
}</p>
<p>#greybutton<br />
.entry a:hover:before {<br />
	content:"";<br />
	display:block;<br />
	position:absolute;<br />
	top:0;<br />
	bottom:0;<br />
	left:0;<br />
	right:0;<br />
	background:rgba(0,0,0,0.5) url('http://naszetrendy.files.wordpress.com/2012/08/button-3442.gif') center center no-repeat;<br />
}</p>
<p>and have assigned class in 1st post: #greybutton.</p>
<p>..still it doesn't work. What do I do wrong?
</p>
]]></description>
					</item>
		<item>
			<title>zandyring on "Mouse over image darkening and button"</title>
			<link>http://en.forums.wordpress.com/topic/mouse-over-image-darkening-and-button#post-967860</link>
			<pubDate>Mon, 06 Aug 2012 19:31:02 +0000</pubDate>
			<dc:creator>zandyring</dc:creator>
			<guid isPermaLink="false">967860@http://en.forums.wordpress.com/</guid>
			<description><![CDATA[<p>Paula,<br />
Because of the way this works, you will need to create a new class for elements you want to add this gradation/button to, and assign it to all of them. So you would call it something like ".greybutton" and then put in the CSS that DesignSimply shows you above, THEN go into your posts and attach the class to all the images you want to have this effect.
</p>
]]></description>
					</item>
		<item>
			<title>naszetrendy on "Mouse over image darkening and button"</title>
			<link>http://en.forums.wordpress.com/topic/mouse-over-image-darkening-and-button#post-966841</link>
			<pubDate>Sun, 05 Aug 2012 14:44:38 +0000</pubDate>
			<dc:creator>naszetrendy</dc:creator>
			<guid isPermaLink="false">966841@http://en.forums.wordpress.com/</guid>
			<description><![CDATA[<p>Hi Designsimply :)</p>
<p>That's amazing. Thank you very much!</p>
<p>Would you also know where I can adjust it?<br />
After adding this CSS the width of posted images has changed and the darkening is a bit bigger (to the right and down). How can I fit it?</p>
<p>I've also noticed that, as you mentioned it applies to all links.. so facebook and twitter links as well. Can I block this for those two links only?</p>
<p>Thank you very much for all help :)</p>
<p>Paula, naszetrendy.wordpress.com
</p>
]]></description>
					</item>
		<item>
			<title>designsimply on "Mouse over image darkening and button"</title>
			<link>http://en.forums.wordpress.com/topic/mouse-over-image-darkening-and-button#post-959906</link>
			<pubDate>Sun, 29 Jul 2012 11:11:04 +0000</pubDate>
			<dc:creator>designsimply</dc:creator>
			<guid isPermaLink="false">959906@http://en.forums.wordpress.com/</guid>
			<description><![CDATA[<p>Here is one way to do that:</p>
<pre><code>.entry a {
	position: relative;
	float: left;
	cursor: pointer;
}

.entry a:hover:before {
	content: &quot;&quot;;
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0,0,0,0.5) url(http://s.wordpress.org/about/images/logos/wordpress-logo-stacked-rgb.png) center center no-repeat;
}</code></pre>
<p>To change out the image in that example with a button, replace the url() value with your button image. Change the rgba() values to change the color (first 3 numbers) and the level of opacity (last number).</p>
<p>Note that this affects all links, not just images. So it works for your current setup, but it won't work if you add other content with links in any posts. If you wanted to limit to just certain links, you could add a class to those elements in the HTML and adjust the CSS a little. Also, note that if an image isn't linked, it won't work.
</p>
]]></description>
					</item>
		<item>
			<title>naszetrendy on "Mouse over image darkening and button"</title>
			<link>http://en.forums.wordpress.com/topic/mouse-over-image-darkening-and-button#post-942118</link>
			<pubDate>Fri, 13 Jul 2012 17:18:43 +0000</pubDate>
			<dc:creator>naszetrendy</dc:creator>
			<guid isPermaLink="false">942118@http://en.forums.wordpress.com/</guid>
			<description><![CDATA[<p>Hi,</p>
<p>is it possible to customize css so that all images posted would become a bit darker when mouse is in the field of the image and add a button in the middle?</p>
<p>Thank you!
</p>
]]></description>
					</item>

	</channel>
</rss>
