IcyAero
Forum Replies Created
-
That’s alright.
I haven’t made any changes to the original functions.php and style.css -files, to avoid conflicts with the original theme. And the only changes I’ve made into the child-theme functions.php are to replace the Copyright -information at the bottom of the page. The style.css has only minor modifications, otherwise it’s like the original style.css from the Attitude -theme.
I’ve also tried clearing the child-theme functions.php and style.css of all code and the issue still persists. But I’ve attached the style.css here just in case.
/* Theme Name: Attitude Child Theme URI: https://example.com/twenty-fourteen-child/ Description: Child Theme Author: IcyAero Author URI: https://example.com Template: attitude Version: 1.0.0 Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready Text Domain: attitude-child */ @import url("../attitude/style.css"); /* =Theme customization starts here -------------------------------------------------------------- */ html { overflow: -moz-scrollbars-vertical; overflow: scroll; } #access select { display: none; } #access ul { display: block; } /* =Header ----------------------------------------------- */ #branding { margin-top: 30px; } .hgroup-wrap { padding-top: 10px; padding-bottom: 41px; } .hgroup-wrap a { display: block; } #site-logo { float:left; margin-top: 32px; } #site-title { font: 36px 'Philosopher', sans-serif; line-height: 42px; } #site-title a { color: #555; } #site-title a img { vertical-align: inherit; max-width: 978px; } #site-title a span, #site-title a:hover, #site-title a:focus, #site-title a:active { color: #05a9c5; } #site-description { font: 13px 'PT Sans', sans-serif; line-height: 20px; color: #777; } .hgroup-right { float: right; margin-top: 38px; } /* Social Profiles */ .social-profiles { float: left; } .social-profiles ul { margin: -10px 0 0; float:right; } .social-profiles ul li { margin-top:10px; float:left; } .social-profiles ul li a { display:block; width:30px; height:30px; text-indent: -99999px; background-image: url("images/social-icons.png"); background-position: right bottom; -moz-transition: all 0.2s linear; -o-transition: all 0.2s linear; -ms-transition: all 0.2s linear; transition: all 0.2s linear; -webkit-transition: all 0.2s linear; } .social-profiles ul li.facebook a { background-position: 0 0; } .social-profiles ul li.facebook a:hover { background-position: 0 -40px; } .social-profiles ul li.twitter a { background-position: -40px 0; } .social-profiles ul li.twitter a:hover { background-position: -40px -40px; } .social-profiles ul li.google-plus a { background-position: -80px 0; } .social-profiles ul li.google-plus a:hover { background-position: -80px -40px; } .social-profiles ul li.pinterest a { background-position: -120px 0 ; } .social-profiles ul li.pinterest a:hover { background-position: -120px -40px ; } .social-profiles ul li.linked a { background-position: -160px 0; } .social-profiles ul li.linked a:hover { background-position: -160px -40px; } .social-profiles ul li.tumblr a { background-position: -200px 0 ; } .social-profiles ul li.tumblr a:hover { background-position: -200px -40px; } .social-profiles ul li.vimeo a { background-position: -240px 0; } .social-profiles ul li.vimeo a:hover { background-position: -240px -40px; } .social-profiles ul li.my-space a { background-position: -280px 0; } .social-profiles ul li.my-space a:hover { background-position: -280px -40px; } .social-profiles ul li.flickr a { background-position: -320px 0; } .social-profiles ul li.flickr a:hover { background-position: -320px -40px; } .social-profiles ul li.you-tube a { background-position: -360px 0; } .social-profiles ul li.you-tube a:hover { background-position: -360px -40px; } .social-profiles ul li.rss a { background-position: -400px 0; } .social-profiles ul li.rss a:hover { background-position: -400px -40px; } /* Header Image */ .header-image { width: 100%; height: auto; } /* =Menu -------------------------------------------------------------- */ #access { border-top: 1px solid #EAEAEA; border-bottom: 1px solid #EAEAEA; } #access ul { } #access li { float: left; position: relative; padding: 0 20px 0 0; } li.default-menu { display: none; } #access a { color: #777; display: block; float: left; font-size: 14px; text-transform: uppercase; padding: 16px 0 0; height: 39px; } #access a:hover, #access ul li.current-menu-item a, #access ul li.current_page_ancestor a, #access ul li.current-menu-ancestor a, #access ul li.current_page_item a, #access ul li:hover > a { color: #05A9C5; } #access ul ul { } #access ul ul ul { } #access ul ul a { } #access li:hover > a, #access ul ul :hover > a, #access a:focus { } #access li:hover > a, #access a:focus { } #access ul li:hover > ul { } #access .current-menu-item > a, #access .current-menu-ancestor > a, #access .current_page_item > a, #access .current_page_ancestor > a { } /* Dropdown */ #access ul li ul, #access ul li:hover ul ul, #access ul ul li:hover ul ul, #access ul ul ul li:hover ul ul, #access ul ul ul ul li:hover ul ul { display:none; z-index: 9999; } #access ul li:hover ul, #access ul ul li:hover ul, #access ul ul ul li:hover ul, #access ul ul ul ul li:hover ul, #access ul ul ul ul ul li:hover ul { display:block; } #access ul li ul { position: absolute; background-color: #fff; border-top: 4px solid #05A9C5; top: 55px; left: 0px; width: 190px; } #access ul li ul li { float: none; border-bottom: 1px solid #EAEAEA; padding: 0; } #access ul li ul li a, #access ul li.current-menu-item ul li a, #access ul li ul li.current-menu-item a, #access ul li.current_page_ancestor ul li a, #access ul li.current-menu-ancestor ul li a, #access ul li.current_page_item ul li a { float: none; line-height: 21px; font-size: 13px; font-weight: normal; height: 100%; padding: 6px 10px; color: #777; text-transform: capitalize; } #access ul li ul li a:hover, #access ul li ul li:hover > a, #access ul li.current-menu-item ul li a:hover { background-color: #F9F9F9; color: #05A9C5; } #access ul li ul li ul { left: 190px; top: -4px; } #access select { display: none; } /* Slogan */ .slogan-wrap { font-family: 'Philosopher', sans-serif; background-color: #05a9c5; padding: 24px 0; margin-bottom: 4px; } .slogan-wrap .slogan { font-size: 24px; line-height: 30px; color: #fff; width: 80%; float: left; } .slogan-wrap .slogan span { font: 13px 'PT Sans', sans-serif; line-height: 20px; display: block; padding-top: 5px; } .slogan-wrap .view-work { color: #494949; font-size: 18px; float: right; display: block; border: 2px solid #fff; text-align: center; height: 28px; padding: 8px 15px 0; margin-top: 8px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; background: #b5e6ee; background: -webkit-linear-gradient(#d0eef4, #b5e6ee); background: -moz-linear-gradient(#d0eef4, #b5e6ee); background: -ms-linear-gradient(#d0eef4, #b5e6ee); background: -o-linear-gradient(#d0eef4, #b5e6ee); background: -webkit-gradient(#d0eef4, #b5e6ee); background: linear-gradient(#d0eef4, #b5e6ee); -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); text-shadow:0 1px 0 rgba(251, 251, 251, 0.7) } .slogan-wrap .view-work:hover { background: -webkit-linear-gradient(#E3F5F9, #b5e6ee); background: -moz-linear-gradient(#E3F5F9, #b5e6ee); background: -ms-linear-gradient(#E3F5F9, #b5e6ee); background: -o-linear-gradient(#E3F5F9, #b5e6ee); background: -webkit-gradient(#E3F5F9, #b5e6ee); background: linear-gradient(#E3F5F9, #b5e6ee); } .slogan-wrap .view-work:active { -webkit-box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3); -moz-box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3); box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3); } /* =Footer ----------------------------------------------- */ #colophon { margin-bottom: 30px; } #colophon select { background-color: #F9F9F9; border: 1px solid #EAEAEA; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; height: 40px; padding: 10px 8px; width: 100%; color: #777777; } #colophon form input, #colophon form textarea { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } #colophon .widget-wrap { background-color: #f9f9f9; border-top: 1px solid #eaeaea; } #colophon .widget-area { margin-left: -3.06%; padding: 40px 0 10px; } #colophon .widget { float: left; margin-left: 2.97%; width: 30.35%; } #colophon .widget_archive, #colophon .widget_pages, #colophon .widget_nav_menu, #colophon .widget_recent_entries, #colophon .widget_categories, #colophon .widget_recent_comments, #colophon .widget_meta, #colophon .widget_rss { margin-bottom: 22px; } #colophon .widget_archive ul li, #colophon .widget_pages ul li, #colophon .widget_nav_menu ul li, #colophon .widget_recent_entries ul li, #colophon .widget_categories ul li, #colophon .widget_recent_comments ul li, #colophon .widget_meta ul li, #colophon .widget_rss ul li { padding-bottom: 8px; } #colophon .widget-title { font-size: 19px; text-transform: uppercase; line-height: 25px; } #colophon .widget_article { margin-bottom: 10px; } #colophon .widget_info, #colophon .widget_text { margin-bottom: 15px; } #colophon a { } #colophon a:hover { } #colophon ul { } #supplementary .widget-area { } #supplementary .widget-title { } #supplementary #first, #supplementary #second, #supplementary #third { } #supplementary #first { } #supplementary #second { } #supplementary #third { } /* Site Generator */ #site-generator { padding: 20px 0px; border-top: 1px solid #eaeaea; color: #999; } #site-generator .social-profiles { float: right; width: 31.28%; } #site-generator .copyright { float: left; padding-top: 5px; width: 65.64%; } #site-generator .copyright a { color: #777; } #site-generator .copyright a:hover { color: #05A9C5 } /* All Mobile Portrait size smaller than 768 (devices and browsers) */ @media only screen and (max-width: 767px) { hr { margin-bottom: 30px; } input[type="text"], input[type="password"], textarea, input[type="reset"], input[type="button"], input[type="submit"] { margin-bottom: 20px; } input.s { margin: 0; } input.s:focus { width: 235px; } .one-column-template .wrapper, .wrapper { width: 300px; } .one-column-template .container, .container { width: 280px; } .wide-layout .wrapper { width: 100%; } .comments-title, #respond h3#reply-title { font-size: 26px; line-height: 32px; } #content h1, #content h2, #content h3, #content h4, #content h5, #content h6 { padding-bottom: 10px; } #branding { margin-top: 10px; } .hgroup-wrap { padding-bottom: 25px; padding-top: 0; } .hgroup-right { margin-top: 32px; } .hgroup-right .social-profiles { display: none; } #site-logo { margin-top: 25px; } #site-title a img { max-width: 280px; } #access { height: 36px; padding: 13px 0 0; } #access ul { display: none; } #access select { display: block; width: 100%; background: url(images/responsive-menu-bg.png) right center no-repeat; background-size: 28px 22px; border: 0 none; font: 14px 'PT Sans', sans-serif; text-transform: uppercase; color: #555; -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px; height: 22px; } .page-title-wrap { padding: 10px 0; } .breadcrumb { margin-top: 0px; float: none; text-align: left; } .slogan-wrap { padding: 15px 0 20px; } .slogan-wrap .slogan, .slogan-wrap .view-work { float: none; width: 100%; padding-right: 0; padding-left: 0; } .slogan-wrap .view-work { width: 98%; margin: 10px auto 0; } #main { padding-top: 40px; } .post-featured-image { margin-bottom: 15px; } .entry-content { padding-bottom: 0px; } /* Column */ .column { margin-left: 0; } .one-half, .one-third, .one-fourth, .widget_service .one-half, .widget_service .one-third, .widget_service .one-fourth { margin: 0; padding-bottom: 10px; width: 100%; } #content .post { padding-bottom: 30px; } .tags { margin-bottom: 30px; } .widget_search input.s, .widget_search input.s:focus { width: 280px; } #wp_page_numbers, .wp-pagenavi, #content ul.default-wp-page, .pagination { margin-bottom: 30px; } #wp_page_numbers ul li.page_info, .wp-pagenavi .pages { display: none; } .wp-caption { margin-bottom: 15px; } .widget { margin-bottom: 30px; } .widget_custom-tagcloud { margin-bottom: 22px; } .widget_article { margin-bottom: 10px; } .widget_service { margin-bottom: 0; } .widget_recent_work { margin-bottom: 10px; } .widget_testimonial .testimonial-icon { float: none; margin-bottom: 15px; } #colophon { margin-bottom: 10px; } #site-generator .social-profiles, #site-generator .copyright { float: none; width: 100%; } #site-generator .social-profiles ul { text-align: center; float: none; } #site-generator .social-profiles ul li { display: inline-block; float: none; } #site-generator .copyright { padding-top: 10px; text-align: center; } } /* All Mobile landscape size and All Mini Tablet Portrait size smaller than standard 768 and larger than 480 (devices and browsers) */ @media only screen and (min-width: 480px) and (max-width: 767px) { input.s:focus { width: 375px; } .one-column-template .wrapper, .wrapper { width: 450px; } .one-column-template .container, .container { width: 420px; } .wide-layout .wrapper { width: 100%; } #branding { margin-top: 20px; } .hgroup-wrap { padding-bottom: 30px; } .hgroup-right { margin-top: 37px; } #site-logo { margin-top: 30px; } #site-title a img { max-width: 420px; } /* Column */ .column { margin-left: -3.57%; } .one-half, .one-third, .one-fourth { margin: 0 0 0 3.44%; width: 46.56%; } .widget_service .column { margin-left: 0; } #colophon { margin-bottom: 20px; } } /* All Mobile size smaller than standard 320 (devices and browsers) */ @media only screen and (max-width: 319px) { .one-column-template .wrapper, .wrapper, .one-column-template .container, .container { width: 95%; } } /* =Retina Ready Structure ----------------------------------------------- */ /* All Retina Ready devices larger than 1.5 pixel ratio */ @media all and (-webkit-min-device-pixel-ratio: 1.5) { .back-to-top a { background-image: url("images/[email protected]"); background-size: 35px 35px; } input.s { background-image: url('images/[email protected]'); background-size: 24px 15px; } .social-profiles ul li a { background-image: none; background-size: 30px 30px; } .social-profiles ul li.facebook a { background-image: url('images/[email protected]'); background-position: 0 0; } .social-profiles ul li.facebook a:hover { background-image: url('images/[email protected]'); background-position: 0 0; } .social-profiles ul li.twitter a { background-image: url('images/[email protected]'); background-position: 0 0; } .social-profiles ul li.twitter a:hover { background-image: url('images/[email protected]'); background-position: 0 0; } .social-profiles ul li.google-plus a { background-image: url('images/[email protected]'); background-position: 0 0; } .social-profiles ul li.google-plus a:hover { background-image: url('images/[email protected]'); background-position: 0 0; } .social-profiles ul li.pinterest a { background-image: url('images/[email protected]'); background-position: 0 0; } .social-profiles ul li.pinterest a:hover { background-image: url('images/[email protected]'); background-position: 0 0; } .social-profiles ul li.linked a { background-image: url('images/[email protected]'); background-position: 0 0; } .social-profiles ul li.linked a:hover { background-image: url('images/[email protected]'); background-position: 0 0; } .social-profiles ul li.tumblr a { background-image: url('images/[email protected]'); background-position: 0 0; } .social-profiles ul li.tumblr a:hover { background-image: url('images/[email protected]'); background-position: 0 0; } .social-profiles ul li.vimeo a { background-image: url('images/[email protected]'); background-position: 0 0; } .social-profiles ul li.vimeo a:hover { background-image: url('images/[email protected]'); background-position: 0 0; } .social-profiles ul li.my-space a { background-image: url('images/[email protected]'); background-position: 0 0; } .social-profiles ul li.my-space a:hover { background-image: url('images/[email protected]'); background-position: 0 0; } .social-profiles ul li.flickr a { background-image: url('images/[email protected]'); background-position: 0 0; } .social-profiles ul li.flickr a:hover { background-image: url('images/[email protected]'); background-position: 0 0; } .social-profiles ul li.you-tube a { background-image: url('images/[email protected]'); background-position: 0 0; } .social-profiles ul li.you-tube a:hover { background-image: url('images/[email protected]'); background-position: 0 0; } .social-profiles ul li.rss a { background-image: url('images/[email protected]'); background-position: 0 0; } .social-profiles ul li.rss a:hover { background-image: url('images/[email protected]'); background-position: 0 0; } .widget_testimonial .testimonial-icon { background-image: url('images/[email protected]'); background-size: 25px 19px; } } /* Search Form */ #branding .searchform { float: right; display: none; } #branding .searchform div { } #branding #s { } #branding #s:focus { } #branding #searchsubmit { } #branding .only-search .searchform { } #branding .only-search #s { } #branding .only-search #s, #branding .only-search #s:focus { } #branding .only-search #s:focus { } #branding .with-image .searchform { } #branding .only-search + #access div { } /* =Comments -------------------------------------------------------------- */ #comments { clear: both; } #comments .navigation { padding: 0 0 18px 0; } h3#comments-title, h3#reply-title { color: #000; font-size: 20px; font-weight: bold; margin-bottom: 0; } h3#comments-title { padding: 24px 0; color: #333; } .commentlist { list-style: none; font-size: 16px; margin: 0; } .commentlist li.comment { border-bottom: 1px solid #e7e7e7; line-height: 24px; margin: 0 0 24px 0; padding: 0 0 0 0px; position: relative; } .commentlist li:last-child { border-bottom: none; margin-bottom: 0; } #comments .comment-body ul, #comments .comment-body ol { color:black; margin-bottom: 18px; } #comments .comment-body p:last-child { margin-bottom: 6px; } #comments .comment-body blockquote p:last-child { margin-bottom: 24px; } .commentlist ol { list-style: decimal; font-size: 16px; } .commentlist .avatar { position: absolute; top: 4px; left: 0; } .comment-author { } .comment-author cite { color: #000; font-style: normal; font-weight: normal; } .comment-author .says { font-style: italic; } .comment-meta { font-size: 12px; margin: 0 0 18px 0; } .comment-meta a:link, .comment-meta a:visited { color: #888; text-decoration: none; } .comment-meta a:active, .comment-meta a:hover { color: #ff4b33; } .commentlist .even { } .commentlist .bypostauthor { } .reply { font-size: 12px; padding: 0 0 24px 0; } .reply a, a.comment-edit-link { color: #888; } .reply a:hover, a.comment-edit-link:hover { color: #ff4b33; } .commentlist .children { list-style: none; margin: 0; } .commentlist .children li { border: none; margin: 0; } .nopassword, .nocomments { display: none; } #comments .pingback { border-bottom: 1px solid #e7e7e7; margin-bottom: 18px; padding-bottom: 18px; } .commentlist li.comment+li.pingback { margin-top: -6px; } #comments .pingback p { color: #888; display: block; font-size: 12px; line-height: 18px; margin: 0; } #comments .pingback .url { font-size: 16px; font-style: italic; } /* Comments form */ input[type=submit] { color: #333; } #respond { border-top: 1px solid #e7e7e7; margin: 24px 0; overflow: hidden; position: relative; } #respond p { margin: 0; } #respond .comment-notes { margin-bottom: 1em; } .form-allowed-tags { line-height: 1em; } .children #respond { margin: 0 48px 0 0; } h3#reply-title { margin: 18px 0; } #comments-list #respond { margin: 0 0 18px 0; } #comments-list ul #respond { margin: 0; } #cancel-comment-reply-link { font-size: 12px; font-weight: normal; line-height: 18px; } #respond .required { color: #ff4b33; font-size: 18px; font-weight: bold; } #respond label { color: #888; font-size: 18px; } #respond input { margin: 0 0 9px; width: 98%; } #respond textarea { width: 98%; } #respond .form-allowed-tags { color: #888; font-size: 12px; line-height: 18px; } #respond .form-allowed-tags code { font-size: 11px; } #respond .form-submit { margin: 12px 0; } #respond .form-submit input { font-size: 16px; color: white; width: auto; }
Thank you for your post brent-clintel, but that is not the case. The calendar ought to be public and for everyone to see, even if there are no future events to display. And before you ask, creating future events does not help (D’oh!).
Would you have any other ideas or recommendations that I could try?
Forum: Plugins
In reply to: [The Events Calendar] No calendar at all after 3.5.1 updateThank you Brook for the links. I couldn’t find anything specific that might cause this in the changelog and reverting back to 3.5.0 didn’t help either. At this point I’m quite puzzled as I did not happen to update any other plugins or themes when this issue started.
However, I’ll ask about this on the theme author’s own support forum. If they’d have any ideas that could cause this issue.
Forum: Plugins
In reply to: [The Events Calendar] No calendar at all after 3.5.1 updateHi Brook,
Thank you for your response and instructions. It seems the culprit is between the Attitude -theme and the TEC plugin. Disabling all the other plugins had no affect and with the default 2013 theme the calendar works fine. I assume the error you mentioned is the same as below?
I’m using a separate child-theme to avoid alterations to the main theme, but as the calendar doesn’t function with the original Attitude -theme either, there must be some conflict between the updated plugin and the Attitude -theme.
Uncaught TypeError: Cannot read property 'slice' of undefined tribe-events-ajax-calendar.min.js?ver=3.6:7 (anonymous function) tribe-events-ajax-calendar.min.js?ver=3.6:7 j jquery.js?ver=1.11.0:2 k.fireWith jquery.js?ver=1.11.0:2 n.extend.ready jquery.js?ver=1.11.0:2 K jquery.js?ver=1.11.0:2
I reverted the Attitude -theme back to 1.2.6 (latest 1.2.7), which I had updated around a week ago. Still, the same issue persists. I even tried reverting all the way back to the version 1.2 – no luck. I also updated TEC to the latest 3.6.
Would you happen to know what changes/fixes in 3.5.1 could cause an error like this with this theme? The theme has been functioning fine and the issues only began once the plugin was updated to 3.5.1. Alternatively, is it possible to download the 3.5.0 from somewhere for temporary use until the issue is fixed?
-IcyAero
Forum: Plugins
In reply to: [The Events Calendar] Lost my calendarHow did it disappear, exactly? I’m asking because the same happened to me. But with my case, the calendar itself didn’t disappear but all the graphics of it. Like so: https://lopenmetsastysyhdistys.com/tapahtumat/