{"id":1325680,"date":"2017-07-25T05:44:18","date_gmt":"2017-07-25T12:44:18","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-stylesheet-tribe-eventstribe-events-css-not-applying\/"},"modified":"2017-07-25T05:44:18","modified_gmt":"2017-07-25T12:44:18","slug":"custom-stylesheet-tribe-eventstribe-events-css-not-applying","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-stylesheet-tribe-eventstribe-events-css-not-applying\/","title":{"rendered":"CUSTOM STYLESHEET &quot;\/Tribe-events\/tribe-events.css&quot;  NOT APPLYING"},"content":{"rendered":"<p>Hey Guys,<\/p>\n<p>Love the plugin and have recently purchased pro ( am writing here as have envato issue where for some reason I cannot access pro support forum, currently being resolved but can dm purchase code etc if required) <\/p>\n<p>Basically installed TEC &amp; ECP on site, attempting to customise Tribe-Event-Styles full stylesheet so have followed your instructions to create new stylesheets \/tribe-events\/tribe-events.css on my server and was under the impression these would automatically load on top of default plugin styles?<\/p>\n<p>None of the css edits here are applying, HOWEVER they do apply when I set them as !important in my calendar display pages stylesheet (events-page.css).<\/p>\n<p>Not sure what i&#8217;m missing here as have followed instructions to the letter. Also editing functions file with to replace stylesheets with <\/p>\n<pre><code>function replace_tribe_events_calendar_stylesheet() {\n   $styleUrl = get_bloginfo(&#039;template_url&#039;) . &#039;\/gamble2016\/-tribe-events\/tribe-events.css&#039;;\n   return $styleUrl;\n}\nadd_filter(&#039;tribe_events_stylesheet_url&#039;, &#039;replace_tribe_events_calendar_stylesheet&#039;);\n\nfunction replace_tribe_events_calendar_pro_stylesheet() {\n   $styleUrl = get_bloginfo(&#039;template_url&#039;) . &#039;\/gamble2016\/-tribe-events\/Pro-\/tribe-events-pro.css&#039;;\n   return $styleUrl;\n}\nadd_filter(&#039;tribe_events_pro_stylesheet_url&#039;, &#039;replace_tribe_events_calendar_pro_stylesheet&#039;);\n<\/code><\/pre>\n<p>This seems to replace the stylesheets but also overrides all default styles for the Tribe-Event-Styles full stylesheet which it says it will not override completely in the documentation.<\/p>\n<p>Essentially I want to bootstrap the default photo events view with some custom css without using !important everytime. <\/p>\n<p>I&#8217;m using WordPress 4.8 creating a theme with _S.<\/p>\n<p>Any ideas whats going wrong here would be greatly appreciated.<br \/>\nwebsite is www.tradingboundarieslive.com (still under construction but I will make public until this issue is resolved so you can view) <\/p>\n<p>Many Thanks,<\/p>\n<p>Oli<\/p>\n","protected":false},"template":"","class_list":["post-1325680","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>CUSTOM STYLESHEET &quot;\/Tribe-events\/tribe-events.css&quot; NOT APPLYING -<\/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\/custom-stylesheet-tribe-eventstribe-events-css-not-applying\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CUSTOM STYLESHEET &quot;\/Tribe-events\/tribe-events.css&quot; NOT APPLYING -\" \/>\n<meta property=\"og:description\" content=\"Hey Guys, Love the plugin and have recently purchased pro ( am writing here as have envato issue where for some reason I cannot access pro support forum, currently being resolved but can dm purchase code etc if required) Basically installed TEC &amp; ECP on site, attempting to customise Tribe-Event-Styles full stylesheet so have followed [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-stylesheet-tribe-eventstribe-events-css-not-applying\/\" \/>\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\/custom-stylesheet-tribe-eventstribe-events-css-not-applying\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-stylesheet-tribe-eventstribe-events-css-not-applying\/\",\"name\":\"CUSTOM STYLESHEET &quot;\/Tribe-events\/tribe-events.css&quot; NOT APPLYING -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-07-25T12:44:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-stylesheet-tribe-eventstribe-events-css-not-applying\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-stylesheet-tribe-eventstribe-events-css-not-applying\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-stylesheet-tribe-eventstribe-events-css-not-applying\/#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\":\"CUSTOM STYLESHEET &quot;\/Tribe-events\/tribe-events.css&quot; NOT APPLYING\"}]},{\"@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":"CUSTOM STYLESHEET &quot;\/Tribe-events\/tribe-events.css&quot; NOT APPLYING -","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\/custom-stylesheet-tribe-eventstribe-events-css-not-applying\/","og_locale":"en_US","og_type":"article","og_title":"CUSTOM STYLESHEET &quot;\/Tribe-events\/tribe-events.css&quot; NOT APPLYING -","og_description":"Hey Guys, Love the plugin and have recently purchased pro ( am writing here as have envato issue where for some reason I cannot access pro support forum, currently being resolved but can dm purchase code etc if required) Basically installed TEC &amp; ECP on site, attempting to customise Tribe-Event-Styles full stylesheet so have followed [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-stylesheet-tribe-eventstribe-events-css-not-applying\/","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\/custom-stylesheet-tribe-eventstribe-events-css-not-applying\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-stylesheet-tribe-eventstribe-events-css-not-applying\/","name":"CUSTOM STYLESHEET &quot;\/Tribe-events\/tribe-events.css&quot; NOT APPLYING -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-07-25T12:44:18+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-stylesheet-tribe-eventstribe-events-css-not-applying\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-stylesheet-tribe-eventstribe-events-css-not-applying\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-stylesheet-tribe-eventstribe-events-css-not-applying\/#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":"CUSTOM STYLESHEET &quot;\/Tribe-events\/tribe-events.css&quot; NOT APPLYING"}]},{"@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\/1325680","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":0,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1325680\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1325680"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}