- 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
- NewsmagtagDiv Composer Tutorial
- TutorialsFrom WPBakery to tagDiv Composer
- NewspapertagDiv Composer Tutorial
- NewspaperTheme modules and blocks
- TutorialsDefault Block Settings Guide
- NewspaperThe Mobile Theme
- NewspaperCompare theme files – Winmerge tutorial
- NewsmagBlock settings tutorial
- NewsmagLogo & Favicon
- NewsmagFooter templates
Hi commandeleven, if the problem was only about the layout and you also have extra cache or optimize plugins then it is possible to be a conflict between the theme option for inline css and those plugins – https://i.imgur.com/hz9fc5Y.png
Thank you!
was able to fix it, css issue
Hello. I have Newspaper theme on https://www.cinefilia.ro/ and I wanted to add a jetpack subscription box. I really hoped that i could’ve looked something like the social media count box i used on the page so they would blend in better, but when i added the widget it turned like a mess. So I searched and found a CSS custom code that I can edit. I added it in the place and it didn’t changed that much. It got some features at the email box (is now pink as the template code, i will change the colour, but first I want to make it work well), but not all the changes (the subscribe button is still rounded and gray and ugly) and I’m concerned that it might be in a conflict with other stuff… somewhere… I really don’t know. I even tried to add a direct code to a subscription box in a text directly in the homepage design… but if i add the custom code it doesn’t change at all and it looks even worse. I feel really lost… as I am going in circle… I don’t know where to start looking for any setting that may conflict that CSS custom features.
The code I used is this one:
.widget-title {
font-size: 15px;
margin-bottom: 20px;
text-transform: uppercase;
letter-spacing: 2px;
text-align: center;
}
.jetpack_subscription_widget .widget-title {
font-size: 15px;
margin-bottom: 20px;
text-transform: uppercase;
letter-spacing: 2px;
text-align: center;
}
#subscribe-email input {
width: 85%;
height: 40px;
padding: 10px 8px;
font-size: 15px;
float: left;
border: 1px solid #ffb2a0;
}
#subscribe-submit input {
background: #ffb2a0;
width: 15%;
padding: 0;
border: 1px solid #ffb2a0;
height: 40px;
}
I think you may came across it as there are not that many custom subscribe button tutorials online. So… do you have any recommendations?
2. Oh… and another question. I added a custom text with a really long shortcode as a calendar that automatically displays only that day events with photos and links despite the fact I set more days in advance. I’m really emerged by this feature for the homepage, but I’m concerned that when I will add more images and stuff (even is they are not on display in that day) the homepage might feel heavy and have speed issues as it is already a busy page so I made a page with the same content, but i can’t get it to show exactly like the one from the popcorn section. I added a test just above the popcorn section and it displays all of the code. I will let it there until you will answer. Any idea how to externalize this in a page? In other themes I used Content views plugin, but I disabled it as I didn’t know if it worked well or might work (in this instance I just forgot if i tested it with your theme), but I actually want to make more without that many plugins so I would like to find a more practic way to do this. I’m still concerned that I have to many plugins.
That’s all for now,
Thank you in advance!
Have a nice day!
Hi,
You need to select the sticky menu and select the row to change the color -> https://i.imgur.com/oZq7AvW.png in the tab css.
Thank you!
Hi,
I see. what I suggest is to enable the error log to see what is registered there.
Also, what I suggest if is that you use a cache plugin or optimize plugin that optimize the css to disable the option from the theme panel – https://i.imgur.com/TzHfP8Q.png
Thank you!
live-css is a plugin used by td-composer that creates a backdoor for anyone to add malware. You need to fix your plugin.
function td_live_css_on_rest_api_init() {
$namespace = ‘tdw’;
register_rest_route($namespace, ‘/save_css/’, array(
‘methods’ => ‘POST’,
‘callback’ => ‘td_live_css_on_ajax_save_css’,
‘permission_callback’ => ‘__return_true’,
));
}
should be false
Hello, I am having problems with the website.
ESET antivirus detects JS/Agent.RAN
and also the following error:
https://sitecheck.sucuri.net/results/https/tributum.news
Some help?
Thank you
Hello Muhammad Nagib Alaydrus!
Delete the CSS from the theme panel -> custom code -> custom css.
Thank you!
Hello Muhammad Nagib Alaydrus!
Edit the page with the tagdiv Composer(green button), scroll down, and find these fields: https://prnt.sc/PeQK3eh0H591, open them and delete the CSS code.
Thank you!
Hello @pavel_t !
Yes. I also added a request, so we can adjust it with some CSS directly in the theme.
Thank you!
Hi iegexpo, did you disable/enable the new options for inline and aggregate css from the theme panel? Because if there is an extra cache plugin or optimize plugin for css used it can create problems – https://i.imgur.com/s2qpatr.png (this was one of the problems that some users had after theme update to 12.6 and used extra plugins for css optimize).
Thank you!
Hi,
Please use this code, you can change the width
.tdb-block-inner .wp-block-table {
white-space:pre;
overflow:auto;
width:500px;
padding:10px;
}
Set the css in the theme panel > custom code > advance CSS > phones (this code will be applied only on the responsive version).
Thank you!
Hi,
If you are using the EWWW Image Optimizer to deliver CSS background images as WebP (inline CSS only), you need to activate the EWWW IO lazy loader.
I hope this will help!
But now I can’t change the font size, color, etc. To do so, I have to add more code in custom css. The alignment is screwed on my site, don’t know why. So there’s a lot of work.
It would be great to have it in the panel or composer. That’s why I requested it as an integrated feature in the theme for future updates. I don’t urgently need this feature, and it’s not that crucial anyway. Just as an enhancement in UX, and for the aesthetics. I saw it on your website and thought it looked pretty slick. That’s it.
Hello!
Is that the error you getting as my log is full of it
[25-Sep-2023 20:04:18 UTC] PHP Warning: Undefined array key “undefined” in /var/web/site/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_css_res_compiler.php on line 545
Oh, that’s pity. Never mind, I tried gallery as a part of Text with title element as you suggested and its suitable for me too. Just it is not responsive (number of columns) so I had to solve it by custom CSS.
Yesterday I discovered my all updated but the theme (due to modal error) sites running Newspaper suffered an injection in head creating a new place holder tdw (tdw-css and such elements) calling to a news and suspicius js:
https://cdn.statisticscripts.com/stats/post.js
and the one of the other sites call to this:
https://one.dataofpages.com/sources/cdn.js
VirusTotal has a clear opinio about the file
https://www.virustotal.com/gui/url/1667b534f91bf126e5d2cef952bf96405dd51e1ff2bdaec05b2c377e44da3441?nocache=1
So I had to update urgently the theme to last version without testing if modal lightbox and classic editor is working again like in 12.3. I’ve not summarised what it could be affected and had to look everything when I have more time.
Any clue about this vulnerability? Are you aware?
Best regards
Hello @fassjnkp!
You can set a fixed height size for elements in the tagdiv composer because we’ve added a new feature in the latest update: the height option in the CSS tab of the elements.
Thank you!
Hello,
Than you for letting us know about this. We’ll make some checks and see what can be the problem.
Also, if you are using some cache or optimize plugins what I can suggest is to disable the new option for inline css from 12.6, because it is possible to interfere – https://i.imgur.com/x8plsG7.png
Thank you!
Hi,
In the latest version, we added some new options to minify inline css and AGGREGATE INLINE CSS in the Theme Panel -> Block Settings. If you use WP Rocket can cause some problems so don’t use it.
Thank you!
Hello,
You can do it with custom code css -> https://i.imgur.com/II5JDIS.png
.td-smart-list-button
{
border-radius: 25px;
}
Set the code in Theme Panel -> Custom Code -> Custom CSS.
You need to use the smart list from tagDiv Composer, inside Single Post Content ->
https://i.imgur.com/dbipPWQ.png according to the documentation https://forum.tagdiv.com/smart-lists/. You can create the smart list in Gutenberg.
Also, you don’t need to use the classic editor, you can use the Gutenberg editor, which is the default editor for WordPress and select/add the element classic https://i.imgur.com/9sWuCtW.png to add the smart list.
Thank you!
Hi,
Theme is missing the style.css stylesheet error. One of the reasons you may receive this error is if you have uploaded the incorrect file – https://help.market.envato.com/hc/en-us/articles/202821510-Theme-is-missing-the-style-css-stylesheet-error
Thank you!
Hello,
for everyone with this problem, you have to:
disable newspaper theme and delete the folder. Disable td composer and all plugins related to newspaper theme. Delete all.
Go to wp-content/plugins and search wp-zexit or wp-swamp.. delete folders
we will Install a fresh wordpress.. backup your wp-content folder to not lose your uploaded files, etc… backup wp-config.php, and any other file you find important inside your site folder. We will erase the folder. Backup your database.
Delete all files inside your site folder.
Download WordPress from wordpress . org/latest.zip , unzip it in the site folder. Please note that it will create a wordpress/ folder, and you need to copy all files to your root folder
restore your wp-config.php and wp-content folder that you have backed up
Now you have to check if your database is compromised, probably it is
on your wordpress database, check on wp_users if it have an user that is not created by you, probably with the name “greeceman”. Using command line code is ‘select * from wp_users;’
Delete user.. if the Id of the hacker user is for example 19, then use ‘delete from wp_users where ID=19;’ if you are using command line. Please don’t ever use SQL commands without the where clause.
Check if there’s something on ‘td_live_css_local_storage’ using ‘select option_value from wp_options where option_name = ‘td_live_css_local_storage’;’, probably is full of obfuscated sh1t.
Clear with ‘UPDATE wp_options SET option_value = ” WHERE option_name = ‘td_live_css_local_storage’;’
OK, I have figured out something..
I wanted to change the container width so I make the changes style.css file. here what I did –
.td-container {
width: 1200px;
background-color: white;
}
so as soon I make it 1200px; my site design get ruined. and even after changing the it back to its original number wasnt helping as well. so i copy and paste the code in the additional CSS and thats why the same width is showing on mobile.