{"id":1291097,"date":"2017-05-30T17:44:00","date_gmt":"2017-05-31T00:44:00","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/gray-background-on-event-list-vcard-area-on-mobile\/"},"modified":"2017-06-01T14:25:13","modified_gmt":"2017-06-01T21:25:13","slug":"gray-background-on-event-list-vcard-area-on-mobile","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/gray-background-on-event-list-vcard-area-on-mobile\/","title":{"rendered":"Gray background on event list vcard area on mobile"},"content":{"rendered":"<p>Have a look at any of the events at https:\/\/www.westernlegendsroundup.com\/events\/map\/?tribe-bar-date=2017-08-26 at any viewport size above 768px wide.<\/p>\n<p>Now go to 768px wide or lower.<\/p>\n<p>See the difference? There&#8217;s a light gray background that suddenly appears behind the date and venue text where it used to be light blue on dark blue background.<\/p>\n<p>Before I made some changes, at this viewport size the text was white on gray. I had to do kind of a ridiculous media query to get it to be black text + red links on the light gray background. See code below.<\/p>\n<p>What I want to know is:<\/p>\n<p>1) Why did you guys decide to switch color schemes at 768px wide? Why not leave them be?<br \/>\n2) Isn&#8217;t there a better way to do the tweaks than the code below? Like in the settings, shouldn&#8217;t there be a way to choose the styling of mobile venue information? This just seems really backward to me.<\/p>\n<pre><code>@media only screen and ( min-width: 0px) and ( max-width: 768px ) { \r\n    \/* Invert text and link colors on events page venue details to contrast against gray background*\/\r\n    .tribe-updated.published.time-details, .tribe-events-venue-details, .tribe-event-schedule-details {\r\n        color: #000;\r\n    }\r\n\r\n    div.tribe-events-event-meta.vcard.location &gt; div.tribe-events-venue-details &gt; a {\r\n        color: rgb(147, 0, 0);\r\n    }\r\n\r\n    div.tribe-events-event-meta &gt; div &gt; div.tribe-events-venue-details &gt; a:nth-child(1) {\r\n        color: rgb(147, 0, 0);\r\n    }\r\n\r\n  \/* This only works if I'm referencing a specific post's ID selector, but I don't want to have to do this for every post ID that could exist *\/\r\n  #post-6270 &gt; div.tribe-events-event-meta.vcard.location &gt; div.tribe-events-venue-details &gt; a {\r\n        color: rgb(147, 0, 0);\r\n    }\r\n\r\n    .tribe-events-list .tribe-events-loop .tribe-events-event-meta .event-is-recurring {\r\n        color: #000;\r\n    }\r\n\r\n    div.tribe-events-event-meta.vcard.location &gt; div.published.time-details &gt; span.tribe-event-date-start, div.tribe-events-event-meta.vcard.location &gt; div.published.time-details &gt; span.tribe-event-date-end {\r\n        color: #000;\r\n    }\r\n}<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-1291097","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Gray background on event list vcard area on mobile -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/gray-background-on-event-list-vcard-area-on-mobile\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Gray background on event list vcard area on mobile -\" \/>\n<meta property=\"og:description\" content=\"Have a look at any of the events at https:\/\/www.westernlegendsroundup.com\/events\/map\/?tribe-bar-date=2017-08-26 at any viewport size above 768px wide. Now go to 768px wide or lower. See the difference? There&#8217;s a light gray background that suddenly appears behind the date and venue text where it used to be light blue on dark blue background. Before I made [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/gray-background-on-event-list-vcard-area-on-mobile\/\" \/>\n<meta property=\"article:modified_time\" content=\"2017-06-01T21:25:13+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/gray-background-on-event-list-vcard-area-on-mobile\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/gray-background-on-event-list-vcard-area-on-mobile\/\",\"name\":\"Gray background on event list vcard area on mobile -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-05-31T00:44:00+00:00\",\"dateModified\":\"2017-06-01T21:25:13+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/gray-background-on-event-list-vcard-area-on-mobile\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/gray-background-on-event-list-vcard-area-on-mobile\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/gray-background-on-event-list-vcard-area-on-mobile\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Events Calendar PRO\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Gray background on event list vcard area on mobile\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Gray background on event list vcard area on mobile -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/gray-background-on-event-list-vcard-area-on-mobile\/","og_locale":"en_US","og_type":"article","og_title":"Gray background on event list vcard area on mobile -","og_description":"Have a look at any of the events at https:\/\/www.westernlegendsroundup.com\/events\/map\/?tribe-bar-date=2017-08-26 at any viewport size above 768px wide. Now go to 768px wide or lower. See the difference? There&#8217;s a light gray background that suddenly appears behind the date and venue text where it used to be light blue on dark blue background. Before I made [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/gray-background-on-event-list-vcard-area-on-mobile\/","article_modified_time":"2017-06-01T21:25:13+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/gray-background-on-event-list-vcard-area-on-mobile\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/gray-background-on-event-list-vcard-area-on-mobile\/","name":"Gray background on event list vcard area on mobile -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-05-31T00:44:00+00:00","dateModified":"2017-06-01T21:25:13+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/gray-background-on-event-list-vcard-area-on-mobile\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/gray-background-on-event-list-vcard-area-on-mobile\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/gray-background-on-event-list-vcard-area-on-mobile\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Events Calendar PRO","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/"},{"@type":"ListItem","position":5,"name":"Gray background on event list vcard area on mobile"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1291097","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":2,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1291097\/revisions"}],"predecessor-version":[{"id":1294184,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1291097\/revisions\/1294184"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1291097"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}