- 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,
The title could be aligned to the left with a code like this
– https://www.screencast.com/t/mKj2cmtRxrg
I also added a small margin you can remove that if needed, or modify it. If you remove it the title will be like this
– https://www.screencast.com/t/X3nkqpWe6U
.td_block_template_14 .td-block-title > * {
float:left;
margin-left: 10px;
}
The code can be entered in Theme panel->Custom CSS section.
That text is the post excerpt. Some block modules show an excerpt, others do not. Here you can see how all the blocks look
– https://demo.tagdiv.com/newspaper/block-1/
Here you can see what modules each block contains
– https://forum.tagdiv.com/theme-blocks-modules/
If you want to use a block that displays an excerpts and remove it, enter the value of 1 in it’s excerpt settings
– https://forum.tagdiv.com/excerpts-introduction/
Thanks
Hi,
Using CSS that can be done, especially if you don’t use Adsense ads (with Adsense hiding ads should not be done).
So the code to remove the ad just for that post page
– https://www.screencast.com/t/tfKOwn1P
.postid-8422 .wppaszone.paszone-5819 {
display: none!important;
}
Thanks
Hello,
Please add this code in your theme panel-> custom css box and change the color in the code for the one you need:
.td_block_image_box.td-image-box-style-2 .entry-title a{
background-color: lightblue;
}
Thank you!
Hi
Firstly thank you for the hard work you put into developing another seamless upgrade to the brilliant Newspaper theme.
I am using the Style 3 header on http://www.womensgolf.com and I would like to centre align the top and main menus. Currently they are left aligned. Is there some custom CSS that will achieve this?
I have linked a picture of the current header.
src=”https://www.dropbox.com/s/xf5dqbq1mfvznjb/header.JPG?dl=0″ alt=”current header on womensgolf.com” />
Thanks
Richard
Well, you need to take the child theme from v8, then apply any customizations you did with v6 to the v8 child theme. So, let’s say you put a custom footer in your v6 child theme, you’d move that over to the v8 child theme.
So, you might use file comparison software and compare the v6 theme with the v6 child to see what you changed; then move over any edits to the v8 child theme. Only reason to use child theme is if you made changes to the files (I personally just hack the main files, and keep track of that; stuff like removing the pingback in header, or removing comment count from the author block page element for author index, etc.).
Basically if you use v6 child theme to “over ride” the v8 theme, then of course stuff will be broken as the CSS, various functions, etc. are different. So, it’s like over-riding one theme with totally different theme — won’t work.
Hello,
You can do it with a bit of css. Here is an example:
.td_ajax_load_more{
font-size: 15px;
border: 2px solid #ff0000;
}
.td-load-more-wrap a{
color: #ff0000;
text-transform:uppercase;
}
You can add the code in the theme panel-> custom css box.
Thank you!
Hi,
So the footer logo on mobile should be of the same size as the header logo, on mobile.
Try something like this – https://www.screencast.com/t/gsoz9vsmDZ
That should be entered in Theme panel->Advanced CSS in the phones section
.footer-logo-wrap img {
max-height: 100px;
}
Thanks
Hi,
So you want to remove just the icon? Content of an iframe will probably not be affected by CSS targeting so that will not work. Maybe you can modify the code or implementation you use for that section, or maybe there are more styles to choose from, also with no icons.
Thanks
How to Remove render-blocking JavaScripts and Optimize CSS Delivery in newspaper theme ?.
I am using nginx and since nignx helper plugin is installed i can’t use the td- speed booster plugin. My desktop pagespeed score is okay , but in Mobile its is 57!
http://www.screencast.com/t/lSAp9CGhWO8G
Site https: // insanertech.com
Hi Simion, I did some preliminary tests of Composer and the WooCommerce shortcodes… Using the shortcodes in Composer doesn’t seem to be easy. Composer breaks the CSS and weird design issues come up.
I know Newspaper isn’t a WooCommerce focused theme, but when Composer hinders the use of a core plugin that is developed by WordPress (WooCommerce) I start to raise an eyebrow. And I’m not only speaking about this issue.
When Composer is enabled it disables sidebar selection on a page per page use case. Even on pages that aren’t being developed with Composer. It just doesn’t make sense from my perspective.
Just my thoughts.
Best,
IC
Many folks have asked about this.
This is the method I use.
I want to be able to selectively show or hide menu items from the main desktop menu or the mobile menu.
Why?
Sometimes there are many extra buttons a user will need to have access to quickly on a mobile device, but these items dont need to show on the main menu. Often we add supplemental links at the footer of websites for advertising inquires or secondary pages. We dont want them on the main menu, but they are important, yet we dont want mobile users scrolling for miles to find the button either.
or another reason…
The items shown in a drop down or megamenu on the desktop do not look good on mobile.
for example, you may have a button called “help” on the desktop. This button would indclude items like “reset password” or “your account”.
on a desktop it rolls over very nicely, but on mobile it requires an extra tap to the “help button” and then drop the menu down to see the choices.
so to solve this you can selectively hide or show menu items via CSS
They will still load and might be visible for a split second as CSS will only visually hide it wont remove it.
You will often need to create TWO menu items of the same things.
You can show one to the desktop users and show another to the mobile users.
To hide menu items from desktop but show on mobile:
(find the menu item number in the menu section of wordpress, just roll mouse over and look at the link at the bottom of the browser, it will contai your menu item #)
Then add this to the Custom CSS section of your theme panel with your menu numbers
(replace 123 with your menu item number)
@media(min-width:767px){
.menu-item-123, .menu-item-123{
display:none!important;
}
To show items ONLY on desktop and HIDE on mobile try this
It is especially usefull when you dont want drop downs to appear on the mobile menu slideout but still want the items to show in the mobile menu slideout.
@media(max-width:767px){
.menu-item-123, .menu-item-123{
display:none!important;
}}
Admins feel free to correct me.
Hi,
On the homepage of the site in the header section I would like to remove the YouTube Icon. I have targeted it using CSS with the inspector tool many times only to have that CSS applied and not work.
I have tried using incognito browsing and deleting all browser caches. Nothing seems to remove it.
The site homepage is here – https://www.thechildhoodlife.com
Thanks
Shane
Hello, can one change the background color of the comment counter somewhere in the backend or is it only with CSS? See the screenshot:https://www.dropbox.com/s/yvk54g72httxthx/Screenshot%20%282%29_LI.jpg?dl=0
Good to know. Then what is the CSS to change the color of the line on the block title. It’s the description block title in WooCommerce.
Thanks.
Hi,
It seems the ad code has in it an image of 1px by 1px, this is detected by the theme which sets a 100% width for it. Then that small image (basically a small dot) is stretched to fill the sidebar space.
I don’t know why the ad code has such an image in it, however a code like this would fix the ad in the sidebar
– https://www.screencast.com/t/etXLHUBii
Enter it in Theme panel->Custom CSS code section
.td-a-rec-id-sidebar img {
width:auto;
}
Thanks
Hi,
Super cache will serve the cached version of the website to non-logged users, try installing it and check while not logged in. Admins or logged users will not be served with cached content. We have a guide for it, the interface of the plugin changed but most of the settings are the same
– https://forum.tagdiv.com/cache-plugin-install-and-configure/
Try to minify the CSS as well, minify it manually
– https://cssminifier.com/
Or try as suggested here in this topic
– https://forum.tagdiv.com/topic/tip-how-to-easily-minify-your-css-without-breaking-your-site/
I see only one error in the website, related to some plugin
– https://www.screencast.com/t/wEShUcm6qJrt
That might not cause slow loading speed however.
You should also consider using the latest version of theme theme when available, there are fixes and improvements with each update. Since 8.7.5 the theme is also GDPR compliant as well. This is an update guide
– https://forum.tagdiv.com/how-to-update-the-theme-2/
Hello,
If you want a larger image, you will first have to increase the thumb size here: https://www.screencast.com/t/9tfi2IlrTdD
Let’s assume we want a 256px image. I would then increase the max width to 256px by using css:
.author-box-wrap .avatar{
max-width:256px;
}
But now we also need to increase the margin for the text and social icons for them to position properly:
.author-box-wrap .desc{
margin-left: 270px;
}
You can add the css codes in the theme panel-> custom css box
Thank you!
That is an unusual problem, it seems to be related in someway with the top header ad. If removed the problem is gone. I could provide you with a code to fix it
#td-outer-wrap {
overflow: -webkit-paged-x;
}
Enter it in Theme panel->Advanced CSS in the phones section, check if it fixes the problem.
Hi,
The theme has a stylesheet for Woocommerce elements, which will be loaded in Woocommerce pages
– https://www.screencast.com/t/XemZ37jRUC
There are a few fonts set there. You could add more code in that stylesheet or in the custom CSS code section, also change the default fonts used if needed. There are a few settings in the theme panel as well
– https://www.screencast.com/t/RgmnSEiW0
Once you load a font in the theme panel you can apply it with CSS for woocommerce elements. It should be loaded for all locations.
Thanks
Well i started with deleting the images from some blocks (less requests and better text to code ratio). Try to use only plugins if u really need them keep them as few as possible. Optimizing and compressing the images you post is something to do there’s several plugins wich can do that i use ewwww image optimizer (I should mention this plugin is not supported by the theme plugin TD Speedbooster).
Now the following things i recommand only if you know what you are doing because this can completely break your website. So what i did more was minifying all the css and js files i used and combined them both seperated ofcourse into one file. Created “above the fold inline css” and Preloading the combined ccs file and loading the js file asynced at the bottom and minified the html ….. thats basicly most things u can do too speed up your website.
Of course, tried using WP Super Cache plugin, it made little difference. The elephant in the room is the https://www.nysubway.com/wp-content/themes/Newspaper/style.css?ver=8.7.3 file load speed, everything else is small potatoes.
Hi,
I have a pretty powerful server, but my site speed is pretty slow with NP8. I am working my way through https://forum.tagdiv.com/how-to-make-the-site-faster/ to resolve the issue, but I have think I may have found the culprit when running a performance test. The https://www.nysubway.com/wp-content/themes/Newspaper/style.css?ver=8.7.3 file takes a 3 full seconds to load, which is just nuts as it needs to load before any content. See the Screenshot below.
Please advise if this is correct.
http://www.screencast.com/t/fT5m519mTSf
Hi,
1. If none of the 7 big grid styles are according to your requirements
– https://demo.tagdiv.com/newspaper/full-big-grid-3/
Then the only option would be to use CSS code. I could try to give you a solution if possible, mention how exactly you want the grid to align that meta.
2. Only big grids have that effect, blocks and other elements do not have such a design.
3. There are some issues with the font settings for full big grids, I can give you a temporary fix for the font size if you should consider using it
– https://www.screencast.com/t/qYWL1XNu
.td_block_big_grid_fl_3 .td-big-grid-post .entry-title {
font-size: 30px;
line-height: 38px;
}
It is happening also on Chrome, try entering this code in Theme panel->Custom CSS
– https://www.screencast.com/t/7Vl8p93abZz
@media (min-width: 1141px) {
.td_stretch_content .sf-menu .td-mega-menu ul {
width: calc(101% + 2px) !important;
}}
Thanks