{"id":1079705,"date":"2016-02-22T06:46:31","date_gmt":"2016-02-22T14:46:31","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-eventbrite-iframe-width\/"},"modified":"2016-02-24T07:06:43","modified_gmt":"2016-02-24T15:06:43","slug":"change-eventbrite-iframe-width","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-eventbrite-iframe-width\/","title":{"rendered":"Change Eventbrite iframe width"},"content":{"rendered":"<p>Hi,<\/p>\n<p>I am trying to change the Eventbrite iframe width. I tried to follow the steps in this link https:\/\/theeventscalendar.com\/knowledgebase\/changing-the-height-of-the-eventbrite-tickets-iframe\/ and adjusted the code to be:<br \/>\n<code>add_filter('tribe_template_factory_debug', 'change_eb_iframe_width');<\/p>\n<p>function change_eb_iframe_width($html) {<br \/>\nif (false === strpos($html, 'eventbrite-ticket-embed')) return $html;<br \/>\nreturn str_replace('style=\"100%', 'style=\"96%', $html);<br \/>\n}<\/code> <\/p>\n<p>I have also tried to target the CSS with classes and id&#8217;s and adding the !important tag to overwrite what is coming over, with no luck.<\/p>\n<p><code><br \/>\n #ticket_information_wrapper .panel_628 {<br \/>\n\twidth: 96% !important;<br \/>\n}<\/code><\/p>\n<p>Any help is greatly appreciated. Thanks! <\/p>\n","protected":false},"template":"","class_list":["post-1079705","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>Change Eventbrite iframe width -<\/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\/change-eventbrite-iframe-width\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Change Eventbrite iframe width -\" \/>\n<meta property=\"og:description\" content=\"Hi, I am trying to change the Eventbrite iframe width. I tried to follow the steps in this link https:\/\/theeventscalendar.com\/knowledgebase\/changing-the-height-of-the-eventbrite-tickets-iframe\/ and adjusted the code to be: add_filter(&#039;tribe_template_factory_debug&#039;, &#039;change_eb_iframe_width&#039;); function change_eb_iframe_width($html) { if (false === strpos($html, &#039;eventbrite-ticket-embed&#039;)) return $html; return str_replace(&#039;style=&quot;100%&#039;, &#039;style=&quot;96%&#039;, $html); } I have also tried to target the CSS with classes and id&#8217;s [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-eventbrite-iframe-width\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-02-24T15:06:43+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-eventbrite-iframe-width\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-eventbrite-iframe-width\/\",\"name\":\"Change Eventbrite iframe width -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-02-22T14:46:31+00:00\",\"dateModified\":\"2016-02-24T15:06:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-eventbrite-iframe-width\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-eventbrite-iframe-width\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-eventbrite-iframe-width\/#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\":\"Ticket Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Eventbrite Tickets\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/eventbrite-tickets\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Change Eventbrite iframe width\"}]},{\"@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":"Change Eventbrite iframe width -","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\/change-eventbrite-iframe-width\/","og_locale":"en_US","og_type":"article","og_title":"Change Eventbrite iframe width -","og_description":"Hi, I am trying to change the Eventbrite iframe width. I tried to follow the steps in this link https:\/\/theeventscalendar.com\/knowledgebase\/changing-the-height-of-the-eventbrite-tickets-iframe\/ and adjusted the code to be: add_filter('tribe_template_factory_debug', 'change_eb_iframe_width'); function change_eb_iframe_width($html) { if (false === strpos($html, 'eventbrite-ticket-embed')) return $html; return str_replace('style=\"100%', 'style=\"96%', $html); } I have also tried to target the CSS with classes and id&#8217;s [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-eventbrite-iframe-width\/","article_modified_time":"2016-02-24T15:06:43+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-eventbrite-iframe-width\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-eventbrite-iframe-width\/","name":"Change Eventbrite iframe width -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-02-22T14:46:31+00:00","dateModified":"2016-02-24T15:06:43+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-eventbrite-iframe-width\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-eventbrite-iframe-width\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-eventbrite-iframe-width\/#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":"Ticket Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/"},{"@type":"ListItem","position":4,"name":"Eventbrite Tickets","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/eventbrite-tickets\/"},{"@type":"ListItem","position":5,"name":"Change Eventbrite iframe width"}]},{"@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\/1079705","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":1,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1079705\/revisions"}],"predecessor-version":[{"id":1080324,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1079705\/revisions\/1080324"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1079705"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}