Hi!
I’ve just moved my old website to new hosting, and I have had some problems, which I fixed already, but one is still exist.
The problem: featured image (full screen) alignment is not centered.
You can see it here http://magazeta.com/2016/01/happy-grandma/
Or on screenshot: https://yadi.sk/i/cljVstJ2nEKa9
I guess it’s somehow related with td_backstr javascript function since I got “td_backstr is not defined” error in the log (no such problem on the old host).
Screenshot js log:
https://yadi.sk/i/T4vLVOTInEKad
I didn’t change CSS or JS after moving the website on the new host. So I guess the problem is somehow related to server configuration and priority of loading files.
-
This topic was modified 10 years by
mayuxi.
Problem has been solved.
If you are interested, the problem was in single_template_7.php file, which I copied to child theme to modify. But since the new version of Newspaper, the javascript function was changed/renamed and JS-call inside this file (single_template_7.php) was outdated.
I think it’s very bad idea to put javascript codes inside customizable files… I suggest developers to put this call somewhere else, in the core, to improve child-parent and old/new versions compatibility
Hi
We try to keep all js coe in tagdiv_theme.js but in some situations the js must be included inside the php code to obtain the best functionality. We constantly work to improve and optimize the theme code and if we find better solution in the feature these will be applied.
Sorry for inconvenience.
Thanks for the message!
Hi, having the same issue with the alignment of the featured image in posts (post template style 7 for example).
Would you mind posting instructions on how to fix this issue? Has the theme been updated to a newer version? I’m running theme version 6.6.5 on PHP version 5.4.42.
Thanks in advance.