No search results were found in Documentation!
Hi,
I’m not sure I understand! Do you want to show Big Slider only on desktop and hide it on others screen views?
If you want that please use this custom css in Theme Panel > Custom Css to hide it:
@media(max-width:1200px){
.iosSlider.td_block_big_grid{
display: none;
}
}
Result: http://screencast.com/t/re7fm4QQxd8 – http://screencast.com/t/2Aqsy9lE
If this is not your issue please provide more details.
Thanks!
Hi,
1. You can try this solution Radu’ solution: https://forum.tagdiv.com/topic/show-category-name-in-homepage/
Result: http://screencast.com/t/a0GqS8sFnbxp
2. Images from slider are reduced, so the height is auto and depends of the screen width. You can try to force the image height with css code like this: http://screencast.com/t/pJueoNra
.iosSlider-col-3, .iosSlider-col-3 .item {
height: 433px !important;
}
.iosSlider .entry-thumb {
height: 100%;
}
If you want to use the code please add it in Theme Panel > Custom Css: http://screencast.com/t/La4VYroQrYJN
Thanks!
I’ve deleted from style.css, but still having code on the page:
<!– Style compiled by theme –>
<style>
.block-title a,
.block-title span,
.td-tags a:hover,
.td-scroll-up-visible,
.td-scroll-up,
.sf-menu ul .current-menu-item > a,
.sf-menu ul a:hover,
.sf-menu ul .sfHover > a,
.sf-menu ul .td-menu-item > a:hover,
.td-rating-bar-wrap div,
.iosSlider .slide-meta-cat,
.sf-menu ul .current-menu-ancestor > a,
.sf-menu ul .current-category-ancestor > a,
.td-404-sub-sub-title a,
.widget_tag_cloud .tagcloud a:hover,
.td-mobile-close a,
ul.td-category a,
.td_social .td_social_type .td_social_button a,
.dropcap,
.td-forum-category-title .td-forum-category-name,
.td_display_err,
.td_block_mega_menu .td-ajax-next-page:hover,
.td_block_mega_menu .td_ajax-prev-page:hover,
.post-via span,
.td_wrapper_video_playlist
.td_video_controls_playlist_wrapper
{
background-color: #6e61b0;
}
.block-title,
.sf-menu li a:hover,
.sf-menu .sfHover a,
.sf-menu .current-menu-ancestor a,
.sf-menu .current-category-ancestor a,
.header-search-wrap
.dropdown-menu,
.sf-menu > .current-menu-item > a,
.ui-tabs-nav,
.woocommerce .product .woocommerce-tabs ul.tabs,
.td-forum-list-head,
.td-login-panel-title
{
border-color: #6e61b0;
}
.widget_price_filter .ui-slider-handle,
.td_wrapper_video_playlist .td_video_currently_playing:after
{
border-color: #6e61b0 !important;
}
.author-box-wrap .td-author-name a,
blockquote p,
.page-nav a:hover,
.widget_pages .current_page_item a,
.widget_calendar td a,
.widget_categories .current-cat > a,
.widget_pages .current_page_parent > a,
.td_pull_quote p,
.page-nav-post a:hover span,
.td-forum-last-comment-content .td-forum-last-author,
.td-topics-title-details a,
.td-posted-in a
{
color: #6e61b0;
}
.woocommerce .button,
.woocommerce .form-submit #submit,
.widget_price_filter .ui-slider-handle,
.jetpack_subscription_widget input[type=”submit”],
.pp_woocommerce .pp_close,
.pp_woocommerce .pp_expand,
.pp_woocommerce .pp_contract,
.pp_woocommerce .pp_arrow_previous,
.pp_woocommerce .pp_arrow_next,
.pp_woocommerce
.pp_next:before,
.pp_woocommerce .pp_previous:before,
#bbpress-forums .button
{
background: #6e61b0 !important;
}
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.bbp-template-notice,
.td-reply-list-header
{
border-color: #6e61b0 !important;
}
.woocommerce .woocommerce-message:before,
.woocommerce .woocommerce-info:before,
.td-login-button
{
background-color: #6e61b0 !important;
}
.buddypress #buddypress div.dir-search input[type=”submit”],
.buddypress #buddypress .message-search input[type=”submit”],
.buddypress #buddypress .item-list-tabs ul li.selected a,
.buddypress #buddypress .generic-button a,
.buddypress #buddypress .submit input[type=”submit”],
.buddypress #buddypress .ac-reply-content input[type=”submit”],
.buddypress #buddypress .standard-form input[type=”submit”],
.buddypress #buddypress .standard-form .button-nav .current a,
.buddypress #buddypress .standard-form .button,
.buddypress #buddypress input[type=”submit”],
.buddypress #buddypress a.accept,
.buddypress #buddypress #activate-page .standard-form input[type=”submit”],
.buddypress #buddypress .standard-form #group-create-body input[type=”button”],
.post-password-required input[type=”submit”]
{
background: #6e61b0 !important;
}
.buddypress #buddypress .groups .item-meta,
.bbp-forum-title:hover,
.td_login_tab_focus,
.block-mega-child-cats a.cur-sub-cat
{
color: #6e61b0 !important;
}
.page-nav .current,
.page-nav-post span
{
background-color: #6e61b0;
border-color: #6e61b0;
}
.wpb_btn-inverse,
.ui-tabs-nav .ui-tabs-active a,
.post .wpb_btn-danger,
.form-submit input,
.wpcf7-submit,
.wpb_default,
.woocommerce .product .woocommerce-tabs ul.tabs li.active,
.woocommerce.widget_product_search input[type=”submit”],
.more-link-wrap,
.td_read_more {
background-color: #6e61b0 !important;
}
.header-search-wrap .dropdown-menu:before {
border-color: transparent transparent #6e61b0;
}
.td-mobile-content .current-menu-item > a,
.td-mobile-content a:hover
{
color: #6e61b0 !important;
}
.category .entry-content,
.tag .entry-content,
.td_quote_box
{
border-color: #6e61b0;
}
.td-timeline-block-title {
background-color: #6e61b0 !important;
}
.td-timeline-wrapper-links {
border-color: #6e61b0 !important;
}
.td-timline-h1-link span {
background-color: #6e61b0 !important;
}
.td-page-title .td-search-query {
color: #6e61b0;
}
.td-sbig-title-wrap .td-sbig-title,
.td-slide-item-sec .td-sbig-title-wrap,
.td-big-grid-title .td-sbig-title-wrap
{
background-color: rgba(110, 97, 176, 0.7);
}
::-moz-selection {
background: #a093e2;
color: #fff;
}
::selection {
background: #a093e2;
color: #fff;
}
a, .widget_recent_comments .recentcomments .url {
color: #6e61b0;
}
.cur-sub-cat {
color:#6e61b0 !important;
}
.blog-stack .sf-menu .current-menu-item a,
.blog-stack .sf-menu .current-menu-parent .current-menu-item a,
.blog-stack .sf-menu .current-menu-parent > a,
.blog-stack .sf-menu > li:hover > a,
.blog-stack .sf-menu ul li:hover > a,
.blog-stack .td-post-text-content .more-link-wrap:hover a,
.blog-stack .sf-menu ul .td_mega_menu_sub_cats a.cur-sub-cat,
.blog-stack .sf-menu ul .td_mega_menu_sub_cats a.cur-sub-cat:hover,
.blog-stack .td-mega-menu .block-mega-child-cats a:hover,
.blog-stack .td_mod_mega_menu:hover .item-details a,
.blog-stack .sf-menu .current-menu-ancestor > a,
.blog-stack .sf-menu .current-category-ancestor > a
{
color:#6e61b0;
}
.blog-stack .sf-menu > .current-menu-ancestor > a,
.blog-stack .sf-menu > .current-category-ancestor > a
{
color:#6e61b0 !important;
}
.blog-stack .sf-menu ul li {
background-color: #6e61b0;
}
.blog-stack .td-post-text-content .more-link-wrap a:hover {
outline-color: #6e61b0;
}
a:hover,
.widget_recent_comments .recentcomments .url:hover
{
color: #ed4fef;
}
.td-menu-header .td-sp,
.sf-sub-indicator{
background-image: url(‘http://cdn.rnbjunk.com/wp-content/themes/Newspaper/images/header/elements-menu.png’);
}
@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (-moz-min-device-pixel-ratio: 2),
only screen and (min-device-pixel-ratio: 2) {
.td-menu-header .td-sp, .sf-sub-indicator{
background-image: url(‘http://cdn.rnbjunk.com/wp-content/themes/Newspaper/images/header/elements-menu@2x.png’);
}
}
</style>
Hi Emil, when i load source of my site, i see a lot of codes coming from newspaper theme that actually i don’t use, and that are heaving codes on every page: view-source:http://www.rnbjunk.com/
<!– Style compiled by theme –>
<style>
.block-title a,
.block-title span,
.td-tags a:hover,
.td-scroll-up-visible,
.td-scroll-up,
.sf-menu ul .current-menu-item > a,
.sf-menu ul a:hover,
.sf-menu ul .sfHover > a,
.sf-menu ul .td-menu-item > a:hover,
.td-rating-bar-wrap div,
.iosSlider .slide-meta-cat,
.sf-menu ul .current-menu-ancestor > a,
.sf-menu ul .current-category-ancestor > a,
.td-404-sub-sub-title a,
.widget_tag_cloud .tagcloud a:hover,
.td-mobile-close a,
ul.td-category a,
.td_social .td_social_type .td_social_button a,
.dropcap,
.td-forum-category-title .td-forum-category-name,
.td_display_err,
.td_block_mega_menu .td-ajax-next-page:hover,
.td_block_mega_menu .td_ajax-prev-page:hover,
.post-via span,
.td_wrapper_video_playlist
.td_video_controls_playlist_wrapper
{
background-color: #6e61b0;
}
.block-title,
.sf-menu li a:hover,
.sf-menu .sfHover a,
.sf-menu .current-menu-ancestor a,
.sf-menu .current-category-ancestor a,
.header-search-wrap
.dropdown-menu,
.sf-menu > .current-menu-item > a,
.ui-tabs-nav,
.woocommerce .product .woocommerce-tabs ul.tabs,
.td-forum-list-head,
.td-login-panel-title
{
border-color: #6e61b0;
}
.widget_price_filter .ui-slider-handle,
.td_wrapper_video_playlist .td_video_currently_playing:after
{
border-color: #6e61b0 !important;
}
.author-box-wrap .td-author-name a,
blockquote p,
.page-nav a:hover,
.widget_pages .current_page_item a,
.widget_calendar td a,
.widget_categories .current-cat > a,
.widget_pages .current_page_parent > a,
.td_pull_quote p,
.page-nav-post a:hover span,
.td-forum-last-comment-content .td-forum-last-author,
.td-topics-title-details a,
.td-posted-in a
{
color: #6e61b0;
}
.woocommerce .button,
.woocommerce .form-submit #submit,
.widget_price_filter .ui-slider-handle,
.jetpack_subscription_widget input[type=”submit”],
.pp_woocommerce .pp_close,
.pp_woocommerce .pp_expand,
.pp_woocommerce .pp_contract,
.pp_woocommerce .pp_arrow_previous,
.pp_woocommerce .pp_arrow_next,
.pp_woocommerce
.pp_next:before,
.pp_woocommerce .pp_previous:before,
#bbpress-forums .button
{
background: #6e61b0 !important;
}
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.bbp-template-notice,
.td-reply-list-header
{
border-color: #6e61b0 !important;
}
.woocommerce .woocommerce-message:before,
.woocommerce .woocommerce-info:before,
.td-login-button
{
background-color: #6e61b0 !important;
}
.buddypress #buddypress div.dir-search input[type=”submit”],
.buddypress #buddypress .message-search input[type=”submit”],
.buddypress #buddypress .item-list-tabs ul li.selected a,
.buddypress #buddypress .generic-button a,
.buddypress #buddypress .submit input[type=”submit”],
.buddypress #buddypress .ac-reply-content input[type=”submit”],
.buddypress #buddypress .standard-form input[type=”submit”],
.buddypress #buddypress .standard-form .button-nav .current a,
.buddypress #buddypress .standard-form .button,
.buddypress #buddypress input[type=”submit”],
.buddypress #buddypress a.accept,
.buddypress #buddypress #activate-page .standard-form input[type=”submit”],
.buddypress #buddypress .standard-form #group-create-body input[type=”button”],
.post-password-required input[type=”submit”]
{
background: #6e61b0 !important;
}
.buddypress #buddypress .groups .item-meta,
.bbp-forum-title:hover,
.td_login_tab_focus,
.block-mega-child-cats a.cur-sub-cat
{
color: #6e61b0 !important;
}
.page-nav .current,
.page-nav-post span
{
background-color: #6e61b0;
border-color: #6e61b0;
}
.wpb_btn-inverse,
.ui-tabs-nav .ui-tabs-active a,
.post .wpb_btn-danger,
.form-submit input,
.wpcf7-submit,
.wpb_default,
.woocommerce .product .woocommerce-tabs ul.tabs li.active,
.woocommerce.widget_product_search input[type=”submit”],
.more-link-wrap,
.td_read_more {
background-color: #6e61b0 !important;
}
.header-search-wrap .dropdown-menu:before {
border-color: transparent transparent #6e61b0;
}
.td-mobile-content .current-menu-item > a,
.td-mobile-content a:hover
{
color: #6e61b0 !important;
}
.category .entry-content,
.tag .entry-content,
.td_quote_box
{
border-color: #6e61b0;
}
.td-timeline-block-title {
background-color: #6e61b0 !important;
}
.td-timeline-wrapper-links {
border-color: #6e61b0 !important;
}
.td-timline-h1-link span {
background-color: #6e61b0 !important;
}
.td-page-title .td-search-query {
color: #6e61b0;
}
.td-sbig-title-wrap .td-sbig-title,
.td-slide-item-sec .td-sbig-title-wrap,
.td-big-grid-title .td-sbig-title-wrap
{
background-color: rgba(110, 97, 176, 0.7);
}
::-moz-selection {
background: #a093e2;
color: #fff;
}
::selection {
background: #a093e2;
color: #fff;
}
a, .widget_recent_comments .recentcomments .url {
color: #6e61b0;
}
.cur-sub-cat {
color:#6e61b0 !important;
}
.blog-stack .sf-menu .current-menu-item a,
.blog-stack .sf-menu .current-menu-parent .current-menu-item a,
.blog-stack .sf-menu .current-menu-parent > a,
.blog-stack .sf-menu > li:hover > a,
.blog-stack .sf-menu ul li:hover > a,
.blog-stack .td-post-text-content .more-link-wrap:hover a,
.blog-stack .sf-menu ul .td_mega_menu_sub_cats a.cur-sub-cat,
.blog-stack .sf-menu ul .td_mega_menu_sub_cats a.cur-sub-cat:hover,
.blog-stack .td-mega-menu .block-mega-child-cats a:hover,
.blog-stack .td_mod_mega_menu:hover .item-details a,
.blog-stack .sf-menu .current-menu-ancestor > a,
.blog-stack .sf-menu .current-category-ancestor > a
{
color:#6e61b0;
}
.blog-stack .sf-menu > .current-menu-ancestor > a,
.blog-stack .sf-menu > .current-category-ancestor > a
{
color:#6e61b0 !important;
}
.blog-stack .sf-menu ul li {
background-color: #6e61b0;
}
.blog-stack .td-post-text-content .more-link-wrap a:hover {
outline-color: #6e61b0;
}
a:hover,
.widget_recent_comments .recentcomments .url:hover
{
color: #ed4fef;
}
.td-menu-header .td-sp,
.sf-sub-indicator{
background-image: url(‘http://cdn.rnbjunk.com/wp-content/themes/Newspaper/images/header/elements-menu.png’);
}
@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (-moz-min-device-pixel-ratio: 2),
only screen and (min-device-pixel-ratio: 2) {
.td-menu-header .td-sp, .sf-sub-indicator{
background-image: url(‘http://cdn.rnbjunk.com/wp-content/themes/Newspaper/images/header/elements-menu@2x.png’);
}
}
</style>
<!– JS generated by theme –>
<script>
var td_blocks = []; //here we store all the items for the current page
//td_block class – each ajax block uses a object of this class for requests
function td_block() {
this.id = ”;
this.block_type = 1; //block type id (1-234 etc)
this.atts = ”;
this.td_cur_cat = ”;
this.td_column_number = ”;
this.td_current_page = 1; //
this.post_count = 0; //from wp
this.found_posts = 0; //from wp
this.max_num_pages = 0; //from wp
this.is_ajax_running = false;
this.header_color = ”;
this.ajax_pagination_infinite_stop = ”; //show load more at page x
}
var td_ad_background_click_link=””;
var td_ad_background_click_target=””;
var td_ajax_url=”http://www.rnbjunk.com/wp-admin/admin-ajax.php”;
var td_get_template_directory_uri=”http://www.rnbjunk.com/wp-content/themes/Newspaper”;
var tds_snap_menu=”snap”;
var tds_header_style=””;
var tds_mobile_swipe=””;
var td_search_url=”http://www.rnbjunk.com/search/”;
var td_please_wait=”Please wait…”;
var td_email_user_pass_incorrect=”User or password incorrect!”;
var td_email_user_incorrect=”Email or username incorrect!”;
var td_email_incorrect=”Email incorrect!”;
var tds_more_articles_on_post_enable=””;
var tds_more_articles_on_post_time_to_wait=””;
var tds_more_articles_on_post_pages_distance_from_top=”0″;
var tds_theme_color_site_wide=”#6e61b0″;
</script>
Woocommerce, Buddypress, are some example and stuff like that. I cannot disable them from the theme panel, i need to know how can i customize the theme so use only the things that are really important for my site, without codes of stuff that are not working on it.
Do you have a guideline to have a lighter version of the theme, in order to load only the essentials?
Fabian
Hi,
We know about this issue and we will try to fix it.
The slider is designed by javascript and it is difficult to find a css solution for this. You can try this custom css that remove the border, but you will see a part of next image on slider: http://screencast.com/t/g53nxrPPRgX
.td-pb-row [class*="td-pb-span"]{
border-left:0px !important;
}
.td_module_wrap.td_module_slide.td-image-gradient{
width: 1021px!important;
}
.td-theme-slider.iosSlider-col-3.td_mod_wrap{
width:1021px!important;
}
.td_block_slide{
z-index: 1;
}
Hope this helps!
Hey
I am getting an error in my console log and for the love of me I can not figure it out. The error is for Uncaught SyntaxError: Unexpected String in the site.js file. My site is wagbrag.com. I am using cloudflare for caching and it hard to tell exactly where the error is but I believe it could be between line 1379 and 1417 in the site.js file. I beleive this error is causing issues with my Revolution slider.
Not sure if its related but I am also getting Uncaught ReferenceError: SlideContentComplete is not defined. See the scrip below.
<script>
jQuery(document).ready(function() {
jQuery("#td_uid_3_54dc151b8ce87").iosSlider({
snapToChildren: true,
desktopClickDrag: true,
responsiveSlides: true,
keyboardControls: false,
infiniteSlider: true,
navPrevSelector: jQuery("#td_uid_3_54dc151b8ce87 .prevButton"),
navNextSelector: jQuery("#td_uid_3_54dc151b8ce87 .nextButton"),
onSliderResize: td_normal_slide_resize_update_vars_td_uid_3_54dc151b8ce87,
onSlideComplete: slideContentComplete,
onSlideStart: slideStartedMoving
});
/*
* Resize the iosSlider when the page is resided (fixes bug on Android devices)
*/
function td_normal_slide_resize_update_vars_td_uid_3_54dc151b8ce87(args) {
if(td_detect.is_android) {
setTimeout(function(){
jQuery("#td_uid_3_54dc151b8ce87").iosSlider("update");
}, 1000);
}
}
});
</script>
Any help would be greately appreciated.
Hi,
Please use this custom css in Theme Panel > Custom Css:
@media (max-width: 767px){
.iosSlider-col-3{
display: none;
}
}
Thanks!
HI, folks
I thought I’d put this in ONE place (it’s buried in the pagespeed sticky topic on the newspaper forum, but a lot to shovel through there).
This is some of the custom code I put at bottom of my functions.php file EVERY time the theme is updated, and for ALL our websites, regardless of theme (with some new code for Visual Composer in this iteration).
Basically this code helps with various things – some of which are needlessly often done in plugins and don’t need to be – including things for PageSpeed rating, and general optimizations such as default image compression level for thumbnails, etc.
Use if you wish; but please *do not* go post this in a blog article as if it’s your idea or I’ll come and punch you 🙂
*NOTE:
this also includes code you might not need
a) remove visual composer CSS from post pages
b) remove pingback URL
c) change default WP thumb compression from 90 to 50 (some like 60)
d) remove yoast admin bar (annoying)
e) add go away message for people trying to login guessing passwords; great to use with limit login attempts
f) delete enclosure in RSS feed
g) disallow some things in comments for security
AND MY MAGIC BUNNY CODE:
/*CHRISTOPHER's CUSTOM MODS - 1.10.15 rev15A - (c) 2010-2015 Chris Simmons */
remove_action( 'wp_head', 'wp_generator' ) ;
remove_action( 'wp_head', 'wlwmanifest_link' ) ;
remove_action( 'wp_head', 'rsd_link' ) ;
remove_action( 'wp_head', 'feed_links', 2 );
remove_action( 'wp_head', 'feed_links_extra', 3 );
add_filter( 'pre_comment_content', 'wp_specialchars' );
function no_errors_please(){
return 'You appear to be up to no good. Please stop now!';
}
add_filter( 'login_errors', 'no_errors_please' );
/* Disable YOAST SEO Admin Bar. */
function mytheme_admin_bar_render() {
global $wp_admin_bar;
$wp_admin_bar->remove_menu('wpseo-menu');
}
// and we hook our function via
add_action( 'wp_before_admin_bar_render', 'mytheme_admin_bar_render' );
function delete_enclosure(){
return '';
}
add_filter( 'get_enclosed', 'delete_enclosure' );
add_filter( 'rss_enclosure', 'delete_enclosure' );
add_filter( 'atom_enclosure', 'delete_enclosure' );
function remove_cssjs_ver( $src ) {
if( strpos( $src, '?ver=' ) )
$src = remove_query_arg( 'ver', $src );
return $src;
}
add_filter( 'style_loader_src', 'remove_cssjs_ver', 10, 2 );
add_filter( 'script_loader_src', 'remove_cssjs_ver', 10, 2 );
add_filter( 'jpeg_quality', create_function( '', 'return 50;' ) );
function remove_pingback_url( $output, $show ) {
if ( $show == 'pingback_url' ) $output = '';
return $output;
}
add_filter( 'bloginfo_url', 'remove_pingback_url', 10, 2 );
add_action('init', 'myoverride', 100);
function myoverride() {
remove_action('wp_head', array(visual_composer(), 'addMetaData'));
}
function dequeue_visual_composer_css() {
if (is_single()) {
wp_dequeue_style('js_composer_front');
}
}
add_action('wp_enqueue_scripts', 'dequeue_visual_composer_css', 1003);
Note:
last item removes Visual Composer CSS from “post” pages (single). You would not use that if you use VC for anything on posts, obviously.
Hi,
Try this css and adjust the height as you like it: http://screencast.com/t/rtKBYgS5uq
.iosSlider-col-1, .iosSlider-col-1 .item {
height: 191px !important
}
Thanks
Hi,
For the sidebar slider use this css: http://screencast.com/t/vG8bb73jS
Adjust it as you like.
.td_normal_slide .iosSlider-col-1 .td-sbig-title {
font-size: 15px;
line-height: 15px;
}
Thanks
Hi,
1. For 2 columns slider you can doit using custom css:
.td_normal_slide .iosSlider-col-2 .td-sbig-title {
font-size: 20px;
line-height: 22px;
}
Result – http://screencast.com/t/BMsGEcTWQaLM
2. The 1 col slider height it’s harder to change, it requires modifications on the css and the thumb used – http://screencast.com/t/8gQPIBTuwur8
You could use the browser inspector to check for the current css and modify it, if you don’t know how to doit i suggest that you hire a professional developer to modify it for you.
Thank you, Emil G.
Hmm- smartlists won’t be a widget and while your first idea might work, might be too much hassle to do every week. I hope someone has a simpler suggestion 🙂
Ok Great! Yes I believe I have the latest version of the theme.
The strange thing is that even if I disable Total Cache, the 7 day post sorting in the sidebar module is not updating. it’s very strange, since it used to work flawlessly, when I first installed the theme.
Thank you
Thanks Chris S, thanks Lucian
1. For Adsense, is pasted but the ad is not displayed on the header, right of the logo. http://www.infosen.net (can’t even see the source code from the browser)
I have the same problem with sidebar ad. see the title on the sidebar Pub G it’s an adsense test. I got white space.
i have a correct adsense account, my ads are well displayed here http://www.senclip.net
2. for iframe, no problem with youtube code for example.
but this
<iframe id=”cilStreamFrame-0c51086034″ class=”cilIframe” src=”http://www.coveritlive.com/embed/stream.v2.html?linkTo=http%3A%2F%2Fwwwssl.coveritlive.com%2Fembed.html%3FaltcastCode%3D0c51086034%26srcdom%3Dwww.coveritlive.com%26srcdomsec%3Dwwwssl.coveritlive.com%26height%3D750%26entryLoc%3Dtop%26commentLoc%3Dtop%26titlePage%3Doff%26replayContentOrder%3Dreverse%26embedType%3Dstream%26titleImage%3D&ac=0c51086034&height=750″ height=”750px” width=”520px” frameborder=”0″></iframe>
din’t work on http://www.infosen.net/?p=165
(but i love this template !)
thanks
I also changed mine to 250×250 size, after that I created this rule in my child-theme style.css
Add this to your child-theme style.css and change the px size to suite your purpose.
.td-theme-slider.iosSlider-col-1 .td_module_slide {
height: 250px;
}
.td-theme-slider.iosSlider-col-1.td_mod_wrap {
height: 250px;
Hello 🙂
Here is the run down of what I am trying to do:
For my adsense ads I use an adserver (BuySellAds Pro) so that I can split test different colors easy do geos and rotate in house ads or direct buys when I want to (lots of reasons why a person may want to do this).
So with that being said. They have an responsive ad code option for the ad zone I use and right now I am just running an adsense responsive code inside it. But something strange seems to be happening when I paste the code in the ad panel and tell it i want 728×90 on desktop it only displays smaller than 728×90 ads:
http://staging.myfirstclasslife.com/5-vacheron-constantin-tour-de-ille-1-54-million/
But when I paste the adsense code in directly its not an issue it loads the right size everytime.. Any Idea why this may be or what to do? Thanks 🙂
Hi,
Here you can find the height of Slider: http://screencast.com/t/kGSubsdm
After you change the height, you have to regenerate thumbnails: https://forum.tagdiv.com/how-to-fix-strange-thumbnails/
Now you have some changes to do via custom css: http://screencast.com/t/N89BSwYTzy
.td-theme-slider.iosSlider-col-3.td_mod_wrap{
height: 640px !important;
}
.td-theme-slider.iosSlider-col-3 .td_module_slide {
height: 640px;
}
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
-
This reply was modified 11 years by
Alin [tagDiv].
Hi,
Please add your code in Theme Panel > Ads > Custom ad like this: http://screencast.com/t/Qg2O2uBdtdu
After that you can use do_shortcode function to place it in template:
-in loop-single.php add <?php echo do_shortcode('[td_ad_box spot_id="custom_ad_2"]'); ?> before related posts like this: http://screencast.com/t/1IhB9MmYQlX
-in single.php add echo do_shortcode('[td_ad_box spot_id="custom_ad_1"]'); after comments like this: http://screencast.com/t/nSsLlE92gYQ
Result: http://screencast.com/t/JqIpqZ5r
I don’t know why, but your code is loaded only once.
Hope this helps!
-
This reply was modified 11 years by
Alin [tagDiv].
-
This reply was modified 11 years by
Alin [tagDiv].
-
This reply was modified 11 years by
Alin [tagDiv].
My host wrote me the problem so i will copy past it here, please help me out:
root@host [/home2]# mysqladmin proc
+——-+—————+———–+————–+—————-+——+———————-+——————————————————————————————————+
| Id | User | Host | db | Command | Time | State | Info |
+——-+—————+———–+————–+—————-+——+———————-+——————————————————————————————————+
| 5 | eximstats | localhost | eximstats | Sleep | 16 | | |
| 45312 | leechprotect | localhost | leechprotect | Sleep | 6869 | | |
| 48148 | israelfa_ifau | localhost | israelfa_ifa | Query | 36 | Sorting result | SELECT *
FROM ifawp_posts p
WHERE p.post_status = ‘publish’
AND p.post_password = ”
|
| 48198 | israelfa_ifau | localhost | israelfa_ifa | Query | 78 | Sending data | SELECT *
FROM ifawp_posts p
WHERE p.post_status = ‘publish’
AND p.post_password = ”
|
| 48363 | israelfa_ifau | localhost | israelfa_ifa | Query | 39 | Sorting result | SELECT *
FROM ifawp_posts p
WHERE p.post_status = ‘publish’
AND p.post_password = ”
|
| 48436 | israelfa_ifau | localhost | israelfa_ifa | Query | 95 | Sending data | SELECT *
FROM ifawp_posts p
WHERE p.post_status = ‘publish’
AND p.post_password = ”
|
| 48438 | israelfa_ifau | localhost | israelfa_ifa | Query | 32 | Sorting result | SELECT *
FROM ifawp_posts p
WHERE p.post_status = ‘publish’
AND p.post_password = ”
|
| 48455 | israelfa_ifau | localhost | israelfa_ifa | Query | 50 | Sorting result | SELECT *
FROM ifawp_posts p
WHERE p.post_status = ‘publish’
AND p.post_password = ”
|
| 48483 | israelfa_ifau | localhost | israelfa_ifa | Query | 48 | Sorting result | SELECT *
FROM ifawp_posts p
WHERE p.post_status = ‘publish’
AND p.post_password = ”
|
| 48505 | israelfa_ifau | localhost | israelfa_ifa | Query | 85 | Sending data | SELECT *
FROM ifawp_posts p
WHERE p.post_status = ‘publish’
AND p.post_password = ”
|
| 48605 | israelfa_ifau | localhost | israelfa_ifa | Query | 28 | Sorting result | SELECT *
FROM ifawp_posts p
WHERE p.post_status = ‘publish’
AND p.post_password = ”
|
| 48907 | israelfa_ifau | localhost | israelfa_ifa | Query | 69 | Sending data | SELECT *
FROM ifawp_posts p
WHERE p.post_status = ‘publish’
AND p.post_password = ”
|
| 48932 | israelfa_ifau | localhost | israelfa_ifa | Query | 27 | Sorting result | SELECT *
FROM ifawp_posts p
WHERE p.post_status = ‘publish’
AND p.post_password = ”
|
| 48961 | israelfa_ifau | localhost | israelfa_ifa | Query | 76 | Sending data | SELECT *
FROM ifawp_posts p
WHERE p.post_status = ‘publish’
AND p.post_password = ”
|
| 48989 | israelfa_ifau | localhost | israelfa_ifa | Query | 70 | Sending data | SELECT *
FROM ifawp_posts p
WHERE p.post_status = ‘publish’
AND p.post_password = ”
|
| 49037 | israelfa_ifau | localhost | israelfa_ifa | Query | 59 | Sending data | SELECT *
FROM ifawp_posts p
WHERE p.post_status = ‘publish’
AND p.post_password = ”
|
| 49054 | israelfa_ifau | localhost | israelfa_ifa | Query | 74 | Sending data | SELECT *
FROM ifawp_posts p
WHERE p.post_status = ‘publish’
AND p.post_password = ”
|
| 49074 | israelfa_ifau | localhost | israelfa_ifa | Query | 47 | Sorting result | SELECT *
FROM ifawp_posts p
WHERE p.post_status = ‘publish’
AND p.post_password = ”
|
| 49124 | israelfa_ifau | localhost | israelfa_ifa | Query | 41 | Sorting result | SELECT *
FROM ifawp_posts p
WHERE p.post_status = ‘publish’
AND p.post_password = ”
|
| 49183 | israelfa_ifau | localhost | israelfa_ifa | Query | 37 | Sorting result | SELECT *
FROM ifawp_posts p
WHERE p.post_status = ‘publish’
AND p.post_password = ”
|
| 49196 | israelfa_ifau | localhost | israelfa_ifa | Query | 56 | Sending data | SELECT *
FROM ifawp_posts p
WHERE p.post_status = ‘publish’
AND p.post_password = ”
|
| 50221 | DELAYED | localhost | eximstats | Delayed insert | 16 | Waiting for INSERT | |
| 50838 | DELAYED | localhost | eximstats | Delayed insert | 160 | Waiting for INSERT | |
| 50898 | israelfa_ifau | localhost | israelfa_ifa | Sleep | 49 | | |
| 50906 | israelfa_ifau | localhost | israelfa_ifa | Query | 38 | Sending data | SELECT SQL_CALC_FOUND_ROWS ifawp_posts.ID FROM ifawp_posts WHERE 1=1 AND (ifawp_posts.post_author |
| 50907 | israelfa_ifau | localhost | israelfa_ifa | Query | 16 | Copying to tmp table | SELECT SQL_CALC_FOUND_ROWS ifawp_posts.ID FROM ifawp_posts INNER JOIN ifawp_term_relationships ON |
| 50916 | israelfa_ifau | localhost | israelfa_ifa | Query | 1 | Copying to tmp table | SELECT SQL_CALC_FOUND_ROWS ifawp_posts.ID FROM ifawp_posts INNER JOIN ifawp_term_relationships ON |
| 50921 | israelfa_ifau | localhost | israelfa_ifa | Query | 9 | Copying to tmp table | SELECT SQL_CALC_FOUND_ROWS ifawp_posts.ID FROM ifawp_posts INNER JOIN ifawp_term_relationships ON |
| 50922 | israelfa_ifau | localhost | israelfa_ifa | Query | 1 | Copying to tmp table | SELECT SQL_CALC_FOUND_ROWS ifawp_posts.ID FROM ifawp_posts INNER JOIN ifawp_term_relationships ON |
| 50940 | israelfa_ifau | localhost | israelfa_ifa | Query | 7 | Copying to tmp table | SELECT SQL_CALC_FOUND_ROWS ifawp_posts.ID FROM ifawp_posts INNER JOIN ifawp_term_relationships ON |
| 50941 | israelfa_ifau | localhost | israelfa_ifa | Query | 7 | Copying to tmp table | SELECT SQL_CALC_FOUND_ROWS ifawp_posts.ID FROM ifawp_posts INNER JOIN ifawp_term_relationships ON |
| 50945 | israelfa_ifau | localhost | israelfa_ifa | Query | 2 | Copying to tmp table | SELECT SQL_CALC_FOUND_ROWS ifawp_posts.ID FROM ifawp_posts INNER JOIN ifawp_term_relationships ON |
| 50949 | root | localhost | | Query | 0 | | show processlist |
+——-+—————+———–+————–+—————-+——+———————-+——————————————————————————————————+
I don’t think any theme developers are going to worry about support for Safari for Windows at this point as it’s dead and buried, unfortunately. I don’t think it’s even been patched for all the various security issues like SSL3, etc.
ideally some kind of user agent should pop up a message as is done with IE6, saying “You’re browser is out of date and insecure and was abandoned in 2012 – please instead use a modern browser like Chrome or Firefox”
I was actually trying to figure out how to do that using the normal snippet often used for IE6/7 users ….
Anyway. I’m now going to update my site to 1.4 and see what blows up 🙂
Hi,
You will need to alter the thumb dimensions for the widget slider from here: http://screencast.com/t/Cr3AHCstq4al
Then regenerate thumbnails: https://forum.tagdiv.com/how-to-fix-strange-thumbnails/
Then alter the container height via css. You can use the css from below for it:
.td-theme-slider.iosSlider-col-1 .td_module_slide {
height: 450px;
}
This is not easy if you don’t have basic php/html/css knowledge so I suggest to make a backup and get some to help you with hit if you don’t know how to do it yourself.
Thanks
Hi,
I have retested this using 1,2,3,4 as value for the limit attribute and worked fine in all cases: http://screencast.com/t/qsslv99QFVm so it should work in your case also, please make sure you do this like shown in the screen and empty cache if you use any.
Please let me know!
Thanks
Hi,
I have tested your site using latest version of Safari browser on Mac and still haven’t seen the issue you’ve described as you can see in the screenshot: http://screencast.com/t/29cDOD2Uiob
I have found though that the css rule pointed in the screenshot which I believe is causing this as it adds an extra pixel to thumb wrap container width.
Please make sure that you haven;t added this rule as custom css and remove it if you did and check again for this.
You can also re-write this using the following custom css:
.td_normal_slide .td-theme-slider.iosSlider-col-3 {
width: 1019px !important;
}
Please let me know how it goes!
Thanks
when i paste this ony my htaccess i got this message on my homepage
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@alexiptoto.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 Server at http://www.alexiptoto.com Port 80
Hi,
Use this custom css and adjust the values it as you like: http://screencast.com/t/BnqGGLsSL
.td-video-play-ico {
position: absolute;
left: 10%;
top: 10%;
}
.td-video-play-ico img {
position: relative;
left: 0%;
top: 0px !important;
}
Thanks