- NewsmagtagDiv Composer Tutorial
- NewsmagBlock settings tutorial
- NewsmagLogo & Favicon
- NewsmagFooter templates
- NewsmagUsing other ads
- NewsmagUsing Typekit fonts
Not sure if every person is aware of this, but thought I’d share. I’ve been having trouble with my rankings in the G engine.
Google sent out an email to webmasters:”Googlebot cannot access CSS and JS files on yourdomain.com
basically make sure in your robots.txt file that you allow wordpress/plugins directory. that’s it. Hope my rankings come back.
more info: http://www.shoutmeloud.com/fix-googlebot-cannot-access-css-js-warning.html
also yoast: https://yoast.com/wordpress-robots-txt-example/
“So, what should be in your WordPress robots.txt? Ours is very clean now. The only thing we still block is our /out/ directory for our affiliate links, as discussed in this post. We no longer block our /wp-content/plugins/ directory, as plugins might output JavaScript or CSS that Google needs to render the page, nor do we block our /wp-includes/ directory, as the default JavaScripts that come with WordPress, which many a theme uses, come from these directories.”
good luck everyone!
Try putting your CSS at bottom of the style.css so it loads AFTER and replaces the default CSS, but inline with the CSS loading. At least that is what I do.
And be sure to clear all your caching once you make this change including browser cache (which you have to do manually in Chrome to ‘really’ clear it).
Hi Andrei. Thanks for your response.
I did it. I added the code to the top of the style.css file, but same happens.
The problem is solved when I deactivate Speed Booster. Is there a way to keep speed booster activated and solve this issue?
Thanks!
Hi
When the site loads, the first css loaded it’s the default theme style.css then loads your custom css and because of cascading properties of css appears that delay. You can try to insert your custom css directly in style.css file to be loaded at the same time with the theme css: http://screencast.com/t/dKAMRuUxC to avoid that.
Thanks!
Hi
By default the theme changes the header background to black on mobile devices, but you can customize it as you like with custom css like here: http://screencast.com/t/kprRELdlKXF8
@media (max-width: 767px) {
.td-header-wrap .td-header-menu-wrap-full, .td-footer-wrapper{
background-color: red!important;
}
}
Thanks!
Hi
That seems to be a css problem and can be caused by some plugin that overwrite the theme css, so you can try deactivating all plugins except Visual composer, clear the cache and test again.
Let me know how it goes and if the problem persist please provide a link so i can inspect it closer.
Thanks!
thanks! the css worked!
Hi Again,
3. the read more button to appear as just text:
I’m using a child theme, so my style.css doesn’t include all code.
So this is what I added to my style.css:
.td-read-more a {
background-color: #ffffff;
border-radius: 0px;
color: #bc00a8;
font-size: 14px;
font-weight: bold;
line-height: 18px;
padding: 0px;
}
.td-read-more a:hover {
background-color: #ffffff;
}
The only thing is that on hover, the background color still shows up. It’s the same colour as the text, so on hover, it just becomes a pink block. I’d like to make it just change from pink to black on hover. Can you help?
Thanks SOOOO much =)
C
Hi,
Google speed testing tool notifies you of the following css resources which where left on purpose at the top because moving them to the footer can cause issues with the theme: http://screencast.com/t/0P8jKYkdE6n
You can move them by adding the lines to the speed booster plugin:
$this->move_style_to_footer_queue('js_composer_front');
$this->move_style_to_footer_queue('td-theme');
$this->move_style_to_footer_queue('google_font_open_sans');
$this->move_style_to_footer_queue('google_font_roboto');
This image: http://screencast.com/t/DnvpT9bVf is one of your banners: http://www.4resumeformat.in/wp-content/uploads/2015/07/Resume-writing.png
Regarding the remaining ones: http://screencast.com/t/wFETdrYB3 those can be done manually regarding theme’s css or you can use compression tool which remove space and comments reducing their sizes. I can’t recommend you a tool or a plugin for that because we haven’t tested any and we do not recommend compressing resources but it can be done carefully so you can search solutions online and try to do it yourself.
Thanks for the message!
Hi,
Just edit the code like here: http://screencast.com/t/5rnWGav3 and use this CSS to adjust the look, add it in Theme Panel -> Custom CSS section
.td-login-wrap {
padding: 21px 21px 17px;
}
#login-form .mfp-close {
display: none;
}
result: http://screencast.com/t/FGr1ZSsZ
Hi,
Speed Booster is a plugin and it’s files are located in “../wordpress/wp-content/plugins/td-speed-booster” folder. – http://screencast.com/t/LphPjTsRSJlf
I guess you edited it’s main file and added a few lines to move the js and css for some specific plugins to the page bottom – http://screencast.com/t/tPv5YIT5zFes – You have to copy those lines inside the plugin latest version after you install it. Make sure you backup the current plugin before updating.
Thank you!
Hi,
Add the new social like here: http://screencast.com/t/dwYNnXFn0J
Then you need to add the CSS for the existing selector, in this case is: td-icon-test http://screencast.com/t/CiJ3YiNyW
Thanks!
Hi,
Try the following css: – http://screencast.com/t/TSVsv0KvF
.td_block_id_1546661785 .td_module_mx3 {
margin-bottom: 0px;
}
.td_block_id_1546661785 .block-title, .td_block_id_2005453741 .block-title{
margin-bottom: 10px;
}
.wpb_widgetised_column {
margin-bottom: 15px;
}
Play with the parameters until you get it as you like.
If you refer to something else please provide more details.
Thank you!
-
This reply was modified 11 years by
Emil G.
Hi,
I’ve checked the justify css and it works – http://screencast.com/t/rQB9Y7xY3no
.td-post-content p {
text-align: justify;
}
To center the images use the following css: – http://screencast.com/t/NgfbpNroY
.td_smart_list_1 .td-sml-description p img {
margin: 0 auto;
}
The image width is smaller that the container – http://screencast.com/t/2QRzRwtn6 – if you want images to occupy the entire width you have to add wider images.
If the css doesn’t work on your side please check the entire css added in the custom css area for errors, a missing element may break the css execution.
Thank you!
-
This reply was modified 11 years by
Emil G.
Hi,
The settings are saved in the database, when you switch to another theme wordpress just loads the settings saved for that theme.
@oronmati – that’s strange, the css shouldn’t get lost, if you have a backup use it to recover the lost css.
Thank you!
Hi,
1. That files contains the fonts used by the theme (icons used for socials), it’s called in the style.css file – http://screencast.com/t/Gd9OwQM4Or – you could try to remove the ?7 parameter which comes after it and see if it works.
2. You have to add a condition which checks if the current page is single – http://screencast.com/t/ZXT9aq1zWK
Thank you!
Hi,
Thanks for reporting this, we will fix this in the next update, until that you can fix it using this CSS, add it in Theme Panel -> Custom CSS section:
.header-search-wrap .td_module_wrap .td-post-category {
z-index: 2;
position: relative;
}
.header-search-wrap .td_module_wrap .td-post-category:after {
display: none;
}
Thanks for the message!
Hi,
Set a background color, a light gray or white from here: http://screencast.com/t/cXytYQTm9Y
Then use this CSS to add the shadow:
.td-boxed-layout #td-outer-wrap {
box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.1);
}
Hi,
Is not possible in page at middle to give a transparent background, because the container have a white background color, there need to make some grid css changes and customize only for what you have only on that page.
Do you mean to use a background image on you page like this: http://screencast.com/t/MdZmhIiEkoX
If you don’t use a background image on your site and want only a background image on a specified section this can be achieve with the visual composer without no modification of code, like here:
http://screencast.com/t/rBY9rAtXR
http://screencast.com/t/o1nzdY7oOnwc
Thanks for the message!
I’ve arranged galleries, thank you very much.
As for the text and list alignment, I spent a link. The first text and the first two images are not justify and the CSS code to be automatically justified is set.
http://www.lacasadeel.net/2015/07/12-carteles-de-cine-de-superheroes-ambientados-en-los-anos-50.html
Thanks
Hi
This block titles are made with Newspaper theme and are not available on Newsmag, but can be done with custom css:
.block-title{
display: block;
font-size: 14px;
border-bottom: 2px solid #222222;
margin-right: 20px!important;
}
.block-title > span{
top:0;
padding: 7px 12px 4px 12px;
border-radius: 0;
}
The result should be like here: http://screencast.com/t/sTmFBI2k6NUd
Thanks!
Hi
1. Follow this link to display only the firs level of subcategories in mega menu: http://screencast.com/t/MWJaXChQMr
2. I am not sure what you mean but to insert a new area in mega menu you must change the code and it’s not an easy task. Please provide a link or specific details on this if possible and i will take a look.
3. Edit the style.css file like it’s indicated here: http://screencast.com/t/QdaaZjoXF29
Thanks!
Hi
The style file it’s located in the head section of the site, and load firs all the time, then comes the custom css (your custom modification). You have the Speed Booster plugin activated and all custom css it’s moved to the bottom of the page and load after the main css from the theme so you can try to include your custom css in style.css file or not use Speed Booster.
Thanks!
Hi,
I’ve checked your page and the css and js was moved at the page bottom – http://screencast.com/t/X7w4kAL9
On our demo we use the default settings and only a few plugins. On your side the difference is that you changed the default settings, this adds extra css at the page end and google may consider that the resources are not actually called after the content was rendered. You also use one or more extra plugins, one of them adds a lot of inline css in the page top section – http://screencast.com/t/xgsqcewD
Try to make some tests with the theme default plugins and see if there’s any difference.
Thank you!
Hi
We tested the theme on IE and should work fine, so it’s possible to have a plugin that overwrite the theme css in that browser. Try to deactivate all plugins except Visual Composer, clear the cache ant test again. If the problem persist try this custom css in theme panel > custom css:
.ie8 .td-header-main-menu, .ie9 .td-header-main-menu, .ie10 .td-header-main-menu, .ie11 .td-header-main-menu{
background-color: red;
}
This css works on IE 8, 9, 10, 11 and you can set any background color.
Thanks!