- NewsmagLoading image effects
- NewspaperLoading Image Effects
- NewspaperIntroduction to CPT and ACF with Newspaper Theme
- NewspaperFlex Block Settings Guide
- NewspaperThe Newspaper Mobile Theme: Introduction
- NewspaperBig Grid Flex Settings
- NewspaperDesign your post pages using the Default Templates
- TutorialsDefault Block Settings Guide
- TutorialsSystem status parameters guide
- NewsmagRequirements for Newsmag
- NewsmagBlock settings tutorial
- NewspaperBlock settings tutorial
- NewspaperMore articles box
- NewspaperRequirements for Newspaper
Hi,
All custom ads have a margin bottom – http://screencast.com/t/oVOh97BjFv9 you can use custom css to remove it for each custom add that you use or for all:
.td-a-rec-id-custom_ad_1, .td-a-rec-id-custom_ad_2, .td-a-rec-id-custom_ad_3, .td-a-rec-id-custom_ad_4, .td-a-rec-id-custom_ad_5, .td-g-rec-id-custom_ad_1, .td-g-rec-id-custom_ad_2, .td-g-rec-id-custom_ad_3, .td-g-rec-id-custom_ad_4, .td-g-rec-id-custom_ad_5 {
margin-bottom: 20px !important;
}
Thanks!
Hi,
There is a margin bottom for all custom ads – http://screencast.com/t/yLYbA8Bj4 and unfortunately there is no specific class to target the ad when it is hidden. A solution is to remove this margin using media queries, try this custom css in Theme Panel > Custom Css to remove it for other devices than mobile – http://screencast.com/t/VsJTHrPH9Q
@media (min-width: 768px) {
.td-g-rec-id-custom_ad_2 {
margin-bottom: 0 !important;
}
}
Hope this helps!
Hi,
I guess that you added that banner using Article Bottom Ad from Theme Panel > Ads section, so please remove the code from that area – http://screencast.com/t/mhmmzAKoa32
Please also check documentation – https://forum.tagdiv.com/article-ads/
Thanks!
Hello!
I want to have most of the blog entries for my site to be listed on one page called News. I have a category (called news) filtered on to one page (also called News), and at present I have used the visual composer on this page to use Block 11.
I want the news page to act like the blog page however, I dont want to set it as the blog page because I don’t want all posts to filter to this page (a few posts are not news) I just most of them to do so.
I want the page to be set to 10 blogs (which it is in settings: reading) however when I go into Block 11 in the news page and delete the number of posts in the Limit Post Number and leave it blank when I save it it automatically puts 5 back in, I cant seem to do this?
Also if I was able to have the Limit Post Number set at 0 in the Block 11 in the news page (underneath it says: If the field is empty the limit post number will be the number from WordPress settings -> Reading) will all extra posts move on to a new page so that at the bottom the reader will have access to all the old posts.
Thank you for your help in advance.
HI folks … as I’m about to be enmeshed in a highly complex project for my own company, I won’t have *any* time to post “pay it forward” help around here anymore, but I thought I’d share one last thing for now — which I’d promised to do, and I just did in another post on this topic …
this is “broad strokes” on how to optimize the font loading for using Google fonts, such as OpenSans for your site; to not load the remote style sheet from Google and solve one of the issues from optimization testing related to Google fonts. This might even gain you a point in some cases!
———– SNIP————-
The theme does not load fonts via functions.php; but from the MAIN functions file used by the theme inside the /includes folder as I noted.
The following would be how we do it, in broad strokes — with idea of using OpenSans, removing roboto, and loading the CSS locally for OpenSans vs remotely.
Anybody planning to hack the theme in *any* way should explore the files in there to see what is going on with the theme.
So, to wit
theme/includes/td_wp_booster_functions.php
see around line 1318 – 1340
helps to use a proper text editor (I used “TextPad” on Windows, BBEdit on Mac).
I have not done this in awhile, but as I’m no longer going to be around here to help out, needing to move onto other things I’ll try to provide a starter point for you.
I believe I removed the whole Google fonts section; or perhaps only left in the first section as it caused error to remove it all.
————-
Next you need to search/replace any instance of Roboto from your style.css ; change the default fonts to OpenSans as you won’t be using the control panel to select it anymore.
————
‘capture’ the CSS from Google; presumably those of you who are new to HTML, webdev, etc., likely don’t understand what is going on with CSS (cascading style sheet) and how fonts are loaded.
So, basically when you “request” the fonts from Google using their API, you’re not loading the fonts, you’re loading a style sheet on their server, which in turn loads the fonts — a redirect of sorts. And this does show up as “something to fix” when doing optimization tests.
So, an old trick most of learned in the olden days of hand coding our websites from scratch is that you can put that API link into a browser window, or email it to yourself as a link also works …
Put another way if you were to go to the Google font repository, or look at the theme code, you end up with their API call, which looks something like this:
://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&subset=latin,cyrillic-ext,greek-ext,greek,vietnamese,latin-ext,cyrillic
Now if you know what you’re doing, again, you can put that URL into a browser window and it will spit out the actual “what is being loaded from that URL” … which actually looks like this:
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 300;
src: local('Open Sans Light'), local('OpenSans-Light'), url(http://fonts.gstatic.com/s/opensans/v13/DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff) format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
src: local('Open Sans'), local('OpenSans'), url(http://fonts.gstatic.com/s/opensans/v13/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(http://fonts.gstatic.com/s/opensans/v13/MTP_ySUJH_bn48VBG8sNSnhCUOGz7vYGh680lGh-uXM.woff) format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
src: local('Open Sans Bold'), local('OpenSans-Bold'), url(http://fonts.gstatic.com/s/opensans/v13/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff) format('woff');
}
that is the actual CSS being loaded .. and you can put this at the bottom of your style.css file to load the fonts from your own style sheet vs loading their style sheet remotely.
So, if you combine the three things
a) search/replace your /theme/style.css to make OpenSans your default font; remove Roboto
b) remove the section in the theme main config file so that it’s NOT loading the remote style sheets
c) put your captured CSS from Google at bottom of YOUR /theme/style.css
d) there may be one instance of roboto somewhere else in the admin code files, but I forget where that is at the moment (sorry)
e) while it should be self-evident — if your site is https; change the http in above to https.
Then you have saved the redirect of the extra style sheet being loaded from Google’s server.
You can modify this procedure to use different fonts, or multiple fonts. Just setup the fonts you want on Google’s font site, get the embed code; then “capture” the actual CSS.
Try it 🙂
-
This reply was modified 11 years by
simchris.
The theme does not load fonts via functions.php; but from the MAIN functions file used by the theme inside the /includes folder as I noted.
The following would be how we do it, in broad strokes — with idea of using OpenSans, removing roboto, and loading the CSS locally for OpenSans vs remotely.
Anybody planning to hack the theme in *any* way should explore the files in there to see what is going on with the theme.
So, to wit
theme/includes/td_wp_booster_functions.php
see around line 1318 – 1340
helps to use a proper text editor (I used “TextPad” on Windows, BBEdit on Mac).
I have not done this in awhile, but as I’m no longer going to be around here to help out, needing to move onto other things I’ll try to provide a starter point for you.
I believe I removed the whole Google fonts section; or perhaps only left in the first section as it caused error to remove it all.
————-
Next you need to search/replace any instance of Roboto from your style.css ; change the default fonts to OpenSans as you won’t be using the control panel to select it anymore.
————
‘capture’ the CSS from Google; presumably those of you who are new to HTML, webdev, etc., likely don’t understand what is going on with CSS (cascading style sheet) and how fonts are loaded.
So, basically when you “request” the fonts from Google using their API, you’re not loading the fonts, you’re loading a style sheet on their server, which in turn loads the fonts — a redirect of sorts. And this does show up as “something to fix” when doing optimization tests.
So, an old trick most of learned in the olden days of hand coding our websites from scratch is that you can put that API link into a browser window, or email it to yourself as a link also works …
Put another way if you were to go to the Google font repository, or look at the theme code, you end up with their API call, which looks something like this:
://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&subset=latin,cyrillic-ext,greek-ext,greek,vietnamese,latin-ext,cyrillic
Now if you know what you’re doing, again, you can put that URL into a browser window and it will spit out the actual “what is being loaded from that URL” … which actually looks like this:
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 300;
src: local('Open Sans Light'), local('OpenSans-Light'), url(http://fonts.gstatic.com/s/opensans/v13/DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff) format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
src: local('Open Sans'), local('OpenSans'), url(http://fonts.gstatic.com/s/opensans/v13/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(http://fonts.gstatic.com/s/opensans/v13/MTP_ySUJH_bn48VBG8sNSnhCUOGz7vYGh680lGh-uXM.woff) format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
src: local('Open Sans Bold'), local('OpenSans-Bold'), url(http://fonts.gstatic.com/s/opensans/v13/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff) format('woff');
}
that is the actual CSS being loaded .. and you can put this at the bottom of your style.css file to load the fonts from your own style sheet vs loading their style sheet remotely.
So, if you combine the three things
a) search/replace your /theme/style.css to make OpenSans your default font; remove Roboto
b) remove the section in the theme main config file so that it’s NOT loading the remote style sheets
c) put your captured CSS from Google at bottom of YOUR /theme/style.css
Then you have saved the redirect of the extra style sheet being loaded from Google’s server.
You can modify this procedure to use different fonts, or multiple fonts. Just setup the fonts you want on Google’s font site, get the embed code; then “capture” the actual CSS.
Try it 🙂
Hi
1. Please provide a link so i can inspect this problem closer.
2. This delay usually happens because of the speed booster plugin which move the css and js at the bottom of the page structure so that the page will load faster and because of the cascading property of css the text appear this delay. Try to add the custom css that I give you in style.css: http://screencast.com/t/QzC0stQhO
Thanks!
Hi,
You can try to make this change directly in style.css file and see if still the default color is being applied. Also this delay usually happens because of the speed booster plugin which move the css and js at the bottom of the page structure so that the page will load faster and because of the cascading property of css the default color appears first. So if you use it(speed booster), changing it directly in the stylesheet file you should not have this delay.
Thanks!
Hi,
The bottom ad is apart of the content and you will need custom modifications to move it. The best solution is to paste your code in a custom ad instead of bottom ad and use do_shortcode function to place it bellow the content for each post template that you use – http://screencast.com/t/cKNtdoNLj – http://screencast.com/t/5Jzt5O1qTJj
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');?>
-
This reply was modified 11 years by
Alin [tagDiv].
Hi Again,
Here’s a link to my site so you can see what I mean: http://www.irreverentgent.com/
Here’s the custom CSS I’m using right now to make it look this way:
.td-header-menu-wrap {
border: 2px solid #cccccc; }
.td-header-style-7 .td-header-sp-logo img {
max-height: 150px;
padding: 0px 0;
}
I’m hoping to make the whole header move down to align with the bottom of the logo, rather than have the logo pop out of the header as it does now. Any advice would be greatly appreciated.
Thanks again!
Thats, the question: How can I move the botton article ad spot below the bottom share bar? I use the “from the web” kind of ad and its annoying that moves far below the article tags, share bar and even reviews.
Hi,
Please try this custom css to remove margin bottom for header ad – http://screencast.com/t/Jadjb8rXeR
@media (max-width: 767px) {
.td-header-sp-recs img {
margin-bottom: 0 !important;
}
}
If you want to reduce mare that space you will have to reduce padding(you already have a css for it) – http://screencast.com/t/265z52NBWY on mobile view using media queries – http://screencast.com/t/kklFJuGXG
Thanks!
Hi,
Thank you for your help! Another problem I am facing with this technique is that the row background image does not seem to be responsive. It appears fine on a desktop browser but in a phone screen, the image does not get smaller. What kind of media queries can I use to make it responsive? I tried the Column Settings (“Responsive Options”) but that did not seem to work either.
Also, I want the row background image to have a gradient just like some of the other slide based modules in the theme. I tried assigning the class “td-image-gradient” to the image but the gradient is not applied uniformly as shown in the screenshot.
I’d like to move the text block to the bottom of the row image. I tried a few CSS changes but couldn’t get that to work either.
Appreciate the help.
Hi,
Please check documentation(Requirements for Newspaper) – https://forum.tagdiv.com/requirements-for-newspaper/ and this guide – https://forum.tagdiv.com/pagespeed-guide/ We recommend now Wp-Super Cache instead of W3 Total Cache, it seems to be faster and we will change this also in the documentation.
Also try to use only plugins that you need. The speed booster move the js and css at the bottom of the page to eliminate render-blocking, but not for all plugins.
Thanks!
Hi,
This usually happens because of the speed booster plugin which move the css and js at the bottom of the page structure so that the page will load faster, this is why the theme default color appears first then changes, because of the cascading property of css. A solution is to change the color directly into css stylesheet, which will make your colors to load first and stay that way. You could also deactivate the plugin if you don’t need it.
Thanks!
Hi,
1. You can change or remove the background color for post style 11 using this custom css – http://screencast.com/t/DSlNSv9BGCy
.td-video-template-bg {
background-color: rgba(199, 88, 88, 0.66);
}
.td-video-template-bg-small {
background-color: rgba(199, 88, 88, 0.66);
}
Also if you wnat to change the color for these elements on post style 11(breadcrumbs for all articles) – http://screencast.com/t/NVN9nhPou0es
.td-post-template-11 .td-post-title .td-post-author-name, .td-post-template-11 .td-post-title .td-post-date, .td-post-template-11 .td-post-title .td-post-comments a, .td-post-template-11 .td-post-title .td-post-views {
color: #e6e789 !important
}
.td-post-template-11 .td-post-title .td-post-author-name a {
color: #e6e789;
}
.single .entry-crumbs,.entry-crumbs a {
color: red;
}
2. If you want to remove gradient from featured image on post style 3 please check this custom css in Theme Panel > Custom Css: http://screencast.com/t/noSEG5Iw
.single_template_3 .td-image-gradient:before {
display: none;
}
Or if you don’t want to remove gradient and just to change it to a lighter color this is the default background color so you can change it:
.single_template_3 .td-image-gradient:before {
background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0.8)));
background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
}
Hope this helps!
We’d also like to remove some of the padding and let the logo image take up more of the header space, but not make the black area taller.
Padding should be –
left – 35px
top/bottom 15px
I thought it might be better to combine these instead of making a new entry.
Thank you!
Hi Sir, I am not good in coding so I am messed up all the way. This is my website: http://www.kickscoop.com I removed the pinterest and google+ share button from blog post. Now i want all these things to be customized in Social share buttons:
1) Adding a “Share on Whatsapp” button both in top and bottom of the post. Also customize the buttom to look green and have whatsapp icon (Whatsapp Share URL: whatsapp://send?text=The text to share! [Got it from Stackoverflow] )
2) Remove the Classic Facebook like and Twitter tweet button from bottom sharing buttons and also remove the boxed part. Both the sharing buttons present above and below should look nearly the same. Also after clicking “Tweet on Twitter” the share url should popup, not open it in the same tab.
3) “Share on Whatsapp” button should be visible only on tablet and mobile devices but not in desktop devices.
Sir, Can you please help me to customize? If you can just edit the codes and share it with me or I can mail you my login credentials so that you can make change directly from my admin panel if you wish. Thanks in advance
Hi,
Sorry for delay, we answer to the most oldest topics and because you’ve added a new replie we missed your post!
I’m not sure what you have changed in td_css_generator.php file, it creates a css code for your when you make some changes in Theme Panel.
If you want to remove that margin you can try to paste your css code in Custom Css from Theme Panel – http://screencast.com/t/Li0BywZuKEwQ please try this:
.td-header-style-1 .td-header-sp-recs {
margin-bottom: 0px !important;
}
Or provide your site url so we can take a look and provide an accurate solution.
Hope this helps!
Hi,
Please remove also the margin bottom there – http://screencast.com/t/zvNJMr7RQL
#sola_nl_title h3 {
margin-bottom: 0px !important;
}
1. You have an option and you can choose what articles should be displayed on more article box – http://screencast.com/t/W3s9EShy
2. You can use Style 4 for each Big Grid – http://screencast.com/t/9rTVSf4G2e6 – http://screencast.com/t/XnBppWJqpRx
Or you can use this custom css to remove gradient background – http://screencast.com/t/aAxd2Exku but it wont look nice if you have white background images.
.td_block_big_grid_2.td-grid-style-1 .td-module-thumb a:last-child:before {
display: none;
}
Thanks!
Go to: newspaper/includes/modules/td-module-single.php
Delete ONLY the highlighted portion of text shown inside of the green box, not all of the code in the green box:

Delete from the <a> to the </a> for the last two links to remove the two networks in question.
*** Note that my buttons show differently than the default buttons. I’ve already updated my buttons to remove Pinterest and include Reddit instead. In either case, the final two links in that block of code are the two you need to delete. Those last two in your code should be for Google Plus and then for Pinterest. My updated links are formated identical to the default links, hence showing you them instead of default code.
***** Also note that there are two parts of this and only one is shown. In that same file, this code is basically repeated. One for the top above the code shown in the screenshot, and one block for the bottom sharing buttons, as shown in the screenshot.
Good luck.
WP strips out HTML in the author/bio box (“sanitizes”). This has always been the case. On many sites users are allowed to register, and HTML in ‘bios’ would be additional spam on the ‘author page.’
You have to modify the code, typically with functions.php to enable such functionality. Not theme related, specifically.
Try adding something like this to your functions.php file
in your theme folder, at bottom
//disable WordPress sanitization to allow more than just $allowedtags from /wp-includes/kses.php
remove_filter('pre_user_description', 'wp_filter_kses');
//add sanitization for WordPress posts
add_filter( 'pre_user_description', 'wp_filter_post_kses');
After activating this snippet, the author bios can include p, br, and other HTML tags.
Warning
WordPress sanitizes user input for security reasons, not just to annoy you and make you go on a hunt to find this post to learn how to override the annoying setting.
If you’re considering disabling the WordPress sanitization, make sure you trust your users to not enter potentially harmful content into their profile bios. This includes iframes, forms, and more.
Welcome to WordPress! 🙂
-
This reply was modified 11 years by
simchris.
Hi,
Please remove the space between .td_block_big_grid_1 and .td-grid-style-1 sorry!
.home .td_block_big_grid_1.td-grid-style-1 .td-module-thumb a:last-child:before {
background: -moz-linear-gradient(top,rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 100%);
background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,rgba(0,0,0,0)),color-stop(100%,rgba(0,0,0,0.3)));
background: -webkit-linear-gradient(top,rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 100%);
background: -o-linear-gradient(top,rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 100%);
background: -ms-linear-gradient(top,rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 100%);
background: linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 100%);
}
Thanks!
Hello
We use your NEWSPAPER theme for more than two and a half years. We have recently updated the theme from a 4.6 version to the new version 6. We found a major change of theme-side performance and ergonomics but the problem is that we have lost the appearance of our site from version 4.6. We would like to know how can edit the following in this new theme:
– Large slider (1 3): the slider is different, there are more the purple background (we have a general color theme purple) on tracks and there is a black/grey gradient background on the pictures, how to edit? see at : http://www.iphonologie.fr
– The title of articles: become black colour, we want to have a purple color. see at : http://www.iphonologie.fr
– The bottom headlines: widget, blogs, button, tag,…, all these elements have changed background color in black, how to modify our color? see at : http://www.iphonologie.fr
– On pages: the sidebar not beside the content but appears at the bottom of the page. The page became so centered, how to return to the design of front (4.6)? see at : http://www.iphonologie.fr/gagneruniphone-faq/ , http://www.iphonologie.fr/gagneruniphone/ , http://www.iphonologie.fr/conditions-generales-dutilisation-du-site/
– how to avoid doubling articles on same page? ?
– How to remove the name of the author of the articles on share facebook ?
Hi,
This is what the test give you: Your page has 8 blocking script resources and 16 blocking CSS resources. This causes a delay in rendering your page. http://screencast.com/t/mXT6tmcZCF
Please check the System status: http://screencast.com/t/SX1bsfhx
You use a lot of plugins. The speed booster move the js and css at the bottom of the page to Eliminate render-blocking, but not for all plugins. You need to modify the plugin(speed booster) if you want to work with other plugins, but nothing is guaranteed that will work.
Read here: The demo uses the tagDiv speed booster plugin – basically that plugin will make the theme use the compressed javascript file from the theme (instead of the regular one) and it also moves all the stylesheets and javascripts (codes) to the bottom of the page. This may break compatibility with some wordpress plugins (the ones that we recommend when you install the theme are well tested and work perfectly

