Search Results for 'child theme'

    No search results were found in Documentation!

Results from the Forum
Catalin
tagDiv Staff

Hello wdrescher,

Unfortunately, as you can see in our documentation, this kind of file is not possible to overwrite with the child theme -> https://forum.tagdiv.com/the-child-theme-support-tutorial/ Please notice that all the files which are included in wp-booter cannot rewrite with the child theme.

Thank you for the message!

Bogdan B.
tagDiv Staff

Hello,
Unfortunately these types of customization require editing of the core files. There is no other way. If there is no option created by the developers for something you require, it will have to be hard-coded. Even if you edit files in a child theme, it will not be update proof. If the file you edit in the child theme gets replaced in the main theme, you will have to replace it in the child theme as well and re-make your modification. There is no customization method that is update proof. Code gets changed in an update. If you do not replace your file, your update will not work as the old code cannot get replaced. Sorry, but there is no alternative at the moment. Hopefully in a future update we will add alt tags to every featured image so you will not have to edit the files.
Sorry for the inconvenience.
Thank you!

Federated Media
tagDiv Member

I did get this to work correctly modifying the parent theme but when I try to overwrite the child theme by following the instructions to overwrite the comments.php and it was not overwriting it. I put the td_background_render.php file inside of the child theme root folder and it is not overwriting the parent theme.

How would I overwrite td_background_render.php ?

iip
tagDiv Member

I attempted to hide post template 8 but found the topic where you suggest, again, editing core files. Are there workarounds to editing these functions in the child theme? I’d really prefer not to edit core theme files.

Catalin
tagDiv Staff

Hello drae,

Please try to update and your child theme that comes bundled with the latest version of our theme when downloading our package from ThemeForest. To each theme update, the child theme it’s changing and could cause some errors.

Thank you for the message!

drae
tagDiv Member

Hi Catalin,

Thanks for your quick response on this, much appreciated.

Changing the theme from the child to the main theme seems to have done the trick, thank you.

However we would like to use a child theme so that if we make any customizations we don’t affect the main theme. How would we go about solving that issue?

Bogdan B.
tagDiv Staff

Hello,
Unfortunately we have no other solution except adding the alt tag in the main theme files as the wp-booster folder cannot be edited from the child theme. You need to add the alt tag like so: http://screencast.com/t/OTtZ1nE4pj6p and keep track of this modification for future updates. You can use the update patch included in every release and only replace the modified files between versions.
Thank you!

Catalin
tagDiv Staff

Hello drae,

I have checked your website and saw your problem with Custom Menu Page. Also, I notice that you have used child theme…please try to switch to the main theme, ensure that you have updated the Visual Composer, disable all the active plugins, leave just Visual Composer to active, clear all cache, purge CDN file is you used and install only the plugins that come bundled with our theme and rule out the conflicting plugins and check it again and see how it works. I suspect this problem as could be caused by your child theme…probably is not updated to the latest version and might cause some errors when the code is overwritten.

Hope this helps and let us know how it goes!

Thank you for the message!

Andrei L.
tagDiv Member

Hi

Please make sure that you updated the theme according with our documentation: https://forum.tagdiv.com/newsmag-how-to-update-the-theme/ also deactivate all plugins except Visual Composer, clear all caches and test again.
If you’re using a child-theme deactivate it then check if the problem is still there.
Regarding the code from child theme there is an important aspects that must be considered:
– if in previous theme’s version a specific code added in child theme worked fine that doesn’t mean that will work with a new theme version. When theme update many of its files are changed and it’s a good practice to check update_log.txt file for each update and see what files had been modified so if those specific files are used in the child theme you will have to check your customizations to not break the functionality of the theme.
If you still can’t manage to solve this issue please send us an email at contact@tagdiv.com with your login credentials so we can take a closer look at this issue.

Thanks!

Andrei L.
tagDiv Member

Hi

You can look for a plugin with a similar functionality but I can’t make any recommendation in this regard as we didn’t tested any social share plugin.
Also you can modify the file corresponding with the post template used and add the code for the new share buttons where you want them to be displayed: http://screencast.com/t/EvhHBARv9 The loop/single filse can be edited via child theme if you want to keep the changes after theme update.
Please consider that this customizations requires advanced coding skills and tests. If you can’t do this by yourself my advice is to look for someone which can help you with this or hire a freelancer to do it for you as we can’t offer any type of custom work at the moment.

Thanks

iip
Participant
#0

We are required to have alt text for all images. I’ve been able to add it through the child theme for all templates except for the featured image in post template 8 which is full screen. This image is rendered through td_background.php and td_background_render.php, however, these files don’t seem to be able to be added to the child theme.

Unfortunately, I do not want to edit the core files within the Newspaper folder as we plan to update with each release.

Do you have any suggestions for a workaround that can be applied to the child theme for this template so that the background image has its proper alt text?

Bogdan B.
tagDiv Staff

Hi,
You do not need to use a child theme as you can specify widfth and height with custom css you can use in the theme panel:
.td-header-style-12 .td-main-menu-logo img {
max-height: 120px!important;
width: 220px;
height: 120px;
}

Please edit these values to your logo size.
Thank you!

Andrei L.
tagDiv Member

Hi

First remove this code from theme panel > custom css:

.td-big-grid-wrapper .td-module-thumb a:last-child:before {
background: linear-gradient(to bottom,rgba(25, 25, 25, 0) 100%,rgba(25, 25, 25, 0.7) 0%);
}

Then add this code: http://screencast.com/t/yAPFmhmWbW

.td-grid-style-5 .td-module-thumb a:last-child:before {
opacity: 0;
}
.td-grid-style-5 .td-module-thumb:hover a:last-child:before {
opacity: 0.5;
}

Thanks!

newtag
tagDiv Member

i understand. im using style 12 – can i override the file in the child theme – if yes – in wich file i should insert the height and width tag?

best

  • This reply was modified 10 years by newtag.
Catalin
tagDiv Staff

Hello Laonce,

The problem is that this kind of file td_social_icons.php can not be rewritten in child theme. If you want to see some results, in this case, you have to do the changes only in the main theme. For more information about child theme, please consult our documentation here -> https://forum.tagdiv.com/the-child-theme-support-tutorial/

Thank you for the message!

Bogdan B.
tagDiv Staff

Hello,
Are you maybe trying to modify it in the child theme? The wp-booster folder does not work from the child theme. This will have to be done in the main theme. Please check if ANY modification to the file apply. Add a few numbers or letters to the top of the file to see if they render on the front-end: http://screencast.com/t/uiHWiAMl (This is the easiest way to figure out if you edit the correct file and if your modifications apply)
Thank you!

barelliluca
tagDiv Member

Hi Bogdan,

Still not working. I’ve followed your advice but I don’t know what I’m doing wrong.
See this http://preview.tinyurl.com/glm3pxu

I’ve cleaned both cloudflare and my local cache.
I’ve checked the syntax (using sublime text).
I’ve modified td_background in main theme plus I’ve recreated the structure includes->wp_booster->td_background.php (already modified) in child theme.
I’m on post style 7 and category style 8.

If there’s anything that can come up to your mind please let me know, also any theme panel settings I might be missing or messing. Thank you!

Bogdan B.
tagDiv Staff

Hello,
Please update the file in your child theme. if you use an old version of the js file in your child theme, then problems like this can occur. Also try it without plugins (except visual composer) to rule out a plugin conflict.
Thank you!

Andrei L.
tagDiv Member

Hi

I am not aware what customizations did you made in child theme and how they affect theme’s functionality. Try to deactivate the child theme and test your site again. We didn’t tested the theme on multisite but its functionality should be the same as on single site.
Regarding the code from child theme there is an important aspects that must be considered:
– if in previous theme’s version a specific code added in child theme worked fine that doesn’t mean that will work with a new theme version. When theme update many of its files are changed and it’s a good practice to check update_log.txt file for each update and see what files had been modified so if those specific files are used in the child theme you will have to check your customizations to not break the functionality of the theme.
If you still can’t manage to solve this issue please send us an email at contact@tagdiv.com with your login credentials so we can take a closer look at this issue.

Thanks!

Laonce
tagDiv Member

Hello
I have added the field in td_social_icons.php, but nothing appeared in Social Networks from the Theme Panel settings.
I’m using child theme. Path and everything is correct. I have refreshed the settings page with ctrl+f5.
Where problem is?
Thank you

mustamar
Participant
#0

Hello. How to display custom ad or inline ad in Smart List posts?
Is it possible with child theme?

I followed instruction on this: $buffy .= do_shortcode(‘[td_block_ad_box spot_id="custom_ad_1"]‘);
but have no success.

neomail
tagDiv Member

hello, thx for your anwser, as i said…. i already did that…
that’s why i’m here….

it seems you don’t read what i wrote ^^

i use child theme,multisite setting,9.5k post, can you do it with this same context (your test) ?

  • This reply was modified 10 years by neomail.
mzirafos
Participant
#0

Hello,
I changed the font to custom one as the one you/Google provides has no Extended charsets.

And then I had to set all fonts in settings to my custom one multiple times.
You should REALLY have a button “Set all fonts to {Font name}”.

Then I noticed that faux bold looks just terrible.
So I want to add my custom font face in child theme or however is possible like that:

@font-face {
font-family: 'Montserrat';
src: url('fonts/Montserrat-Light.otf') format("opentype");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Montserrat';
src: url('fonts/Montserrat-SemiBold.otf') format("opentype");
font-weight: bold;
font-style: normal;
}

But it just does not stick!
So how do I set custom font variations in this theme?

Andrei L.
tagDiv Member

Hi

Glad you manage to solve this issue.
Regarding the code from child theme there is an important aspects that must be considered:
– if in previous theme’s version a specific code added in child theme worked fine that doesn’t mean that will work with a new theme version. When theme update many of its files are changed and it’s a good practice to check update_log.txt file for each update and see what files had been modified so if those specific files are used in the child theme you will have to check your customizations to not break the functionality of the theme.

Thanks!

Andrei L.
tagDiv Member

Hi @awtown

With regard at the code from child theme there is an important aspects that must be considered:
– if in previous theme’s version a specific code added in child theme worked fine that doesn’t mean that will work with a new theme version. When theme update many of its files are changed and it’s a good practice to check update_log.txt file for each update and see what files had been modified so if those specific files are used in the child theme you will have to check your customizations to not break the functionality of the theme.
In this process is recommended that you first backup your child theme and all modifications then check each file you’ve customized and if it’s ok add it in the same path in the child theme, if not make adapt the changes then add the file. In order to compare files you can also use winmerge according to this tutorial: https://forum.tagdiv.com/compare-theme-files-winmerge-tutorial/

If you still can’t manage this and you need additional assistance or informations, please fell free to ask and address us via email at contact@tagdiv.com and also provide a link to this conversation and give us ftp and wp access.

Thanks!

Viewing 25 results - 11,201 through 11,225 (of 12,866 total)