<?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: Responsive tables in Choices theme</title>
		<link>http://www.kriesi.at/support/topic/responsive-tables-in-choices-theme</link>
		<description>Support Forum - Topic: Responsive tables in Choices theme</description>
		<language>en-US</language>
		<pubDate>Thu, 23 May 2013 06:20:10 +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/responsive-tables-in-choices-theme" rel="self" type="application/rss+xml" />

		<item>
			<title>Mya on "Responsive tables in Choices theme"</title>
			<link>http://www.kriesi.at/support/topic/responsive-tables-in-choices-theme#post-68383</link>
			<pubDate>Mon, 30 Jul 2012 19:33:19 +0000</pubDate>
			<dc:creator>Mya</dc:creator>
			<guid isPermaLink="false">68383@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Since adding table codes manually isn't a problem for you then you can add the HTML portion of the table to Pages &#38;gt; Whatever your page is then add the CSS portfolio to your custom.css located in /wp-content/themes/choices/css/ or your Quick CSS under Choices &#38;gt; Theme Options &#38;gt; Styling and Layout.&#60;/p&#62;
&#60;p&#62;Note though adding this CSS to custom.css or Quick CSS may override all or some of the existing table formatting Kriesi has done. So you may experience some odd behavior. If you do, you're welcome to come back here and we can try to help solve. We would need though a link to the page.&#60;/p&#62;
&#60;p&#62;HTML:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;table&#38;gt;
		&#38;lt;thead&#38;gt;
		&#38;lt;tr&#38;gt;
			&#38;lt;th&#38;gt;First Name&#38;lt;/th&#38;gt;
			&#38;lt;th&#38;gt;Last Name&#38;lt;/th&#38;gt;
			&#38;lt;th&#38;gt;Job Title&#38;lt;/th&#38;gt;
			&#38;lt;th&#38;gt;Favorite Color&#38;lt;/th&#38;gt;
			&#38;lt;th&#38;gt;Wars or Trek?&#38;lt;/th&#38;gt;
			&#38;lt;th&#38;gt;Name&#38;lt;/th&#38;gt;
			&#38;lt;th&#38;gt;Date of Birth&#38;lt;/th&#38;gt;
			&#38;lt;th&#38;gt;Dream Vacation City&#38;lt;/th&#38;gt;
			&#38;lt;th&#38;gt;GPA&#38;lt;/th&#38;gt;
			&#38;lt;th&#38;gt;Arbitrary Data&#38;lt;/th&#38;gt;
		&#38;lt;/tr&#38;gt;
		&#38;lt;/thead&#38;gt;
		&#38;lt;tbody&#38;gt;
		&#38;lt;tr&#38;gt;
			&#38;lt;td&#38;gt;James&#38;lt;/td&#38;gt;
			&#38;lt;td&#38;gt;Matman&#38;lt;/td&#38;gt;
			&#38;lt;td&#38;gt;Chief Sandwich Eater&#38;lt;/td&#38;gt;
			&#38;lt;td&#38;gt;Lettuce Green&#38;lt;/td&#38;gt;
			&#38;lt;td&#38;gt;Trek&#38;lt;/td&#38;gt;
			&#38;lt;td&#38;gt;Digby Green&#38;lt;/td&#38;gt;
			&#38;lt;td&#38;gt;January 13, 1979&#38;lt;/td&#38;gt;
			&#38;lt;td&#38;gt;Gotham City&#38;lt;/td&#38;gt;
			&#38;lt;td&#38;gt;3.1&#38;lt;/td&#38;gt;
			&#38;lt;td&#38;gt;RBX-12&#38;lt;/td&#38;gt;
		&#38;lt;/tr&#38;gt;
		&#38;lt;tr&#38;gt;
		  &#38;lt;td&#38;gt;The&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;Tick&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;Crimefighter Sorta&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;Blue&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;Wars&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;John Smith&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;July 19, 1968&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;Athens&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;N/A&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;Edlund, Ben (July 1996).&#38;lt;/td&#38;gt;
		&#38;lt;/tr&#38;gt;
		&#38;lt;tr&#38;gt;
		  &#38;lt;td&#38;gt;Jokey&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;Smurf&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;Giving Exploding Presents&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;Smurflow&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;Smurf&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;Smurflane Smurfmutt&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;Smurfuary Smurfteenth, 1945&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;New Smurf City&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;4.Smurf&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;One&#38;lt;/td&#38;gt;
		&#38;lt;/tr&#38;gt;
		&#38;lt;tr&#38;gt;
		  &#38;lt;td&#38;gt;Cindy&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;Beyler&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;Sales Representative&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;Red&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;Wars&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;Lori Quivey&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;July 5, 1956&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;Paris&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;3.4&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;3451&#38;lt;/td&#38;gt;
		&#38;lt;/tr&#38;gt;
		&#38;lt;tr&#38;gt;
		  &#38;lt;td&#38;gt;Captain&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;Cool&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;Tree Crusher&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;Blue&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;Wars&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;Steve 42nd&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;December 13, 1982&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;Las Vegas&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;1.9&#38;lt;/td&#38;gt;
		  &#38;lt;td&#38;gt;Under the couch&#38;lt;/td&#38;gt;
		&#38;lt;/tr&#38;gt;
		&#38;lt;/tbody&#38;gt;
	&#38;lt;/table&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;CSS:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/*
	Max width before this PARTICULAR table gets nasty
	This query will take effect for any screen smaller than 760px
	and also iPads specifically.
	*/
	@media
	only screen and (max-width: 760px),
	(min-device-width: 768px) and (max-device-width: 1024px)  {

		/* Force table to not be like tables anymore */
		table, thead, tbody, th, td, tr {
			display: block;
		}

		/* Hide table headers (but not display: none;, for accessibility) */
		thead tr {
			position: absolute;
			top: -9999px;
			left: -9999px;
		}

		tr { border: 1px solid #ccc; }

		td {
			/* Behave  like a &#38;quot;row&#38;quot; */
			border: none;
			border-bottom: 1px solid #eee;
			position: relative;
			padding-left: 50%;
		}

		td:before {
			/* Now like a table header */
			position: absolute;
			/* Top/left values mimic padding */
			top: 6px;
			left: 6px;
			width: 45%;
			padding-right: 10px;
			white-space: nowrap;
		}

		/*
		Label the data
		*/
		td:nth-of-type(1):before { content: &#38;quot;First Name&#38;quot;; }
		td:nth-of-type(2):before { content: &#38;quot;Last Name&#38;quot;; }
		td:nth-of-type(3):before { content: &#38;quot;Job Title&#38;quot;; }
		td:nth-of-type(4):before { content: &#38;quot;Favorite Color&#38;quot;; }
		td:nth-of-type(5):before { content: &#38;quot;Wars of Trek?&#38;quot;; }
		td:nth-of-type(6):before { content: &#38;quot;Porn Name&#38;quot;; }
		td:nth-of-type(7):before { content: &#38;quot;Date of Birth&#38;quot;; }
		td:nth-of-type(8):before { content: &#38;quot;Dream Vacation City&#38;quot;; }
		td:nth-of-type(9):before { content: &#38;quot;GPA&#38;quot;; }
		td:nth-of-type(10):before { content: &#38;quot;Arbitrary Data&#38;quot;; }
	}

	/* Smartphones (portrait and landscape) ----------- */
	@media only screen
	and (min-device-width : 320px)
	and (max-device-width : 480px) {
		body {
			padding: 0;
			margin: 0;
			width: 320px; }
		}

	/* iPads (portrait and landscape) ----------- */
	@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
		body {
			width: 495px;
		}
	}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Hope this helps!&#60;/p&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Mya
&#60;/p&#62;</description>
		</item>
		<item>
			<title>orv600 on "Responsive tables in Choices theme"</title>
			<link>http://www.kriesi.at/support/topic/responsive-tables-in-choices-theme#post-68299</link>
			<pubDate>Mon, 30 Jul 2012 07:47:36 +0000</pubDate>
			<dc:creator>orv600</dc:creator>
			<guid isPermaLink="false">68299@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;The tables shortcode is really nice and handy but is not responsive as the rest of the theme.&#60;/p&#62;
&#60;p&#62;Is there any way you can add responsive table to Choices or at least, assist me with a quick fix to my site?&#60;br /&#62;
Here is a nice solution (need to be implemented on the theme):&#60;br /&#62;
&#60;a href=&#34;http://css-tricks.com/examples/ResponsiveTables/responsive.php&#34; rel=&#34;nofollow&#34;&#62;http://css-tricks.com/examples/ResponsiveTables/responsive.php&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;It's ok for me to add tables code manually like suggested here:&#60;br /&#62;
&#60;a href=&#34;http://www.kriesi.at/support/topic/responsive-tables&#34; rel=&#34;nofollow&#34;&#62;http://www.kriesi.at/support/topic/responsive-tables&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks in advance,&#60;br /&#62;
ORV600
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
