Search Results for 'child theme'

Results from the Forum
Alin [tagDiv]
tagDiv Staff

Hi,

First please make sure you also test this without any plugins active and leave just Visual Composer plugin active and also empty cache then check again.
If you still have this issue please make sure you download and update your theme to the latest version (4.6.2). Also if you are using child theme, please switch to the main theme and empty all caches and test again. If this solves the problem make sure you update the child theme to the latest version. Please let me know!

Thanks

sblum
tagDiv Member

Hi,

thanks for your reply. The first two steps are working fine. But is there a possibility to add a block (in my case ‘td_block_17’) as a widget using a child theme?

Thank you!

Ken
tagDiv Member

Is there some way to do this without changing a core theme file? Is there some way to override that file from a child theme? Thanks!

hagedorn
Participant
#0

Hello,

I’m running NewsMag in ChildTheme Mode. I copied the file

/wp-content/themes/Newsmag/parts/header/header-style-8.php

to

/wp-content/themes/Newsmag-child/parts/header/header-style-8.php

and modified it. Changes do not appear. When modifying the original
file inside NewsMag folder it’s working. Please advice.

Anonymous
Inactive
#0

Hi,
I need to install another social buttons script in the posts instead of standart buttons. Here is an example:

<script type=”text/javascript”>(function() {
if (window.pluso)if (typeof window.pluso.start == “function”) return;
if (window.ifpluso==undefined) { window.ifpluso = 1;
var d = document, s = d.createElement(‘script’), g = ‘getElementsByTagName’;
s.type = ‘text/javascript’; s.charset=’UTF-8′; s.async = true;
s.src = (‘https:’ == window.location.protocol ? ‘https’ : ‘http’) + ‘://share.pluso.ru/pluso-like.js’;
var h=d[g](‘body’)[0];
h.appendChild(s);
}})();</script>
<div class=”pluso” data-background=”none;” data-options=”big,square,line,horizontal,counter,sepcounter=1,theme=14″ data-services=”facebook,vkontakte,google,twitter”></div>

How can I do that?
Thanks

tish
Participant
#0

Does anyone know a simple way to change the default fonts used throughout the site?

I only want to use two fonts throughout my site, basically a heading font and a paragraph font. It seems kind of cumbersome to have to choose each one in the Typography dropdown. It’s also time consuming to copy the CSS to my child theme and then find/replace on all instances of Roboto/Ubuntu. That would work if I knew exactly what I wanted to use, but as I’m getting my site set up, it would be easier to have an option to set a basic header font and paragraph font, so that I could quickly see the effect on the site before committing to something. Anyway, if there’s a simple method I’ve overlooked, I would appreciate the instruction. Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

Please try this custom css for Big Grid: http://screencast.com/t/aHPPwbQZ

.td-image-gradient:before{
background: transparent;
}
.td-module-thumb a:last-child:before{
background: transparent !important;
}

Also you can add a background to the title: http://screencast.com/t/QFsFaBh7IFL

.td-big-grid-post .entry-title a{
background-color: rgba(0, 0, 0, 0.38);
}

Please use Chrome and inspect blocks/modules that you want to change and add the css in Theme Panel > Custom Css.

You can edit module files that are used on blocks and comment or delete author line. For example this module(td_module_mx5.php) is used by the Big Grid: http://screencast.com/t/Nw3AfazOS41
Result: http://screencast.com/t/I5j2Hs2O

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

1. You can change footer background from Theme Panel > Theme Colors: http://screencast.com/t/2yBVGWU0Q
2. Please follow this topic: https://forum.tagdiv.com/topic/big-slide-left-to-right-fonts-arabic/
3-4 Provide a link and more details.
5. Please try this custom css in Theme Panel > Custom Css: http://screencast.com/t/pAFd6TGGvSvb

.block-mega-child-cats{
text-align:left;
}
.block-mega-child-cats a{
padding: 6px 0px 6px 21px;
}
.td_block_mega_menu .td-ajax-next-page{
left: auto;
right: 270px;
background-position: -20px -1948px;
}
.td_block_mega_menu .td_ajax-prev-page{
left: auto;
right: 240px;
background-position: -20px -1990px;
}

You can change mega menu fonts from Theme Panel > Custom Typography: http://screencast.com/t/kiw8KbAEqo2

6. I’m not sure what you mean. If you want to change block title an excerpt fonts you can do this from Theme Panel > Custom Typography: http://screencast.com/t/QcbCK4H4EXoKhttp://screencast.com/t/1bKn85xOlz

Please search the forum for suggestion and fixes for the issue you may encounter with this and you should also consider that unfortunately we recently have decided that starting with the next theme update we will not include rtl support within the theme. You can still use the theme as it is but unfortunately you cannot updated it as you will lose the rtl support or you can update it and make yourself the necessary adjustments needed.

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

1. Try this css in Theme Panel: http://screencast.com/t/m2vvb4fKCUU

.td_mod_mega_menu{
margin-left:auto;
margin-right:2.3%;
}

2. For homepage try this custom css: http://screencast.com/t/exSUo2E65qZ

.home .span8.column_container .span6:first-child {
float: right;
margin-left: 4%;
}
.home .span8.column_container .span6{
margin-left: 0;
}

3. Also for search try this custom css: http://screencast.com/t/fcKOVfE4Vp

.header-search-wrap .dropdown-menu .btn{
right: auto;
}
.header-search-wrap .dropdown-menu #td-header-search{
width: 82%;
}

Thanks!

sociler
Participant
#0

There should be an option to disable lightbox for all images (not just the featured image). I want to load the images on attachment page. How do I do that?

(Instead of removing some codes from the main theme, please suggest some code that I can add in the child theme).

Thanks.

sblum
Participant
#0

Hi,
I’ve added two custom blocks in my Newsmag child theme using your “td_api_module” and “td_api_block” class inside my functions.php:


td_api_module::add('td_module_17',
array(
'file' => get_stylesheet_directory() . '/includes/modules/td_module_17.php',
'text' => 'Module 17',
'img' => get_stylesheet_directory_uri() . '/images/panel/modules/td_module_17.png',
'used_on_blocks' => array('td_block_17'),
'excerpt_title' => 12,
'excerpt_content' => '',
'enabled_on_more_articles_box' => true,
'enabled_on_loops' => true,
'uses_columns' => true, // if the module uses columns on the page template + loop
'category_label' => true
)
);

td_api_block::add('td_block_17',
array(
'map_in_visual_composer' => true,
"name" => 'Block 17',
"base" => 'td_block_17',
"class" => 'td_block_17',
"controls" => "full",
"category" => 'Blocks',
'icon' => 'icon-pagebuilder-td_block_8',
'file' => get_stylesheet_directory() . '/includes/shortcodes/td_block_17.php',
"params" => array_merge(
td_global::get_map_filter_array(),
td_global::get_map_block_array()
)
)
);

I’ve added this module and block using the init-hook. The module then shows up inside the theme panel, e.g. categories. But “block 17” doesn’t appear inside the widget page. What am I doing wrong?

Another problem concerns the typography: Is it possible to change the h4 inside the block_title to h2?

Thanks!

duclux
Participant
#0

Why this css appear in template when view source, how to hide or remove it:
My site: http://www.baihocmoi.com/
<script type="text/javascript">/*<![CDATA[*/jQuery(document).ready(function(){var ajaxRevslider=function(obj){var content="<h2>THIS IS SOME TITLE</h2><br/>";content+="Type:"+obj.type+"</br>";content+="ID:"+obj.id+"</br>";content+="Aspect Ratio:"+obj.aspectratio+"</br>";data={};data.action='revslider_ajax_call_front';data.client_action='get_slider_html';data.token='1a59f464b3';data.type=obj.type;data.id=obj.id;data.aspectratio=obj.aspectratio;jQuery.ajax({type:"post",url:"http://www.baihocmoi.com/wp-admin/admin-ajax.php",dataType:'json',data:data,async:false,success:function(ret,textStatus,XMLHttpRequest){if(ret.success==true)
content=ret.data;},error:function(e){console.log(e);}});return content;};var ajaxRemoveRevslider=function(obj){return jQuery(obj.selector+" .rev_slider").revkill();}
var extendessential=setInterval(function(){if(jQuery.fn.tpessential!=undefined){clearInterval(extendessential);if(typeof(jQuery.fn.tpessential.defaults)!=='undefined')
jQuery.fn.tpessential.defaults.ajaxTypes.push({type:"revslider",func:ajaxRevslider,killfunc:ajaxRemoveRevslider,openAnimationSpeed:0.3});}},30);});/*]]>*/</script><!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]--><meta name="generator" content="Powered by Visual Composer - drag and drop page builder for WordPress."/> <!--[if IE 8]><link rel="stylesheet" type="text/css" href="http://www.baihocmoi.com/wp-content/plugins/js_composer/assets/css/vc-ie8.css" media="screen"><![endif]--><style type="text/css">img.latex{vertical-align:middle;border:none}</style><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:#d93}.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:#d93}.widget_price_filter .ui-slider-handle,
.td_wrapper_video_playlist .td_video_currently_playing:after{border-color:#d93 !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:#d93}.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:#d93 !important}.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,.bbp-template-notice,.td-reply-list-header{border-color:#d93 !important}.woocommerce .woocommerce-message:before,
.woocommerce .woocommerce-info:before,.td-login-button{background-color:#d93 !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:#d93 !important}.buddypress #buddypress .groups .item-meta,
.bbp-forum-title:hover,
.td_login_tab_focus,
.block-mega-child-cats a.cur-sub-cat{color:#d93 !important}.page-nav .current,
.page-nav-post
span{background-color:#d93;border-color:#d93}.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:#d93 !important}.header-search-wrap .dropdown-menu:before{border-color:transparent transparent #d93}.td-mobile-content .current-menu-item > a,
.td-mobile-content a:hover{color:#d93 !important}.category .entry-content,
.tag .entry-content,.td_quote_box{border-color:#d93}.td-timeline-block-title{background-color:#d93 !important}.td-timeline-wrapper-links{border-color:#d93 !important}.td-timline-h1-link
span{background-color:#d93 !important}.td-page-title .td-search-query{color:#d93}.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(221,153,51,0.7)}::-moz-selection{background:#ffcb65;color:#fff}::selection{background:#ffcb65;color:#fff}.post header h1, .post header h1
a{font-family:Tahoma,Verdana,Geneva}.td_mod_mega_menu .item-details
a{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px}</style><script>var td_blocks=[];function td_block(){this.id='';this.block_type=1;this.atts='';this.td_cur_cat='';this.td_column_number='';this.td_current_page=1;this.post_count=0;this.found_posts=0;this.max_num_pages=0;this.is_ajax_running=false;this.header_color='';this.ajax_pagination_infinite_stop='';}
var td_ad_background_click_link="";var td_ad_background_click_target="";var td_ajax_url="http://www.baihocmoi.com/wp-admin/admin-ajax.php";var td_get_template_directory_uri="http://www.baihocmoi.com/wp-content/themes/Newspaper";var tds_snap_menu="";var tds_header_style="";var tds_mobile_swipe="swipe";var td_search_url="http://www.baihocmoi.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="#dd9933";</script>

Alin [tagDiv]
tagDiv Staff

Hi,

1. Please try this custom css to hide subcategories from mobile menu in Theme Panel > Custom Css: http://screencast.com/t/yRuT7Fge8Vp

.td-mobile-content .sub-menu{
display: none;
}

2. For megamenu use this css code:

.td_mod_mega_menu{
float: right;
}

Result: http://screencast.com/t/07b9plERhttp://screencast.com/t/mqFR1oy5

3. Also for category pages: http://screencast.com/t/pP96VMwBqX

.archive .span8.column_container .span6:first-child  {
float: right;
margin-left: 4%;
}
.archive .span8.column_container .span6{
margin-left: 0;
}

Please search also on the forum there are many rtl threads that may can help you: https://forum.tagdiv.com/search/rtl/

Lucian
tagDiv Staff

Hi,

Unfortunately files you’d have to edit for this aren’t editable via child theme, you can see the files which can be overrided by the child theme here: https://forum.tagdiv.com/child-theme-documentation/

Sorry for the inconvenience!
Thanks

Lucian
tagDiv Staff

Hi,

As an update on this please note within the latest theme version we have changed the child theme system (for which we will have a documentation available soon) and because of that at the moment module files can’t be overwritten via child theme.
Sorry for the inconvenience!

Thanks

zigzagad
tagDiv Member

Oh, that’s not terribly user friendly is it!

Could future updates make the placeholder images, or the template which displays them, updateable in a child theme?

Alin [tagDiv]
tagDiv Staff

Hi,

Thanks @Sean!

Please try the css code in Theme Panel > Custom Css: http://screencast.com/t/BFWR0XVZ
If you want to make this change only for that specific block please use this css to apply only on block 14-module mx1: http://screencast.com/t/Wjqmvyrwdjw

.td_block_14 .td_module_mx1 .td-module-thumb a:last-child::before{
background: transparent !important;
}
.td_block_14 .entry-title a, .td_block_14 .td-editor-date {
background-color: rgba(0, 0, 255, 0.28)!important;
color:white!important;
}

Hope this helps!

Alin [tagDiv]
tagDiv Staff

Hi,

Please try this custom css in Theme Panel > Custom Css: http://screencast.com/t/ObwuJQQv

.td_mega_menu_sub_cats{
float: right !important;
}
.block-mega-child-cats{
text-align: left !important;
}

Hope this helps!

Sean
tagDiv Member

Hey,
For removing the filters try this Custom CSS in your Theme Panel

.td-module-thumb a:last-child:before{
background:transparent!important;
}

Changing the text color:
.td_module_wrap .meta-info .td-editor-date, .td_module_wrap .meta-info .td-module-title a, .td_module_wrap .meta-info .td-editor-date a{
color:#000000!important;
}
Adjust #000000 to your preference.

  • This reply was modified 11 years by Sean. Reason: Noticed original changed comment text. New one should work
Alin [tagDiv]
tagDiv Staff

Hi,

Unfortunately this file cannot be overwrite by the child theme: https://forum.tagdiv.com/child-theme-documentation/

Thanks!

zigzagad
Participant
#0

Is it possible to make a copy of td_module.php in a child theme to make changes there?

Moses3815
Participant
#0

When I activated bbpress and create all forums as I wanted I ran into a problem that’s got me pulling me hair out: Child forums are not showing and neither are the topics in the child forums.
I have tried everything and concluded that it is the theme that’s causing the problem because in other themes they show just fine.

1. I first deactivated all plugins except bbpress and those related to it
then I tested the forums and still they didn’t show properly
2. I then deleted the child forum and created another one and moved the topic to that new one. That didn’t work.
3. I changed themes, tried tweenty eleven and everything worked, then I tried another theme just to be sure and that worked too.
4. Activated all plugins again and repeated the process and they worked like I wanted.

Then I activated Newspaper theme and even tried the child theme and then all went wrong again: I can’t see my child forums nor the topics in them. What should I do? When buying this theme, one of the reasons I did buy it was because of the bbpress part of things. Please help. My url is eslchronicle.com/forums

Alin [tagDiv]
tagDiv Staff

Hi,

This is to remind you that if you’ve edited your stylesheet or other core files without using a child theme you will lose your changes. The styling options you’ve set in the WordPress Theme Customize or in the Theme Panel – those options will not be effected by updating your theme.
Anyway we recommend FTP method for theme updates.

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

For the moment there is an issue with child theme(overwrite only files from the root), we will provide a new documentation in soon as possible.

Thanks for understanding!

simchris
tagDiv Member

Somewhere in forum is the email to send link to the tagdiv support. I don’t have link at hand.

I *do* recommend trying my “how to upgrade …” option. I upgraded site from 1.4 to 1.6, and other than the usual issues with some of the sidebars going wonky, or the shortcodes that changed for home page layout with 1.5, it all works fine.

However I don’t use child themes due to the inherent eventual doom — !
Went through that with Canvas, Genesis, etc. .. never again!!

Viewing 25 results - 12,226 through 12,250 (of 12,866 total)