WordPress.org

Forums

Attitude
Uncaught TypeError: Cannot read property 'slice' of undefined (6 posts)

  1. IcyAero
    Member
    Posted 11 months ago #

    I'm facing a rather odd issue here and I'm all out of options what to do in order to solve it.

    I have a plugin called The Events Calendar. Everything has been working fine for weeks - no issues whatsoever. I have a child-theme of the Attitude, where I make all my own changes to the theme. Recently, when I updated the theme and made some other changes to the child-theme functions.php and style.css, I began to get a JS error on the calendar plugin.

    I've tried reverting all the files I had modified to original, re-installing the plugin and clearing the caches, reverting back 1-2 versions on both the theme and the plugin but nothing seems to help. The same error persists even when switching from the child-theme to the original Attitude -theme. But as said above, the error only appears on the calendar. Below you can find a link to the page in question and see that when the error is appearing, the entire calendar is rather "messed up".

    http://lopenmetsastysyhdistys.com/tapahtumat/

    I have already been in contact with the plugin author and tried several different versions of the plugin, but no help. There seems to be something else wrong with the theme, as the issue only persists with the Attitude -theme, on default WordPress themes there are no errors or problems.

    Any suggestions?
    Thanks in advance!

  2. brent-clintel
    Member
    Posted 11 months ago #

    I'm experiencing the same issue.

    It occurred when I upgraded to to Pro.

    Error Uncaught TypeError: Cannot read property 'slice' of undefined (anonymous function) - tribe-events-ajax-calendar.min.js?ver=3.6.1:7

    Not sure how to fix this yet.

  3. brent-clintel
    Member
    Posted 11 months ago #

    Hi IcyAero,

    I'm guessing that the modifications you have made hide the calendar if there are no calendar events to display?

    If that's the case, try dequeue the scripts related to The Events Calendar.

    I used the following code to hide the calendar from users that were not logged in and to display a different page instead that directs them to login. Hopefully you can modify it for your own needs.

    functions.php:

    //
    // Hide events from logged out users
    //
    
    add_filter('template_include', 'hide_events_for_logged_out_users', 99);
    
    // logic to hide event/calendar
    function hide_events_for_logged_out_users($template ) {
      if (tribe_is_event_query() && (!is_user_logged_in() || !current_user_can('read_tribe_event'))) {
        dequeue_tec_scripts();
        return restricted_access_template();
      }
    
      return $template;
    }
    
    // prevent events scripts from loading
    function dequeue_tec_scripts() {
      wp_dequeue_script('tribe-events-calendar');
      wp_dequeue_script('tribe-events-calendar-script');
      wp_dequeue_script('tribe-events-bootstrap-datepicker');
      wp_dequeue_script('tribe-events-admin');
      wp_dequeue_script('tribe-events-settings');
      wp_dequeue_script('tribe-events-ecp-plugins');
      wp_dequeue_script('tribe-events-bar');
      wp_dequeue_script('tribe-events-calendar');
      wp_dequeue_script('tribe-events-list');
      wp_dequeue_script('tribe-events-ajax-day');
      wp_dequeue_script('tribe-mini-calendar');
      wp_dequeue_script('tribe-events-pro-slimscroll');
      wp_dequeue_script('tribe-events-pro-week');
      wp_dequeue_script('tribe-events-pro-isotope');
      wp_dequeue_script('tribe-events-pro-photo');
      wp_dequeue_script('tribe-events-pro-geoloc');
      wp_dequeue_script('tribe-meta-box');
      wp_dequeue_script('tribe-jquery-ui');
      wp_dequeue_script('tribe-jquery-ui');
      wp_dequeue_script('tribe-timepicker');
      wp_dequeue_script('tribe-fac');
      wp_dequeue_script('tribe-events-pro');
    }
    
    // display the restricted_access.php template (or 404 page if template not found)
    function restricted_access_template() {
      $template = locate_template(array('restricted_access.php'));
      if ($template != '') {
        return $template;
      }
      else {
        global $wp_query;
        $wp_query->set_404();
        status_header(404);
        return get_template_part(404);
      }
    }
  4. IcyAero
    Member
    Posted 11 months ago #

    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?

  5. brent-clintel
    Member
    Posted 11 months ago #

    The thing is that for some reason or another you are getting the same js error as I was. My assumption was that some of the DOM elements of the calendar were not being displayed that are required by the plugin's js scripts. At least that's the assumption I made with my own issue and why I dequeued some of the scripts.

    What changes did you make to the css and functions.php?

  6. IcyAero
    Member
    Posted 11 months ago #

    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:    http://example.com/twenty-fourteen-child/
     Description:  Child Theme
     Author:       IcyAero
     Author URI:   http://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/back-to-top@2x.png");
    		background-size: 35px 35px;
    	}
    	input.s {
    		background-image: url('images/search@2x.png');
    		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/facebook@2x.png');
    		background-position: 0 0;
    	}
    	.social-profiles ul li.facebook a:hover {
    		background-image: url('images/facebook@2x-hover.png');
    		background-position: 0 0;
    	}
    	.social-profiles ul li.twitter a {
    		background-image: url('images/twitter@2x.png');
    		background-position: 0 0;
    	}
    	.social-profiles ul li.twitter a:hover {
    		background-image: url('images/twitter@2x-hover.png');
    		background-position: 0 0;
    	}
    	.social-profiles ul li.google-plus a {
    		background-image: url('images/google-plus@2x.png');
    		background-position: 0 0;
    	}
    	.social-profiles ul li.google-plus a:hover {
    		background-image: url('images/google-plus@2x-hover.png');
    		background-position: 0 0;
    	}
    	.social-profiles ul li.pinterest a {
    		background-image: url('images/pinterest@2x.png');
    		background-position: 0 0;
    	}
    	.social-profiles ul li.pinterest a:hover {
    		background-image: url('images/pinterest@2x-hover.png');
    		background-position: 0 0;
    	}
    	.social-profiles ul li.linked a {
    		background-image: url('images/linked@2x.png');
    		background-position: 0 0;
    	}
    	.social-profiles ul li.linked a:hover {
    		background-image: url('images/linked@2x-hover.png');
    		background-position: 0 0;
    	}
    	.social-profiles ul li.tumblr a {
    		background-image: url('images/tumblr@2x.png');
    		background-position: 0 0;
    	}
    	.social-profiles ul li.tumblr a:hover {
    		background-image: url('images/tumblr@2x-hover.png');
    		background-position: 0 0;
    	}
    	.social-profiles ul li.vimeo a {
    		background-image: url('images/vimeo@2x.png');
    		background-position: 0 0;
    	}
    	.social-profiles ul li.vimeo a:hover {
    		background-image: url('images/vimeo@2x-hover.png');
    		background-position: 0 0;
    	}
    	.social-profiles ul li.my-space a {
    		background-image: url('images/my-space@2x.png');
    		background-position: 0 0;
    	}
    	.social-profiles ul li.my-space a:hover {
    		background-image: url('images/my-space@2x-hover.png');
    		background-position: 0 0;
    	}
    	.social-profiles ul li.flickr a {
    		background-image: url('images/flickr@2x.png');
    		background-position: 0 0;
    	}
    	.social-profiles ul li.flickr a:hover {
    		background-image: url('images/flickr@2x-hover.png');
    		background-position: 0 0;
    	}
    	.social-profiles ul li.you-tube a {
    		background-image: url('images/you-tube@2x.png');
    		background-position: 0 0;
    	}
    	.social-profiles ul li.you-tube a:hover {
    		background-image: url('images/you-tube@2x-hover.png');
    		background-position: 0 0;
    	}
    	.social-profiles ul li.rss a {
    		background-image: url('images/rss@2x.png');
    		background-position: 0 0;
    	}
    	.social-profiles ul li.rss a:hover {
    		background-image: url('images/rss@2x-hover.png');
    		background-position: 0 0;
    	}
    	.widget_testimonial .testimonial-icon {
    		background-image: url('images/testimonial-icon@2x.png');
    		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;
    }

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.