- NewsmagtagDiv Composer Tutorial
- NewsmagBlock settings tutorial
- NewsmagLogo & Favicon
- NewsmagFooter templates
- NewsmagUsing other ads
- NewsmagUsing Typekit fonts
I ran my site through Google webmasters mobile friendly test this morning, and it passed, but with a warning
“This page uses one resource which is blocked by robots.txt. The results and screenshot may be incorrect.
For optimal rendering and indexing, always allow Googlebot access to the JavaScript, CSS, and image files used by your website so that Googlebot can see your site like an average user. If your site’s robots.txt file disallows crawling of these assets, it directly harms how well our algorithms render and index your content. This can result in suboptimal rankings.”
But according to this page http://pippamattinson.com/robots.txt
The only thing disallowed in my robot.txt page is wp-admin. Should I ignore the warning message?
Thanks
Pippa
Hmmm… I tried adding our Custom CSS that we have in the theme panel to the bottom of style.css, but the code wasn’t rendered. I also tried adding it to the style25-06.css file, but same thing. Any ideas?
Nope. Over-rides have to load after the initial CSS.
But you can try adding your custom CSS to end of the style.css file 🙂
We created a custom header for our site… but it is pretty slow to load in. Therefore, the header looks incorrect for several seconds while the site loads. Is it possible to have the Custom CSS section loaded first and still take precedence?
Site – http://dev.30a.com
In reference to hiding ads by using CSS..that’s not working for us because unfortunatley, using a div to hide the header ad for instance — the ad still gives an impression in adsense but just the div gets hidden. How can we outright ensure the code itself doesn’t even display?
You have no choice now to use a css code..this code below is for post links btw
.td-post-content a:hover {
color: #006600;
}
It’s a issue that was always a problem even in V4 to change it you have to look for the page ID and put it in this CSS Code as follow…where the xxxx is put the page id # there and then put that code in the theme css box on the top not the bottom…
.page-id-xxxx .wpb_text_column p {
font-size: 16px; !important;
}
@Marius..
Yes…removing -css portion did it.Now I have 1 blocking script and 3 blocking css resources. Blocking script belongs to WP Pro Advertising System while CSS includes (i) Google Fonts (ii) JS Composer and (iii)Main theme stylesheet.
Can you please guide me
i. How to make Javascript move to footer
ii. Can I (should I) remove any of the the three blocking CSS resources?
Regards
Azhar Nadeem
@modernmavens I didn’t do anything special other than just sticking to the previous version. I’m looking forward to update to V6 but I decided to wait a bit over the usual updates and corrections since I’m a newbie so my ability to fix significant mistakes would be nonexistent (I don’t even know how to set up a testing clone so when i update i update live, which is… “radical” :)).
Anyway have you tested the V6 demo on mobile to check if it shows the same problems as you are finding? If not maybe you done something wrong. In my case i didn’t touch anything, i’m just using the big slider with no CSS mods, i used to have some but i dropped them when i updated to the Newspaper version I’m using.
cheers,
Thank you very much yes it helped when removed the code from style.css.
All the best.
Hi
You can use this custom css
.td_module_14 {
border-bottom: 2px solid black;
padding-bottom: 0;
margin-bottom: 40px;
}
Here is the result: http://screencast.com/t/o9kVdkpAfN
Thanks!
Hi,
I have checked you site, please first use these classes as were changed in the new version – https://forum.tagdiv.com/header-ad/
Then please delete this code form style.css file so your embed will have the inline width that you specified – http://screencast.com/t/k8QnWGXZ
Hope this helps!
The links color in post content is changing with theme’s accent color: http://screencast.com/t/b9QkeTAjka
but you can use this custom css to change it:
.td-post-content a {
color:blue !important;
}
Like in this example http://screencast.com/t/w8F6WgDltZg http://screencast.com/t/KX29v8Enco
Thanks!
OK, the top margin is fine now. Thanks.
Another issue… the CSS is working to close the gap between content and author box here: http://take.ms/JwCED but not here: http://take.ms/2cuJZ
Here’s the CSS I am using: http://take.ms/6sJ8a
Any suggestions?
-
This reply was modified 11 years by
Daniel Finch.
Hi,
Please try this custom css in Theme Panel > Custom Css – http://screencast.com/t/PjKgII8oRO
.td-big-grid-slide .td-big-grid-post-0 .td-module-meta-info {
display: none;
}
Thanks!
Hi,
I have cheked your site and you have many javascript errors in the console – http://screencast.com/t/UulApK2CX Unfortunately we did not tested this plugin with our theme and you may need custom modifications to make the plugin to work with the theme. You can check if you have this issue without any plugins active(including Speed Booster), leave just Visual Composer and BARC chat, also disable any js/css minification and clear cache.
Thanks!
Hi,
Please can you try with this CSS, add it in Theme Panel -> Custom CSS
.td-post-template-7 .td-read-down {
display:none;
}
.td-post-template-7 .td-parallax-header {
transform: none !important;
opacity: 1 !important;
}
.td-post-template-7 .td-post-header {
height: 560px;
}
@media (min-width: 1019px) and (max-width: 1140px) {
.td-post-template-7 .td-post-header {
height: 530px;
}
}
@media (min-width: 768px) and (max-width: 1018px) {
.td-post-template-7 .td-post-header {
height: 480px;
}
}
@media (max-width: 767px) {
.td-post-template-7 .td-post-header {
height: 400px;
}
}
Hi,
Please check the documentation how to update the theme and how to run the script – https://forum.tagdiv.com/how-to-update-the-theme-2/ The only thing that it is not written here is that the old customizations will not work (theme’s files customization, custom css). We recommend that you delete the old version of the theme before uploading the new one, also update the plugins that come with the theme files from /plugins folder. After the update run the script, it will import old settings from database and it will change the shortcodes – http://screencast.com/t/eZxxuqvsTir. Also you have to regenerate the thumbs – https://forum.tagdiv.com/using-the-theme-with-existing-content/ You may have to re-add widgets on the sidebars, some of them may not be imported or don’t exist anymore.
Hope this helps!
Hi team,
On point 1, i included the custom CSS but couldn’t reduce the grey effect…can you please check..thanks,
Hi Alin,
What do you mean by: “running the script will import your setting from database also it will change the shortcodes” – is there something I should do after doing the update in order to run a script to import my old settings? Can you send me the exact instructions for that?
Also – I indeed had some custom css – so I just need to copy these from the old theme and paste it into the custom css on the new theme?
Any more tips on to how to update in the smoothest possible way would be highly appreciated!
Thanks!
Hi,
You don’t have to rebuild your homepage again as running the script will import your setting from database also it will change the shortcodes, but if you have custom modifications to the old theme files and custom css you will have to customize again as like I said the theme should be regarded as a new one(new files, new html/css). We are very sorry for inconvenience!
Thanks!
Buna,
Spatiul acesta: http://screencast.com/t/XAEVPYJ0P vine de la o margine top si bottom din headline-ul adaugat de tine. Poti folosi css cusotm pentru a o inlatura, insa iti sugerez intai sa adaugi o clasa unica la acel h1 si sa te folosesti de ea pentru a seta marginile top si botm la 0 folosind css cusotm: http://screencast.com/t/jDA4gQtXN7
Pentru logo-ul din menu am nevoie de un exemplu pentru ca nu stiu eaxact la ce te referi.
Problema cu fonturile temei de pe celalalt site se datoreaza CDN-ului: http://screencast.com/t/WWh6N3MXfoRz
Pnetru a rezolva aceast problem ai nevoies sa adugi o regula in fisierul htacess-ul:http://davidwalsh.name/cdn-fonts
Multumesc!
Hi,
The theme doesn’t have such an option for menu, you will need custom work to achieve this, unfortunately we cannot provide any type of custom work at this moment as we work hard on development, updates and support.
You can add a different border color for each item from the menu, using unique class of items – http://screencast.com/t/IinTmGl2G – http://screencast.com/t/uKGH6NCX
.sf-menu .menu-item-15.current-menu-item a:after {
background-color: red !important;
}
Just change the number for above css code with your specific number and add the css code for each item.
Thanks!
Hi,
If you want to hide the date also on modules please try this custom css – http://screencast.com/t/M8CJOpPZcM
.td_module_wrap .td-post-date {
display: none;
}
Thanks!
Hi,
Do you want to remove the post content margin top? http://screencast.com/t/7ZgDhHUasL this differs for each post template for example style 3 doesn’t have any margin – http://screencast.com/t/LOtzjruXAa
This is the default css and you can change it like you need:
.td-post-content {
margin-top: 21px;
}
Thanks!