<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<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>Support Forum - Topic: Themed Landing Pages in BroadScope</title>
		<link>http://www.kriesi.at/support/topic/themed-landing-pages-in-broadscope</link>
		<description>Support Forum - Topic: Themed Landing Pages in BroadScope</description>
		<language>en-US</language>
		<pubDate>Tue, 21 May 2013 16:21:16 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/themed-landing-pages-in-broadscope" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Beard on "Themed Landing Pages in BroadScope"</title>
			<link>http://www.kriesi.at/support/topic/themed-landing-pages-in-broadscope#post-36953</link>
			<pubDate>Sun, 08 Jan 2012 06:31:58 +0000</pubDate>
			<dc:creator>Chris Beard</dc:creator>
			<guid isPermaLink="false">36953@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;It's great to see you sharing all this and to then see it help others, thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>brouge on "Themed Landing Pages in BroadScope"</title>
			<link>http://www.kriesi.at/support/topic/themed-landing-pages-in-broadscope#post-36888</link>
			<pubDate>Sat, 07 Jan 2012 14:31:53 +0000</pubDate>
			<dc:creator>brouge</dc:creator>
			<guid isPermaLink="false">36888@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;nice!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ptvguy on "Themed Landing Pages in BroadScope"</title>
			<link>http://www.kriesi.at/support/topic/themed-landing-pages-in-broadscope#post-36850</link>
			<pubDate>Sat, 07 Jan 2012 05:22:53 +0000</pubDate>
			<dc:creator>ptvguy</dc:creator>
			<guid isPermaLink="false">36850@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Okay, I'm an idiot. I showed this post to a friend of mine who also creates websites. He looked at it for about ten seconds and then said, &#34;Why don't you just use the important! declaration? Then you don't have to do all that other stuff.&#34; He was right, of course. You can just leave all the BroadScope theme options as they are and jump right to the easy way using the WordPress built-in body_class() function. Doh!&#60;/p&#62;
&#60;p&#62;Just find the WordPress page ID number for the page you want themed, use it to replace the &#34;XXX&#34; in the example below, place it in your custom.css file, make whatever style changes you want, save it, and upload it to the web server.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;body.page-id-XXX {
	background-color: #FFFFFF !important;
	background-image: url(http://www.example.com/wp-content/uploads/my-new-themed-background.jpg) !important;
	background-position: top center !important;
	background-repeat: no-repeat !important;
	background-attachment: fixed !important;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>ptvguy on "Themed Landing Pages in BroadScope"</title>
			<link>http://www.kriesi.at/support/topic/themed-landing-pages-in-broadscope#post-36828</link>
			<pubDate>Fri, 06 Jan 2012 21:50:56 +0000</pubDate>
			<dc:creator>ptvguy</dc:creator>
			<guid isPermaLink="false">36828@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Themed landing pages are handy for a lot of different things. They can tie in to specific page content, visually reenforce a category or topic, and they're especially good for squeeze pages. Generally, there's an easy way to do this using the WordPress built-in body_class() function, but unfortunately, the BroadScope theme options are designed in a way that overrides this. When you choose background color, image, position, repeat, and attachment through the Layout &#38;amp; Styling section of the BroadScope theme options, it writes them as individual style elements in the header instead of the CSS stylesheet. That means that the custom.css stylesheet won't override them. Still, there's a fairly easy workaround for this.&#60;/p&#62;
&#60;p&#62;First, open one of your site's pages in your favorite browser and then look in the source code for the various body styles that you set up in the BroadScope theme options. They'll look something like this:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;body{
background-color:#FFFFFF;
}

body{
background-image:url(http://www.example.com/wp-content/uploads/my-background.jpg);
}

body{
background-position:top center;
}

body{
background-repeat:no-repeat;
}

body{
background-attachment:fixed;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Then we copy all that into the custom.css file and remove all the excess coding so that it looks something like this:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;body {
	background-color: #FFFFFF;
	background-image: url(http://www.example.com/wp-content/uploads/my-background.jpg);
	background-position: top center;
	background-repeat: no-repeat;
	background-attachment: fixed;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Then, we upload the custom.css file to the web server, and go under the Layout &#38;amp; Styling section of the BroadScope theme options and remove all those styling choices and save it. The setup you chose before will still be okay, because you've made it part of the custom.css.&#60;/p&#62;
&#60;p&#62;Now we can finally go on with the normal way of setting up themed landing pages in WordPress. Just find the WordPress page ID number for the page you want themed, and use it to replace the &#34;XXX&#34; in the example below:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;body.page-id-XXX {
	background-color: #FFFFFF;
	background-image: url(http://www.example.com/wp-content/uploads/my-new-themed-background.jpg);
	background-position: top center;
	background-repeat: no-repeat;
	background-attachment: fixed;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Then you can restyle that any way you want, add it to your custom.css file, upload that file to your web server, and you're good to go.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
