- NewspaperCreate Custom Code with the browser’s Inspector or the Live CSS Box
- NewspaperScroll Animation
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- NewspaperHow to setup Twitch for Social Counter
- NewspaperModal Popup
- NewspaperFlex Block Settings Guide
- NewspaperAutoptimize Plugin – install and configuration
- NewspaperAdding Multiple Authors to Your Articles
- NewspaperDesign your Post Pages using the Cloud Library Templates
- NewspaperBig Grid Flex Settings
- NewspapertagDiv Composer Tutorial
- NewspaperTheme modules and blocks
- NewspaperThe Mobile Theme
- NewspaperCompare theme files – Winmerge tutorial
- NewspaperUsing Other Ads
- NewspaperBlock settings tutorial
- Using custom fonts
- Using typekit fonts
- NewspaperChild Theme Support
- NewspaperHow to Make the Site Faster
Hi,
I think that you have malware on the website.
If you want to update the theme, you should download the latest version of it from Theme Forest account and download it.
I recommend that you update the theme manually https://forum.tagdiv.com/how-to-update-the-theme-2/ via FTP/cPanel/File Manager, also if possible disable extra plugins during the theme update to avoid any problems that may arise and make sure that you have activated the tagDiv Standard pack plugin to keep the website’s look. You can try to update the theme on a staging website.
After you update the theme, you need to update the theme plugins too.
In the worst cases, the settings in the theme panel may be lost (there have been isolated cases), in these cases, after the theme plugins that were previously used are activated, you will have to use a backup for the theme panel -> https://forum.tagdiv.com/import-export-theme-settings/
You could consider reinstalling the WordPress version, and checking for this plugin wp-zexit.php. It might be wise to inspect via FTP if it doesn’t appear in the WordPress -> Plugins. Additionally, using Wordfence to scan the website and remove unknown users would be prudent.
Change admin passwords and delete admin accounts you are not familiar with;
– Delete any weird/unknown plugins;
– Delete the weird/unknown themes;
– Clean unfamiliar Theme Panel injected code (example – https://i.imgur.com/4q70kCv.png);
– Clean WordPress files (example – https://i.imgur.com/stJCqiK.png)
Please block /wp-json/tdw/save_css
If an attacker wants to target this URL /wp-json/tdw/save_css they can do so. Even if the website uses a different theme, the attacker can still try that URL. We could add an option to be able to enable/disable the Live CSS, it will be considered. But for now in order to remove it this can only be done with a modification to the composer plugin. I think that all that removing it requires is to comment this line of code – https://prnt.sc/RtwvL5Nc4ikR -> https://prnt.sc/ymZmhdUfp57U But as I mentioned, the attacker can still try to access the URL.
If you want, you can contact our custom work team here, and they can help you update the theme safely: https://tagdiv.com/premium-customization-services/
Thank you!
Ok, Please try this custom css:
#mega-menu-wrap-header-menu {
background: #486962;
}
This can be set in the theme panel > custom code> custom css
I hope this will help you!
Hi,
when the tdb_single_taxonomies shortcode has no terms or all terms are hidden, I would like to hide the control, including its title.
An empty flex_block can easily be hidden using the CSS class tdc-no-posts. However, there is no similar class provided for the tdb_single_taxonomies shortcode.
Do you have any existing solutions or workarounds for this requirement? I am using the Newspaper theme, version 12.6.6.
Otherwise, I would be pleased if this could be included in the next release.
Regards,
Massimo
Hello @mattemkadia!
You can delete it. After a refresh, when you enter the LIVE CSS option again and press the save button, the ‘td_live_css_local_storage’ will appear again, empty.
Thank you!
Is it also a short-term idea to delete the ‘td_live_css_local_storage’ row in the database entirely or does the vulnerability allow it to be created and populated?
Incidentally, I’ve deleted the complete Option Value (below) and my background ads have now started to work again.
The full option value was as follows.
a:2:{i:0;s:0:””;s:3:”css”;s:125:”</style><span style=”position: absolute; left: -9655px;”>
test
</span>
<div>”;}
Again, should I be concerned?
Hi Guys, I’m using version 12.3 and have the following in my database.
Option Name
td_live_css_local_storage
Option Value
a:2:{i:0;s:0:””;s:3:”css”;s:125:”</style><span style=”position: absolute; left: -9655px;”>
I spotted this when trying to diagnose an issue with background ad spaces on my site where the hyperlink had stopped becoming clickable. I was looking through the source and spotted the following random code. This is near the top of the page.
<span style=”position: absolute;left: -9655px;display: none;”>
test
</span>
Should I be concerned?
Hello,
Our Newsmag theme have colors for background menu, text menu and line menu – https://i.imgur.com/IlZJKyi.png – https://i.imgur.com/nS0xK5u.png if there are any other elements that you want to adjust then it will be need to use a custom css.
Please let me know what you’ll like to change and please provide a link to the website to can inspect that section and create a css for you.
Thank you!
Hello,
Please provide the link to your website. Also, do you use a plugin to optimize CSS and js?
Thank you!
This is usually due to not also updating/replacing the old tdcomposer plugin with new one then remembering to ACTIVATE the plugin. I did same thing moving a site from 3x to 5x. You get random layout code, since the plugin with all the CSS not loaded 🙂
(I DONT WORK HERE)
Hi,
Please try this custom css:
.single .wp-block-image,
.single figcaption,
.single .td-review-row-stars,
.single .comment-form-cookies-consent,
.single .comment-reply-title {
color: #999;
}
This should be used on single post template only. he css should be set in the theme panel > custom code> custom css.
I hope this will help you!
Hi, if you just want to adjust some elements on Blog Articles then yes, you can use a css. Please let me know what you’ll like to adjust and please provide a link were I can inspect the blog, so I can make a css on your needs.
Thank you!
Thank you for the help! Regarding the mobile menu not working, I use WP Rocket to optimize my site so I switched from “Remove Unused CSS” to “Load CSS Asynchronously” and that fixed the problem.
Thank you Calin,
was a plugin that I deleted because it was annoying javascript and CSS.
Without your advice I wouldn’t have gotten there!
Thanks again
Hi,
I just checked and it appears that this is coming from an custom file – https://i.imgur.com/PclTAbo.png so what can be done is to identify from where is that code coming or to use a custom css to overwrite it:
body {
background: transparent;
}
The css should be set in the theme panel > mobile theme > custom code > css – https://i.imgur.com/iQJRwMe.png after that clear all cache.
I hope this will help you!
Hello,
yes, so an individual style with CSS is not possible
Hello filippocatania, most of the time this is happing from cache settings that are interfering with the theme javascript and css. Normally when you are logged in and the cache is not apply it should not look ok. Please check the plugin cache settings for css and javascript.
Hi muktipolice, the post title color from articles inside modules / blocks can be changed using the theme panel options – https://i.imgur.com/4kVfju0.png now in case that the block/module you are using doesn’t exist in the theme panel you’ll need a custom css like this one:
h1>a, h2>a, h3>a, h4>a, h5>a, h6>a {
color: #ffffff;
}
I hope this will help you!
Thank you!
Hello,
In case that you are referring to those modules – https://i.imgur.com/fG7IDju.png then you can use this custom css:
.td_block_3 .td-module-thumb .entry-thumb {
border-bottom: 1px solid #808080;
}
I hope this will help you!
Hello,
Please check the settings from WP Rocket https://prnt.sc/MpNQZvAk0EnZ let it to load CSS.
Thank you!
I am using the latest version of the Newspaper theme (Free News demo content). I would like to adjust the max height of the image to approximately 600px, while keeping the default width as-is. To ensure that the image does not shrink non proportionally, I would like to reposition focus to center-center if the height of the image exceeds 600px.
It would be great to do this without using CSS for performance reasons, if possible.
what i do is manually open css file and replace all default font sets with font stack using browser fonts only and use no google fonts at all
Man I’m rusty on targeting this stuff.
Basically, with a home page layout with
block 3 and 4, I think it’s .td_module_2 .entry-thumb
trying to add {border-bottom:1px solid #333333;}
basically – since original images have borders, the slightly cropped thumbs for modules chop off bottom border so looks funky. Adding a css bottom border seems like best fix.
BETA test site: https://newyorknetwire.com/
No rush. Forgotten how to target some of the td_whatever stuff.
Thank you for your help. I resolved the problem. I set the category model to 1 and edited its CSS.
Hello,
Please try this custom css:
.td-ss-main-sidebar .td-module-title a{
color: #fff;
}
set the code in the theme panel > custom code> custom css.