Search Results for 'child theme'

Results from the Forum
Andrei L.
tagDiv Member

Hi

If you’re referring at the images from big grid you can remove that gradient using custom css in theme panel > custom css: http://screencast.com/t/hXsuugHFjP01

.home .td-grid-style-1 .td-module-thumb a:last-child:before{
background: none!important;
}

Let me know how it goes and provide more details if this is not what you mean.

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi nusagrunge,

Please make sure you update the theme properly using this guide(all the steps how to update from version 4) – https://forum.tagdiv.com/how-to-update-the-theme-2/ and also update the plugins that come with the theme files from the /plugins folder. Also if you use the child theme, you have to update it as the old files modifications or custom css will not work in the version 6.
Also please provide your site url so we can take a look.

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi charliezed,

I have checked your child theme css file and I see that it is an older version – http://screencast.com/t/74PXlWYXt So please make sure that you update the child theme, you can find it in the /code folder from theme files that you downloaded from themeforest – https://forum.tagdiv.com/whats-included/
Let me know how it goes!

Thanks!

charliezed
tagDiv Member

I downloaded the Newspaper child theme, deactivated plugins, cleared cache. Nothing works. I have tried to make several other changes to the css file, all with NO effect (except the header-height, as mentioned). I have wasted several hours on this now and am completely frustrated. Am about to give up on this theme.

Andrei L.
tagDiv Member

Hi

Please make sure you installed the child theme from the package downloaded from themeforest (Newspaper-tf > code > Newspaper-child) Here you can check our documentation regarding the child theme integration: https://forum.tagdiv.com/child-theme-support/ Make sure that the child theme it’s the active theme in Appearance > Themes. Also try to clear all caches deactivate the plugins except Visual Composer and test again.

Let me know how it goes.

Thanks!

charliezed
Participant
#0

Hi,
I have unsuccessfully tried incorporating several style changes (additions) to my child theme. Almost all of them have had no effect. (Only one I had success with is the header height changes).

For example, I have added to sets of styles (one for a photo credit line and some styling to create a reverse ordered list). Both of these worked on a previous theme that I was using, but not on the Newspaper theme.

Link to child theme stylesheet: cholla/style.css

Link to page that I am trying to effect: http://www.charliecholla.com/top-10/youve-quit-caring/

Any idea why? Thanks in advance.

Bogdan B.
tagDiv Staff

@iamkingsleyf

Not all the files and folders. The child theme requires just a few of them: read our documentation for more info: https://forum.tagdiv.com/the-child-theme-support-tutorial/.

If you are also talking about an update, then yes if it’s a major update and the theme will be rebuild, then yes, all the files will be rewritten. (It happened in the current version. Version 6 is a totally different theme than Version 4)

Thank you

Andrei L.
tagDiv Member

Hi

The tutorial you refer it’s for Newspaper 6 and not applies totally for V.4.3 but I have tested the template files from /includes/modules and works with the child theme.

Thanks!

Andrei L.
tagDiv Member

Hi

To hide the ads from multiple post you need to add is_single(ID) for each post like here:
if (is_single(134) || is_single(135) || is_single(136))

You need to modify every file corresponding with the post template used, for example for post template 4 the file that needs to be modified it’s loop-single-4.php

When you update the theme the old file are overwritten by the new theme’s files, except the one from child theme, so if you want to keep your changes a solution would be to move the modified file in child theme: https://forum.tagdiv.com/child-theme-support/

Thanks!

  • This reply was modified 10 years by Andrei L..
iamkingsleyf
tagDiv Member

Do you mean all the folders and files of the parent theme to the child theme?

arvindk
Participant
#0

I am trying to overwrite the default behavior of Newspaper/includes/modules/td_module_8.php file. Actually I want to hide date/time based on a meta field value. In fact it worked well with my previous theme so that’s not a problem. The problem is after following the child theme tutorial https://forum.tagdiv.com/the-child-theme-support-tutorial/ I copied Newspaper/includes/modules/td_module_8.php to Newspaper-child/includes/modules/td_module_8.php. But it is still using the module from parent theme. I am very good in WordPress development so that’s not a problem with overwriting templates of Parent theme by child theme. But here it wont use the module i am placing in the child theme. The Newspaper-child theme is in effect as I am using functions and styles from child theme which works very well. Any idea, what might be wrong?

Created new module in child theme structure
https://www.dropbox.com/s/q3gao1sgj3rtshw/changes%20in%20child%20theme%20module.png

Changes do not reflect on website
https://www.dropbox.com/s/cdrp08aych5fg9n/changes%20does%20not%20reflect%20using%20parent%20theme%20module%208.png

Jens H.
tagDiv Member

Hi.

Here’s http://www.recordere.dk. We’re running a +200-300 concurrent users site on WP/Newsmag.

The setup is Nginx->PHP 5.6->Wordpress->Varnish->Cloudflare

We have setup a child-theme, and made our own comments.php to use the Disqus module without any integration with WordPress except the embedcode. Commentcount is customized by our self.

We have quad-core CPU / 8GB Ram but load is usually 0.5 in HTOP.

We used alot of energy making the site answer rapidly.

  • This reply was modified 10 years by Jens H..
Lucian
tagDiv Staff

Hi,

You have to setup a child theme install and customize it in the same way you have the main theme configured. Please use our child theme support tutorial: https://forum.tagdiv.com/child-theme-support/https://forum.tagdiv.com/the-child-theme-support-tutorial/

Thanks for the message!

nucreative
Participant
#0

I’ve read your article at: https://forum.tagdiv.com/the-child-theme-support-tutorial/

This is great, but is there any support for this in Newspaper 4? We are using 4.6.3 and we’d like to override a template in /includes/modules

Is there a workaround for Newspaper 4?

Lucian
tagDiv Staff

Hi,

Alin refereed to your tracking scripts documentation/recommendations for implementation to your site. The theme does provide the possibility to add custom scripts to the footer from theme panel > custom js sections: http://screencast.com/t/3GMbbuDNZ0d8 – please note that you have to add it without <script> tags. If this doesn’t help you or it’s not enough you would have to use a plugin or the child theme to place your tracking scripts in the theme: https://forum.tagdiv.com/child-theme-support/

Thanks for the message!

  • This reply was modified 10 years by Lucian.
  • This reply was modified 10 years by Lucian.
iamkingsleyf
Participant
#0

Hello,

I am trying to get a child theme, but i want it to have the current layout and colors of the the parent theme but updates to the parent theme won’t affect it.

Any idea how to do this? My child theme will have function.php and the other child theme components.

Regards;

webmeister Bud
tagDiv Member

Thanks again for your time, Andrei. After much playing around, I have achieved success!

Not by following your instructions exactly, but they certainly set me on the right track.

I only had to add code to td_module.php and td_module_single_base.php. Changes to the post templates and custom CSS didn’t seem to make a difference.

Please see here for how I did it: http://www.theq.fm/0005-tagdiv-hide-author-date-code-PARENT.png

I am, however, still not successfully affecting change by using the child theme. I duplicated the directory structure, copied files from the parent theme, and modified them in the child theme, but saw no change. Only when I modified the parent theme’s files did things happen.

Perhaps, is there something I’m missing? Please see: http://www.theq.fm/0006-tagdiv-hide-author-date-code-CHILD.png . . . on the left is the theme, on the right is the child theme. I’ve triple-checked that the naming convention and directory structure is correct.

Finally, to confirm, the child theme is the one which is active, yes? http://www.theq.fm/0007-tagdiv-themes.png

Thanks again for your time with hiding the author/date. If I can get the child theme working properly, I’ll be set.

=)

Bogdan B.
tagDiv Staff

Hi,
If you follow the tutorial and make each step as it shows, everything will work fine.
Regarding the update, i think you are talking about a theme update, in that case it depends. If it is a major update (to a different version) not a dot revision, then yes…you will have to update the child theme as well.

Thank you

Alin [tagDiv]
tagDiv Staff

Hi,

1. Here you can find the code if you want to modify it – http://screencast.com/t/irz4qdDIuOac Please note that if you want to do this only for specific spots you will have to add some conditions there.
2. Unfortunately this can be caused by Speed Booster plugin which move the css and js at the bottom of the page structure so that the page will load faster, this is why the theme default color appears first then changes, because of the cascading property of css. A solution is to change the color directly into css stylesheet file.
3. You can try to copy the style.css into the child theme and renamed to style2.csshttp://screencast.com/t/AeKOlI8Y Then comment this line in child theme functions file and add the following code like this – http://screencast.com/t/EaXMLvWJof2

wp_enqueue_style('td-theme', get_stylesheet_directory_uri() . '/style2.css', '', '6.1c', 'all' );
    wp_enqueue_style('td-theme-child', get_stylesheet_directory_uri() . '/style.css', array('td-theme'), '6.1c', 'all' );

Also please complete the font path with ../Newspaper/http://screencast.com/t/BfolEMBg31FR

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

Normally you should have a template for your custom post. If you don’t have one the theme will load the default template, this template can be change from Theme Panel > Post Settings – http://screencast.com/t/WZPOmEARbtq
I have checked your child and I see no custom post template. To see how you can create one, please check the official documentation – https://codex.wordpress.org/Post_Types#Custom_Post_Type_Templates

Thanks!

posonty
tagDiv Member

I just perform the same steps on page I of help for the child theme and it seems to work.
A question; When you update the topic I have to do something in the child theme?
This is the structure that I have right now in the child theme:
http://s6.postimg.org/h8zgpwzxt/CHILD.png

Bogdan B.
tagDiv Staff

Hello posonty,

Your theme settings should stay the same as the files will not be modified.
There is a page in our documentation that can help you: https://forum.tagdiv.com/the-child-theme-support-tutorial/

Thank you.

Andrei L.
tagDiv Member

Hi

You can add the css either in custom css box or in child theme, the way its applied is the same, meaning the theme css will be overwritten .

Thanks!

Andrei L.
tagDiv Member

Hi

Please replace the previous code from td_module.php file with this: and !is_category('Vogue')http://screencast.com/t/Lm0iIuaiMOWShttp://screencast.com/t/tAq8ELx31oA
Note that the settings from Theme Panel > Post Settings > Default post template are overwritten by the Post Settings from post editor: http://screencast.com/t/10Rh52waZ so you have to modify every template file corresponding with the post temple used. Also make sure you insert the correct name of the category, which it’s case sensitive or you can use the category’s id: http://screencast.com/t/3ub28GM1gHohttp://screencast.com/t/YRTCQQtCJcZI

Regarding the child theme please check our documentation: https://forum.tagdiv.com/the-child-theme-support-tutorial/ also make sure you add the files in the same directory as in parent theme.

Thanks!

posonty
Participant
#0

How I can install the Child Theme saving all the settings you have made on the Web ?.
I instalrlo already tried, but I unconfigures all.

Viewing 25 results - 11,701 through 11,725 (of 12,866 total)