- NewsmagtagDiv Composer Tutorial
- NewsmagBlock settings tutorial
- NewsmagLogo & Favicon
- NewsmagFooter templates
- NewsmagUsing other ads
- NewsmagUsing Typekit fonts
HI
Try this css in theme panel custom cde > custom css to: http://screencast.com/t/GuOuHsdCdXl
.vc_item {
height: 100%!important;
}
Thanks!
Hi,
I recommend to use the Visual Composer version provided and tested with the theme. Newspaper 7.3 package contains and it was tested with Visual Composer 4.12 – https://forum.tagdiv.com/how-to-update-visual-composer-plugin/
Speed Booster is an optional plugin and it can be used to move the css and js resources to the footer, you can check the pagespeed optimization guide – https://forum.tagdiv.com/how-to-make-the-site-faster/
Thanks!
Hello,
It will get overwritten if you update and replace all the files in the main theme as a normal update does. If you use it in the child theme(i’m not sure the demo_style.css files work from the child theme as we have not tested this) then only if the demo css file gets changed will you have to re-apply your modification. (A child theme is not update proof as if the main file you transfer to it gets changed in an update and you still feed the old file through the child theme, it will create problems so you will have to replace it in the child theme as well)
I hope this helps.
Thanks.
Thanks; I had missed that different styles could be selected. I have now changed to Style 8 which has less colours. But I still believe I would like to try it with black/white/grey only. So If you can provide me with a CSS change replacing all colours with grey, I would appreciate so. It is OK to remove the colours for all styles.
Thanks.
Hello,
Unfortunately I have no list to provide the exact places where each of these 2 fonts is used. You can us the browser inspector if you want to see fonts exactly or you can check style css and search for the fonts and see where it is added. For example. use the chrome inspector and inspect an element, let’s say the main menu: http://screencast.com/t/bRAjAWhnJ you can do this for every element and see the font used.
I hope this helps.
Thanks.
Hi Team
I read your “https://forum.tagdiv.com/how-to-make-the-site-faster” and implement that but its not working, my website speed is very slow.
I want to Fix
– render-blocking issue.
– CSS and JavaScript Minify issue.
Please help me.
Thanks
Chandan Kumar Singh
http://www.jogira.com
Hi
Try this css in theme panel cosutm code > custom css to change the subtile color: http://screencast.com/t/MrW84bqmCq
.td-post-sub-title{
color: red!important;
}
Thanks!
Hi
By adding the inidcared code in style.css yopu won’t change theme’s colors. The code I’ve give you is from site’s page source and is all custom cass generated by the theme according with your customizations from theme panel.
Thanks!
Hey Andrei,
This seems to be an issue with CSS related to “vc_column_container” class, which has width: 100% and overrides CSS of the columns. After a bit of research I did find that this might be an issue with how you’re outputting classes and modifying them in VC. Someone else had same exact problem in a different theme with VC.
Here’s the info:
https://oceanthemes.ticksy.com/ticket/842704
You can see that they had a response from VC support, which indicated that:
The issue is because theme author has modified our default column classes using:https://wpbakery.atlassian.net/wiki/display/VC/Change+CSS+Class+Names+in+Output Due to this it breaks upon the update.
This sounds like a possible bug. Thanks.
For those curious about baseline speed with GTmetrix for test bed:
No additional compression of css or js done (minification);
No caching plugin running;
Mod_pagespeed is OFF;
Page has no ad, but large image, sidebar, bottom bar images; large logo.
Default Newsmag theme (not using a “style/demo”).
Share buttons ‘on’ at top of page.
Pagespeed Score: A (96%)
YSLOW Score A (94%)
Page load time: 1.2s
Total Page size: 248kb
requests: 12
Nice.
Still to do:
figure out how to fix the wonky ? query on the newsmag icon font …
/images/icons/newsmag.woff?11
a) compress style.css
b) replace gravatar with local author image
c) main css to footer; preload critical CSS in head (fixes ‘render blocking …’)
d) enable mod_pagespeed – does on the fly comment removal, image optiization for small png to base64 or webp, removes all double spaces in text for pseudo-minification; further optimizes anything loaded from google like jquery
=========
that’s it for now.
Hope this isn’t annoying folks too much 😉
————
Radu and co have really done a great job on this and theme is speedy on desktop testing ‘as advertised …” which is awesome. I was worried going from v2 to v3 was going to bring bloaty-mcbloatface, and turns out – not so much 🙂
-
This reply was modified 10 years by
simchris.
So, I want to remove Google fonts, stop them being loaded in page head, and use default mobile friendly font stack, also works for desktop:
——- PART 2 / FONT SWAP;
remove default Google Fonts in theme and loaded externally ——–
**/theme/includes/td_config.php
/remove google font calls for defalt roboto and open sans
lines 3247-3259 — remove:
/**
* the default fonts used by the theme. For a list of fonts ids @see td_fonts::$font_names_google_list
*/
td_global::$default_google_fonts_list = array (
'438' => array(
'css_style_id' => 'google_font_open_sans',
'url' => td_global::$http_or_https . '://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700'
),
'522' => array(
'css_style_id' => 'google_font_roboto_cond',
'url' => td_global::$http_or_https . '://fonts.googleapis.com/css?family=Roboto:400,300,700,700italic,400italic,300italic'
),
);
**/theme/style.css v3.1
<< do search/replace for ‘string’ using text editor like BBEdit, TextPad, etc.) >>
lines 352 + 866 + 962 + 1663 + 1752 + 1861 + 2608 + 5355 + 5388 + 5450 + 5691 + 5734 + 7303 + 7340 + 7565 + 7608 ((ETC.)),
replace: font-family: 'Open Sans', arial, sans-serif;
with modern font stack:
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
lines 379 + 387 + 473 + 1968 + 2006 + 2118 + 2160 + 2301 + 2625 + 7500 ((ETC.)),
replace: font-family: 'Roboto', sans-serif;
as above, same font stack, or choose a serif stack for replacing Roboto.
this isn’t best choice, but option:
font-family: Rockwell, Georgia, Times, "Times New Roman", serif;
======
REMINDER: these haxx need to be done EVERY theme update; keep record and backup of your files in sub-folder on your work PC/Mac to easily redo this as needed for future versions of Newsmag (if you want… or not, won’t matter to me either way … just sayin….) 🙂
found it … // answered my own query 😉 //
**/theme/includes/td_config.php
/remove google font calls for defalt roboto and open sans
lines 3247-3259 — remove:
/**
* the default fonts used by the theme. For a list of fonts ids @see td_fonts::$font_names_google_list
*/
td_global::$default_google_fonts_list = array (
'438' => array(
'css_style_id' => 'google_font_open_sans',
'url' => td_global::$http_or_https . '://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700'
),
'522' => array(
'css_style_id' => 'google_font_roboto_cond',
'url' => td_global::$http_or_https . '://fonts.googleapis.com/css?family=Roboto:400,300,700,700italic,400italic,300italic'
),
);
Okay…. was able to do good ol’ search/replace in style.css
now on hunt in classic /wp-booster/wp_booster_functions.php hack…
which looks like it’s around lines 270-304 …
forget which stuff to comment out here ….. Hmmmm……
=====
**/theme/style.css v3.1
<< do search/replace for ‘string’ using text editor like BBEdit, TextPad, etc.) >>
lines 352 + 866 + 962 + 1663 + 1752 + 1861 + 2608 + 5355 + 5388 + 5450 + 5691 + 5734 + 7303 + 7340 + 7565 + 7608 ((ETC.)),
replace: font-family: ‘Open Sans’, arial, sans-serif;
with modern font stack:
font-family: -apple-system, BlinkMacSystemFont, “Segoe UI”, Roboto, Oxygen-Sans, Ubuntu, Cantarell, “Helvetica Neue”, sans-serif;
lines 379 + 387 + 473 + 1968 + 2006 + 2118 + 2160 + 2301 + 2625 + 7500 ((ETC.)),
replace: font-family: ‘Roboto’, sans-serif;
font-family: -apple-system, BlinkMacSystemFont, “Segoe UI”, Roboto, Oxygen-Sans, Ubuntu, Cantarell, “Helvetica Neue”, sans-serif;
Hi,
I’m using the Newspaper theme (latest version)
I have activated the mobile theme on my site (www.beingfilipino.com) and noticed that when the sticky menu is activated (always, mobile or any other option), the page is re-sized (in terms of width). So here is what happens-
1. Mobile theme is activated and sticky menu is enabled always
2. I’m testing this on iPhone 6s in portrait mode
3. Load the site, the page loads and everything is fine. The content is displayed to the full width of the screen.
4. The issue starts when scrolling
5. I scroll down and then scroll up. When scrolling up, somehow the width of the container is changed due to the sticky menu.
6. if you scroll up to the very top, you’ll notice that the actual header menu is cut off on the right, meaning it has some white space at the end and the page content also doesn’t use the full width available.
here’s what i mean

I tried to change some of the css properties to show max-width, but didn’t help.
Could you help me pls???
Hi, folks
I’m “re-tuning” the NM 3.1 – having moved from v2 (finally!). Working great with the beta TD Composer so far, but barely touched that.
I’m looking to completely remove these loading from theme:
http://fonts.googleapis.com/css?family=Open+Sans%3A300%2C400%2C600%2C700&ver=4.6
http://fonts.googleapis.com/css?family=Roboto%3A400%2C300%2C700%2C700italic%2C400italic%2C300italic&ver=4.6
and instead use the new default font stack used by WordPress 4.6x in place of Open Sans.
This new font stack is a little better than the one I have been using (noted in my epic optimization tutorial thread near the end) as it is tuned for modern mobile devices much better than my desktop focused version:
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
(REF: https://make.wordpress.org/core/2016/07/07/native-fonts-in-4-6/ )
This would make a nice “default” setup for Newsmag, “unless Google fonts chosen,” vs default having Google fonts chosen.
In any case, if you can help me out by pointing me at the correct files to tweak to make this change would be awesome. Things have moved around a bit, so the old search/replace in style.css not quite same method now 🙂
I have no problem hacking a core file to remove Google font calls, as I’m prepared to do that each theme update for my other tweaks.
THANKS!
Hi,
Please provide a link to your site so I can inspect it and see if a bit of css could help.
Thank you!
Hello,
If you do not want the scroll-up element, you can disable it completely with this css:
.td-scroll-up{
display:none!important;
}
You can add the code in the theme panel -> custom css box: http://screencast.com/t/4ylz9n3DZT84
Thank you!
Hello,
Before changing the colors with css you might consider one of the social counter styles you can choose for your widget: https://forum.tagdiv.com/social-counter-styles-on-newspaper/
Let us know if you still require help with this.
Thank you!
Hello TagDiv Team,
how can i adjust in custom css the height of the Main Menu (Style 5 is used), from the standard 60px to 100px
– the text should stay in the middle of it
– the logo should be scaled up according to the height
thanks, Jan
Hi
I assume that you want to move post’s title to the top of slide block. To achieve that try this css in theme panel > custom code> custom css: http://screencast.com/t/uTJjm4qD6g
.td-theme-slider .slide-meta {
top: 16px;
}
To reduce slide’s height you can use this css:
@media(min-width: 768px){
.td-theme-slider.iosSlider-col-3 {
height: 500px!important;
}
}
To reduce the font size on mobile try this code: http://screencast.com/t/OP5LVsoJ
@media(max-width: 768px){.td-theme-slider.iosSlider-col-2 .td-module-title a, .td-theme-slider.iosSlider-col-3 .td-module-title a {
font-size: 15px!important;
line-height: 17px!important;
}
}
I hope this helps.
Thanks!
Hi,
Thanks for letting us know! I have added it on our list and it will be fixed in a future theme update.
Please try this custom css in Theme Panel > Custom Css for a quick fix – http://screencast.com/t/KEYpJ1Um
#td-mobile-nav .td-menu-socials {
height: auto;
}
Thanks!
Hi
I like the functionality of the widget Social Counter, but it adds way to much colour to my page. Is it possible to change the blue colours to an anonymous grey by doing CSS changes? Similar to the colour I use for “Prenumerera” just below the Social Counter or the Dark Gray, which I have used for the text under “Välkommen”.
I was looking for the colour codes for the headings and the text for the Home page in the Theme Panel. In which menu under Theme Panel will I find those?
Thanks from Lena
Hi,
You can use this css to increase the title for the element:
div.vc_tta-container .vc_tta-color-grey.vc_tta-tabs-position-top.vc_tta-style-classic .vc_tta-tabs-container{
margin-bottom: 26px!important;
}
You can add the code directly in the theme panel in the custom code section under custom css.
Thank you!
Hi
I can’t access the given url as it’s from your dashboard and I don’t have permissions if I am logged out.
I assume that you’re referring at that delay which appears on page’s load until the settings from theme panel are applied. That happens because the custom css generated by the theme is moved by Speed Booster plugin at page’s bottom. To avoid the delay you can try to insert all custom css generated by the theme directly in style.css. That code can be found in page’s source but you have to be very careful with it. Currently you have this custom css: http://pastebin.com/ZmyuCBNU Try to paste it in style.css here: http://screencast.com/t/HxwVJnudgGK clear the caches then test the site again.
I hope this helps.
Thanks!
Hi,
This is the property of css code, it is applied in cascade. First the default code and then it is applied the custom code.
A solution to avoid this delay will be to modify the default color directly in the stylesheet file. I suppose you use the video demo, so here you can make the change – http://screencast.com/t/HVtDs00c8
Another solution if you want to apply another background color can be, to remove the extra class from your row, so the default css is not applied anymore – http://screencast.com/t/f8HmkfXEAe and using the row settings add your own background color.
If you just want to remove the black background and leave it by default, just remove import_video_slider_bg extra class from the row.
Let us know how it goes and if you need further assistance, please provide also your site url.
Thanks!