Search Results for 'child theme'

Results from the Forum
Simion C.
tagDiv Staff

Hi,

1. The demo style overrides the main theme style, it is not standalone. That is what happens when a demo is installed. The demo comes with it’s own customization that applies over the theme. You could if you want to identify these overrides and make the modifications directly in the theme style, and remove theme from the demo style. It could prove to be a lot of work.

2. The child theme does not affect the way the website looks by default. A child theme sample is provided in the theme package in the code folder. But it all depends on the files you modify, that is the purpose of a child theme. Here you can find more information about the child theme and what files can be used in it
https://forum.tagdiv.com/the-child-theme-support-tutorial/

Thanks

Bogdan B.
tagDiv Staff

Hello,
If you use a single image element of visual composer, did you by any change edit your page with the tagdiv composer afterwards? This is not recommnended as the shortcodes get changed. Please only use one builder not both on the same page. If a page has been created with visual composer, then you will have to re-create it in the new builder if you want to use it.
If this is not the issue, try to disable all plugins except visual composer, clear cache and reset cdn files if you use it. Please also check any custom code you might have added to the theme panel or the theme files. If you use a child theme, please switch to the main theme to make sure it does not affect the proper functionality of the theme.

Thank you!

julianpeaks
Participant
#0

Hi,
when I purchased the theme I installed the dark demo and kept working on/with it.

1. When I inspect the code, though, I see a lot of the word “demo” in the code itself, which doesn’t look very nice. Also the css looks like having one css overwriting the other. Sometimes the final css property in the inspector lays on top of 4 or 5 crossed out css properties which it overwrites.
>> Is it possible to clean up the installation so the code looks “not demo” and the css is clearer, while keeping the current look and settings?

2. I haven’t used a child theme from the beginning but i feel the necessity now.
>> If I create the child now, will it affect the way the site looks? Is there a specific procedure to start a child theme from zero when the website is up and running?

Thank you
JP

Catalin
tagDiv Staff

Hello ktk99,

If you want to make these modifications in the loop single according to your post template used by you and add it in your child theme. For more information about our child theme support, please check here -> https://forum.tagdiv.com/the-child-theme-support-tutorial/

Thanks for your understanding!

Bogdan B.
tagDiv Staff

Hello,

1. That seems to be a cached image. Please clear all caching from the cache plugin, browser cache, cdn server or hosting side cache.

2. This could be a plugin conflict so please disable all plugins except visual composer, clear cache and reset cdn files if you use it. Please also check any custom code you might have added to the theme panel or the theme files. If you use a child theme, please switch to the main theme to make sure it does not affect the proper functionality of the theme.
Please also check your system status parameters: https://forum.tagdiv.com/system-status-parameters-guide/

Thank you!

Bogdan B.
tagDiv Staff

Hello,

The featured image does not seem to be available on your post.
Pleas make sure you uploaded a featured image in the post back-end. IF the image is present, then please try to disable all plugins except visual composer, clear cache and reset cdn files if you use it. Please also check any custom code you might have added to the theme panel or the theme files. If you use a child theme, please switch to the main theme to make sure it does not affect the proper functionality of the theme.

Thank you!

Catalin
tagDiv Staff

Hello Lavesh,

If you cannot see the images, it could be a plugin conflict and not a theme update issue. You probably have a js error in your browser console that breaks the lazyload animation. Try to find which one of your plugins causes the issue and remove/replace it. This is done by disabling all plugins at once, clearing the cache and resetting/purging cdn files if you use it. Then re-activate the plugins one by one testing your site after each one to see which one causes the images to break
Or it could not be a plugin at all and it could be a custom modification you made or your child theme that needs updating as well. The child theme is not updated proof. Try to switch to the main theme to test it out.

I hope this helps.
Thanks.

ktk99
tagDiv Member

Do I need to make changes to the child-theme or the newspaper theme itself? I want to add it one time (to don’t get disturbed by updates, as the override custom modifications)

Please tell me how to add this using child theme. (What to copy to child-theme directory, I am using sing loop 2, for single post style 2)

Simion C.
tagDiv Staff

Hi,

I have tested the code that you mention and other codes, in the child theme stylesheet, and it is applying properly. I simply entered it in the child theme’s style.css file. Maybe it is a caching issue that causes the code to not apply. Try clearing any caching installed and check again.
The functions file provided with the child theme should have these lines of code inside
https://www.screencast.com/t/KiqpYbiFRS
You can try again with the child theme sample included in the theme package and see if it is working properly.

Thanks

SnakeEater
Participant
#0

Hi everyone,

I am trying to integrate a new social network inside the social counter plugin. This social network is a minor one and does not have any api, so I don’t have to count the followers (I could set them manually like in the RSS feed one). While I have made some progress, I am still unable to have it show up in the widget. Here’s what I did:

1) Backend: td_social_counter.php

I added this to the array:


array(
"param_name" => "newwebsite",
"type" => "textfield",
"value" => 'Newwebsite',
"heading" => __("User Id", TD_THEME_NAME),
"description" => "",
"holder" => "div",
"class" => "tdc-textfield-big"
),

This works correctly

2) Backend: td_social_api.php


case 'newwebsite':
$td_data = td_remote_http::get_page("http://www.newwebsite.com/$user_id", __CLASS__);
break;

3) Frontend: td_block_social_counter.php


case 'newwebsite':
return array(
'button' => __td('Follow'),
'url' => "http://www.newwebsite.com/$user_id",
'text' => __td('Followers'),
'api' => $td_social_api->get_social_counter($service_id, $user_id, $access_token),
);
break;

4) CSS

I duplicated every -facebook class and changed it to -newwebsite. I tried t do this both on the child theme and on the main theme

The result is that nothing shows up on the widget 🙁 I amnot sure what I am missing so I hope you will be able to give me a pointer towards the right direction.

Thank you very much!

jansena
tagDiv Member

Hi,

Will you support the child theme for mobile in the near future?
I really missing that right now.

danielalonso
Participant
#0

Two questions in one about Newspaper 8

Why the Theme custom CSS is so slow?
I mean, if I alter the padding, the font size or other elements, they only take effect after the page is loaded, what is frustrating as the reader “sees” the changes.

Child style.css issues seems not to be working
To avoid it, I’m writting the changes in the child theme style.css. But the changes don’t take effect, nothing happens.

Although my php files in the child theme work fine (header.php, functions.php and so on), style.css seems not to be working.

My child style.css:
/*
Theme Name: Newspaper 7 Child theme
Theme URI: http://themeforest.net/user/tagDiv/portfolio
Description: Child theme made by tagDiv
Author: tagDiv
Author URI: http://themeforest.net/user/tagDiv/portfolio
Template: Newspaper
Version: 7.7c
*/

/* —————————————————————————-
This file will load automatically when the child theme is active. You can use it
for custom CSS.
*/

/* Increases the font size */

@media
(max-width: 767px) {
.td-page-content p, .td-post-content p, .wpb_text_column p, .td_block_text_with_title p, .woocommerce #tab-description p, .mce-content-body p, .td-page-content li, .td-post-content li, .wpb_text_column li, .td_block_text_with_title li, .woocommerce #tab-description li, .mce-content-body li {
font-size: 125%;
line-height: 26px;
}
}

/* Modify the header background color */
.td-banner-wrap-full {
background-color: #ab1b1b;
}

Could you replicate this issue?

Thanks,
Daniel

Simion C.
tagDiv Staff

Hi,

Unfortunately the child theme cannot override certain files from the theme, at the moment. You will have to take note of the modifications and make them again after updating the theme. However in the theme package you can see a Patch folder containing only the updated files, which you can replace in the main theme. This is useful in some extent if you have made modification to some files and would like to keep them if possible
https://forum.tagdiv.com/whats-included/

Thanks

Simion C.
tagDiv Staff

Hi,

Try declaring the custom block in this file like the other blocks are
https://www.screencast.com/t/AZArUxSjCB
It should show in the widgets section after you add it there, and you can use it as a widget. You will have to make the modification to main theme file in order to achieve this.
The td_config file is not supported by the child theme. You will have to make the modifications in the main theme file. Here you can see what files are supported for customization through the child theme
https://forum.tagdiv.com/the-child-theme-support-tutorial/

Thanks

Bogdan B.
tagDiv Staff

Hello,

This is a plugin conflict as we have encountered plugins that removed theme options in the past. Please disable all plugins except visual composer, clear cache and reset cdn files if you use it. Please also check any custom code you might have added to the theme panel or the theme files. If you use a child theme, please switch to the main theme to make sure it does not affect the proper functionality of the theme.

Thank you!

Bogdan B.
tagDiv Staff

Hello,

This is a strange issue. We have not encountered it before. It could be a conflict somewhere so please try to disable all plugins except visual composer, clear cache and reset cdn files if you use it. Please also check any custom code you might have added to the theme panel or the theme files. If you use a child theme, please switch to the main theme to make sure it does not affect the proper functionality of the theme.

If the issue is still there afterwards, please contact us on our email address at contact@tagdiv.com and provide a link to your site and wp-admin (login information and admin rights) so we can login and investigate. Please also include a link to this conversation.

Thank you!

Bogdan B.
tagDiv Staff

Hi,

I cannot say for sure where the errors appear on your site but they do not seem to be css related.
This could be a plugin conflict so please disable all plugins except visual composer, clear cache and reset cdn files if you use it. Please also check any custom code you might have added to the theme panel or the theme files. If you use a child theme, please switch to the main theme to make sure it does not affect the proper functionality of the theme.

Thank you!

adamsamu
Participant
#0

Hi,

I have 2 questions:

1. We created a child theme and a custom block using the child theme
and td-api-plugin in your example files. Is it possible to use this
new custom block in a widget in the child theme? How can we set it up?

2. In the child theme can we define new Custom Styles for the TinyMCE
editor? In the parent theme we managed to define, but when we moved
the definition (td_config.php) to the child theme, the custom styles
disappeared.

Thanks,

Adam

MESOTU
tagDiv Member

Brain916, Just an FYI, I compressed the child theme folder and was able to upload it as normal. Worked fine.

Simion C.
tagDiv Staff

Hi,

There is no problem with the latest WordPress version and the previous theme version. Or with the new theme update. We have not had any compatibility issues reported. You can update or install the new theme version when you are ready.
It could happen that some modifications through the child theme may not work properly anymore, due to update changes to the theme files. This can happen after every theme update. You could test this locally and see if it is the case.

Thanks

Brain916
Participant
#0

Just got the theme and can’t seem to locate the child theme. Any help would be appreciated.

Simion C.
tagDiv Staff

Hi,

I have checked the website on Firefox and for me it is not happening. The site is loading very fast with no issue what so ever.
You seem to have fixed the background issue, maybe it was just a missing class from the page container or wrap. It is best before updating the theme to test existing child themes with the new update. Some elements from the theme may not be the same after the update.

Thanks

Scottseol
Participant
Install - topic
#0

Hi!

I bought it and installed by FTP now, but I got a message about unstable status in theme tab in Admin page.

The message is that ‘do not have template index.php for theme and for child theme need template header in style.css.

Newspaper 템플릿이 없습니다. 단독 테마는 index.php 템플릿 파일이 있어야 합니다. 자식테마는 style.css 스타일시트에 템플릿 헤더가 있어야 합니다.

Above is the message in korean.

Thanks,

Scott

dexign
Participant
#0

I always make it a point to ask since I have experienced some bad stuff in the past with other themes and WP updates. Is Newspaper 8 and WordPress 4.7.5 totally good together when updating from Newspaper 7.8 and WordPress 4.7.3. Is there anything that will not make the trip intact? Can I expect my child theme modifications to survive? Just had to ask. Been burned before.

VoZz
tagDiv Member

Hi Simion,

Thank you for your response.

I checked the first issue and it’s only happends on Firefox. Chrome seems to work fine.

The background issue is fixed by activating the parent theme. I only have a functions.php, page.php and header.php besides the style.css in my child theme. I figured out it’s the page.php that is causing the problem.

I don’t just want to throw it out, because it’s in there for a reason, but it has been a while since I’ve edited it. I have no clue what I changed, can you recognize anything?

<?php
/* ----------------------------------------------------------------------------
the default page template
*/

get_header();

//set the template id, used to get the template specific settings
$template_id = 'page';

$loop_sidebar_position = td_util::get_option('tds_' . $template_id . '_sidebar_pos'); //sidebar right is default (empty)

//get theme panel variable for page comments side wide
$td_enable_or_disable_page_comments = td_util::get_option('tds_disable_comments_pages');

//read the custom single post settings - this setting overids all of them
$td_page = get_post_meta($post->ID, 'td_page', true);
if (!empty($td_page['td_sidebar_position'])) {
$loop_sidebar_position = $td_page['td_sidebar_position'];
}

// sidebar position used to align the breadcrumb on sidebar left + sidebar first on mobile issue
$td_sidebar_position = '';
if($loop_sidebar_position == 'sidebar_left') {
$td_sidebar_position = 'td-sidebar-left';
}

/**
* detect the page builder
*/
$td_use_page_builder = td_util::is_pagebuilder_content($post);

if ($td_use_page_builder) {

// the page is rendered using the page builder template (no sidebars)
if (have_posts()) { ?>
<?php while ( have_posts() ) : the_post(); ?>

<div class="td-main-content-wrap td-main-page-wrap">
<div class="td-container">
<?php the_content(); ?>
</div>
<?php
if($td_enable_or_disable_page_comments == 'show_comments') {
?>
<div class="td-container">
<div class="td-pb-row">
<div class="td-pb-span12">
<?php comments_template('', true); ?>
</div>
</div>
</div>
<?php
}
?>
</div> <!-- /.td-main-content-wrap -->

<?php endwhile; ?>
<?php }
} else {

//no page builder detected, we load a default page template with sidebar / no sidebar
?>

<div class="td-main-content-wrap">
<div class="td-container <?php echo $td_sidebar_position; ?>">
<div class="td-crumb-container">
<?php echo td_page_generator::get_page_breadcrumbs(get_the_title()); ?>
</div>
<div class="td-pb-row">
<?php
switch ($loop_sidebar_position) {
default:
?>
<div class="td-pb-span8 td-main-content" role="main">
<div class="td-ss-main-content">
<?php
if (have_posts()) {
while ( have_posts() ) : the_post();
?>
<div class="td-page-header">
<h1 class="entry-title td-page-title">
<span><?php the_title() ?></span>
</h1>
</div>
<div class="td-page-content">
<?php
the_content();
endwhile;//end loop

}
?>
</div>
<?php
if($td_enable_or_disable_page_comments == 'show_comments') {
comments_template('', true);
}?>
</div>
</div>
<div class="td-pb-span4 td-main-sidebar" role="complementary">
<div class="td-ss-main-sidebar">
<?php get_sidebar(); ?>
</div>
</div>
<?php
break;

case 'sidebar_left':
?>
<div class="td-pb-span8 td-main-content <?php echo $td_sidebar_position; ?>-content" role="main">
<div class="td-ss-main-content">
<?php

if (have_posts()) {
while ( have_posts() ) : the_post();
?>
<div class="td-page-header">
<h1 class="entry-title td-page-title">
<span><?php the_title() ?></span>
</h1>
</div>
<div class="td-page-content">
<?php
the_content();
endwhile; //end loop
}
?>
</div>
<?php
if($td_enable_or_disable_page_comments == 'show_comments') {
comments_template('', true);
}?>
</div>
</div>
<div class="td-pb-span4 td-main-sidebar" role="complementary">
<div class="td-ss-main-sidebar">
<?php get_sidebar(); ?>
</div>
</div>
<?php
break;

case 'no_sidebar':
?>
<div class="td-pb-span12 td-main-content" role="main">

<?php
if (have_posts()) {
while ( have_posts() ) : the_post();
?>
<div class="td-page-header">
<h1 class="entry-title td-page-title">
<span><?php the_title() ?></span>
</h1>
</div>
<div class="td-page-content">
<?php
the_content();
endwhile; //end loop
}
?>
</div>
<?php
if($td_enable_or_disable_page_comments == 'show_comments') {
comments_template('', true);
}?>
</div>
<?php
break;
}
?>
</div> <!-- /.td-pb-row -->
</div> <!-- /.td-container -->
</div> <!-- /.td-main-content-wrap -->

<?php
}

get_footer();

Viewing 25 results - 9,576 through 9,600 (of 12,866 total)