website liive.org – https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fliive.org
Lab Data
First Contentful Paint
4.8 s
Speed Index
28.8 s
Largest Contentful Paint
47.1 s
Time to Interactive
34.8 s
Total Blocking Time
3,480 ms
Cumulative Layout Shift
0.029
Screenshot
Screenshot
Screenshot
Screenshot
Screenshot
Screenshot
Screenshot
Screenshot
Screenshot
Screenshot
OpportunitiesThese suggestions can help your page load faster. They don’t directly affect the Performance score.
Opportunity
Estimated Savings
Serve images in next-gen formats
21.15 s
Efficiently encode images
15.45 s
Preload key requests
9.21 s
Remove unused JavaScript
4.8 s
Eliminate render-blocking resources
1.83 s
Remove unused CSS
0.75 s
Defer offscreen images
0.45 s
looking to fix the major issues – any one free to support? Willing to pay if needed.
Hi all,
Odd challenge here, and I hope I can get some pointers.
My site Wise Living Magazine (https://wiselivingmagazine.co.uk) was approved for AdSense, has a status of ‘Ready’ and I have created and placed ad units using Newspaper’s Theme panel > Ads. I have pasted the ad code into the ad spots (Header etc).
However, ads are only showing up in WordPress Previews of posts – but not the actual post itself when live! So far, no ads have been appearing on the live site, but they do appear when previewing a post (new or an existing post).
Could it be because I am deferring JS and CSS? Is there a bug with the Ad placements in Newspaper? Could it be caching? Am I being too impatient (but why would ads show in preview)?
Things to know:
Account activated 24 hours ago; ad units created 12 hours ago
Site status is ‘Ready’
I have purged the caches on CloudFlare (CDN) and LiteSpeed (WordPress cache)
No ad blockers
Tried incognito mode, ensured Javascript active
Checked script in <header> tags, checked ads.txt file
Plenty of traffic (>1k sessions so far)
Installed and using Site Kit
A couple of questions, please:
Key question: why are ads showing in Preview but not on the live site?
Could deferring JS, using LazyLoad etc be the culprit (though the same settings apply to Post Previews). Anyone else experience this with Newspaper?
Any ideas? Would love to actually serve the ads!
Many thanks, and keep safe!
Matt
Hi,
If you are using a single post template or PRO Demo you can edit the template with tagDiv Composer and change the color -> https://i.imgur.com/9iuSCyB.jpg -> https://i.imgur.com/9oggUjh.png or if you are using a standard post style the you’ll need to use a custom css.
Thank you!
Hmm ok. Most themes have the option in the customizer to change the breakpoint. There wouldn’t be a problem to change this, but it’s inline css which is quite weird.
So there will not be an option in the near future to change the breakpoint?
Hi,
Yes, you can use that code for woff2?v=4.7.0 too, the file path is -> wp-content/plugins/td-composer/assets/fonts/font-awesome/font-awesome.css -> https://i.imgur.com/W6rlwYi.png
Hope this will help you!
Have a nice weekend!
For clarity, I mm referring to the homepage background for the left and right margins, not the content background. I thought this was done by setting background image in the theme panel but that’s not working for me. Just white space. However category backgrounds work perfectly.
Could there be a homepage setting that is preventing background from showing up? Or does this require css?
-
This reply was modified 6 years by
BizzyB.
Hi smaralind,
Unfortunately there is no option to change the breaking point for the mobile menu, this can be achieve only with custom work, also you can try with some custom css, but this is hard to achieve when all elements from mobile are changing on 767px.
Thank you for your understanding!
Hi,
That effect is set by using a class in the theme body -> https://i.imgur.com/eX5F0uI.png
If you do not like that color, you can remove the extra class from flex blocks -> https://i.imgur.com/gfsHWKP.jpg or the class from theme panel -> https://i.imgur.com/Umuw7q0.png after that set your own color effect on flex blocks -> https://i.imgur.com/isPN1A6.png you can check more in our article from here -> https://tagdiv.com/blending-modes-newspaper-theme/
Also if you want you can use a custom css for all flex blocks that have the .td-background-blend class and change it like this -> https://i.imgur.com/iKRNU56.jpg
.td-fashion-pro .td-background-blend .td_module_wrap:hover .entry-thumb {
background-color: #d11a1a6b;
}
The color need to be transparent/opacity -> https://i.imgur.com/R4WsokU.png
The code need to be set in theme panel> custom code > custom css.
Hope this will help you!
Have a nice weekend!
Hi,
You could check some guides and double check if the SSL implementation has been done properly. Check these for example
– https://www.wpbeginner.com/plugins/how-to-fix-the-mixed-content-error-in-wordpress-step-by-step/
– http://www.wpbeginner.com/wp-tutorials/how-to-add-ssl-and-https-in-wordpress/
– https://css-tricks.com/moving-to-https-on-wordpress/
– https://yoast.com/dev-blog/move-website-https-ssl/
– https://forum.tagdiv.com/topic/moving-to-ssl/
Thanks
Hi swapnilphadke02,
Let’s try one more time together, from homepage -> https://i.imgur.com/8pwP2S4.png go on footer -> and click on that flex block and check the style tab -> https://i.imgur.com/mE5WOiI.png -> https://i.imgur.com/N4S8Ixg.png if there is no color for the block you are using in style tab, then you should change it with a flex block to have the possibility to edit the colors.
Or you can use a custom css like this one -> https://i.imgur.com/0QJDL4L.jpg
.td-footer-template-wrap h3>a{
color: #cbcbcb;
}
The css need to be set in theme panel> custom code> custom css.
Thank you!
1)Invalid inline script
Arbitrary JavaScript is not allowed in AMP. You cannot use JS <script> tags unless they are for loading AMP components (which the AMP plugin will add for you automatically). In order for a page to be served as AMP, the invalid JS code must be removed from the page. Learn more about how AMP works. As an alternative to using custom JS, please consider using a pre-built AMP functionality, including actions and events (as opposed to JS event handler attributes like onclick) and the amp-bind component; you may also add custom JS if encapsulated in the amp-script.
If you remove the invalid markup then it will not block this page from being served as AMP. Note that you need to check what impact the removal of the invalid markup has on the page to see if the result is acceptable. If you keep the invalid markup, then the page will not be served as AMP.
Error code
DISALLOWED_TAG
Element name
script
————————————-
2) Excessive CSS
AMP allows you to style your pages using CSS in much the same way as regular HTML pages, however there are some restrictions. Nevertheless, the AMP plugin automatically inlines external stylesheets, transforms !important qualifiers, and uses tree shaking to remove the majority of CSS rules that do not apply to the current page. Nevertheless, AMP does have a 75KB limit and tree shaking cannot always reduce the amount of CSS under this limit; when this happens an excessive CSS error will result.
If you remove the invalid markup then it will not block this page from being served as AMP. Note that you need to check what impact the removal of the invalid markup has on the page to see if the result is acceptable. If you keep the invalid markup, then the page will not be served as AMP.
Error code
STYLESHEET_TOO_LONG
Node name
style
————————————–
3) Invalid script: tagdiv_theme.min.js
Arbitrary JavaScript is not allowed in AMP. You cannot use JS <script> tags unless they are for loading AMP components (which the AMP plugin will add for you automatically). In order for a page to be served as AMP, the invalid JS code must be removed from the page. Learn more about how AMP works. As an alternative to using custom JS, please consider using a pre-built AMP functionality, including actions and events (as opposed to JS event handler attributes like onclick) and the amp-bind component; you may also add custom JS if encapsulated in the amp-script.
If you remove the invalid markup then it will not block this page from being served as AMP. Note that you need to check what impact the removal of the invalid markup has on the page to see if the result is acceptable. If you keep the invalid markup, then the page will not be served as AMP.
Error code
DISALLOWED_TAG
Invalid markup
<script … >
Element attributes
type text/javascript
src https://sp24news.com/wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js
Element name
script
Parent element
body
4)
Illegal CSS at-rule: @-moz-document
Error code
CSS_SYNTAX_INVALID_AT_RULE
At-rule
-moz-document
Element attributes
rel stylesheet
id tdb_front_style-css
href https://sp24news.com/wp-content/plugins/td-cloud-library/assets/css/tdb_less_front.css
type text/css
media all
Node name
link
Hi,
Please try this custom css:
https://i.imgur.com/oSkOObR.jpg
.td-header-desktop-sticky-wrap .tdb-mm-align-screen .tdb-menu .tdb-mega-menu .sub-menu {
margin-top: 25px;
}
and this it will be the code for both headers -> https://i.imgur.com/vTsptd6.png
.tdb-mm-align-screen .tdb-menu .tdb-mega-menu .sub-menu {
margin-top: -5px;
}
.td-header-desktop-sticky-wrap .tdb-mm-align-screen .tdb-menu .tdb-mega-menu .sub-menu {
margin-top: 25px;
}
Hope it will help you!
Thank you!
Hi Vikramsinghrao,
If I understand correctly you want to change this color -> https://i.imgur.com/ayDfEws.png this can be done from here -> https://i.imgur.com/PnADcBP.png or if you are using mobile theme plugin form here -> https://i.imgur.com/yps8X7F.png there is no need for extra css.
Hope this will help you!
Thanks.
Hi,
Please try this custom css this it will be apply on all blocks that have the style 8 for header ->https://i.imgur.com/C1gZaFR.jpg
Replace the above code with this one :
.td_block_template_8:hover .td-block-title *, .td_block_template_8:hover
.td-block-title span {
color: red!important;
}
Thank you!
where exactly in htaccess whould I paste the code below
# BEGIN Expire headers
<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault “access plus 5 seconds”
ExpiresByType image/x-icon “access plus 604800 seconds”
ExpiresByType image/jpeg “access plus 604800 seconds”
ExpiresByType image/png “access plus 604800 seconds”
ExpiresByType image/gif “access plus 604800 seconds”
ExpiresByType application/x-shockwave-flash “access plus 604800 seconds”
ExpiresByType text/css “access plus 604800 seconds”
ExpiresByType text/javascript “access plus 604800 seconds”
ExpiresByType application/javascript “access plus 604800 seconds”
ExpiresByType application/x-javascript “access plus 604800 seconds”
ExpiresByType application/x-font-woff “access plus 604800 seconds”
ExpiresByType application/x-font-svg “access plus 604800 seconds”
ExpiresByType image/svg+xml “access plus 604800 seconds”
</ifModule>
# END Expire headers
Hi,
As I know the mobile-theme.woff?9 is in only one place and is a font face -> wp-content/plugins/td-composer/mobile/style.css -> https://i.imgur.com/6NNiXR4.png if you want you can set “font-display: swap” clear all cache, purge CDN and check the results to see if this message is still displaying or not in google page speed/
Normal it doesn’t affect the performance much and even has some side effects, like font flashes. But if you’re hunting for a 100 PageSpeed score, you should probably do it.
Thank you!
Hi,
You can use this option from theme panel -> https://i.imgur.com/7VkRbat.png -> https://forum.tagdiv.com/design-post-pages-using-default-templates/ or if you want to apply only on amp you can use this custom css
#td_social_sharing_article_top{
display: none;
}
The code need to be set in theme panel> mobile theme > custom code> css.
Hope it will help you!
Thank you!
Hi,
You need to set the css code for each post that you want to hide the post date, for example
.postid-1 header .td-post-date,
.postid-2 header .td-post-date,
.postid-3 header .td-post-date,
.postid-5 header .td-post-date{
display: none;
}
The above code it will remove the post date from post with id 1, 2,3 and 5, now you need to set your posts id, also you can set it for how many posts you want.
Hope this will help you!
Thank you!
Hi
I read your last answer “Please check the viewports from tagDiv Composer -> https://i.imgur.com/IkQJNC6.png and where is this problem, check the css tab and set the display to block -> https://i.imgur.com/ABJKKC5.jpg”
But problem is not about 4 viewports in tagdive composer. Problem is about mobile horizontal viewport or like that.
No I didn’t do anything wrong. What I did from beginning to end step by step (just watch): https://youtu.be/eggM-5pP7zI
After I import Dental Studio header, you see whenever I turn my mobile phone horizontally, 2nd text “Prodimarc” comes to 1st line. Just watch: https://youtu.be/O3A3q3OhSUc
How can I fix this problem?
Hi,
You can achieve that using this custom css ->
.td_block_template_8:hover
.td-block-title span {
color: green!important;
}
The code need to be set in theme panel> custom code> custom css.
Also you can change the color.
Thank you!
Hi
We’re seeing inline CSS indicating that we cannot change the breaking point for mobile menu. Anyway to change this?
Hi,
Indeed is look that this option is not apply on mobile theme plugin, as a quick fix you can use this custom css:
.td-social-sharing-button{ border-radius: 50px;
}
The code need to be set in theme panel> mobile theme > custom code> css.
Thank you for your understanding!
Hi,
Please provide me a link to your website, in this way i will be able to provide the right css that it will work for you!
Thank you for your understanding!