- 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
- NewsmagtagDiv Composer Tutorial
- TutorialsFrom WPBakery to tagDiv Composer
- NewspapertagDiv Composer Tutorial
- NewspaperTheme modules and blocks
- TutorialsDefault Block Settings Guide
- NewspaperThe Mobile Theme
- NewspaperCompare theme files – Winmerge tutorial
- NewsmagBlock settings tutorial
- NewsmagLogo & Favicon
- NewsmagFooter templates
Hi
I have checked your page and did not found any margin for the top banner, only that 10px from code that Lucian provided to you http://screencast.com/t/HhV2SETp1N
Also you can hide row/columns on desktop using the same method to hide those on mobile. Add an extra class to the row/column and hide it using custom css – http://screencast.com/t/wLkbxnis
@axelpetur If you want to hide row/column on specific screen you have to paste the code in Advanced Css – http://screencast.com/t/91JqAS3kvFk1
Thanks!
Hi,
You can try this custom css to target social block customization – http://screencast.com/t/UQsUcvr2b8o1
.td-footer-wrap .td-social-wrap .td_title_style_1 span {
font-size: 30px;
color: #ffffff !important;
}
.td-footer-wrap .td-social-wrap .td_title_style_1 {
border-bottom: none !important;
text-align: center;
}
Thanks!
HI, Glenn
doh. That just proves I’ve been too busy working on our main business website this past couple of weeks to even think about that or minifying my CSS, for that matter for 1.71.
I guess we might need Marius or Radu’s (et al) help on how to revise this code for the shim:
add_action('init', 'myoverride', 100);
function myoverride() {
remove_action('wp_head', array(visual_composer(), 'addMetaData'));
}
function dequeue_visual_composer_css() {
if (is_single()) {
wp_dequeue_style('js_composer_front');
}
}
add_action('wp_enqueue_scripts', 'dequeue_visual_composer_css', 1003);
since the new code in header is js_composer.css and old code is js_composer.css; not sure if we have to edit the booster main function file or what ?
This is totally a question for TagDiv support, so let us poke them on this one 🙂
Well… nothing suddenly “happens” on its own.
Good idea to
a) check to see if something got updated
b) check to see if something being inserted in page from plugin is breaking pages (try turning off plugins to see if something doing that)
c) try rolling back to last version if you updated something — again, the theme cannot magically break by itself
d) did you try checking a post with console (F12 in Chrome) for errors?
Are you using a custom template?
Since the html is only loading logo on IE, and nothing on Chrome, it looks like something is “bad” right at start of page loading.
This can be malformed custom CSS, malformed custom JS, inserted in head; it can be a bad bit of something inserted into head by a plugin, etc.
No idea beyond the above items.
TagDiv folk likely will have better answer, but basically the only way for something to “suddenly” stop working (as per past posts on your site issues), is for you to have changed something, or a plugin to suddenly have changed something. This is why “auto updates” are also a bad idea in case something doesn’t work with something else.
You might also try clearing your site cache if using plugin, or turn that off, if it got corrupted or isn’t house cleaning properly.
Hi,
I want to remove the sidebar on mobile devices I have this CSS sidebar but still , any ideas
@media(max-width: 767px){
.single .td-main-sidebar {
display: none;
}
}
.td-header-style-10 .td-header-text-logo {
margin: 0px 10px 30px 30px
}
.td-footer-container {
margin-right: auto;
margin-left: auto;
position: relative;
background-color: #222222;
padding: 0px 0 0px 0;
color: #ffffff;
}
.td-pb-padding-side {
padding: 8px 0px 0px;
}
.td-footer-container .td-footer-info {
margin-bottom: 0px;
}
.footer-logo-wrap {
margin-bottom: 0px;
display: block;
}
.sf-menu > .current-menu-item > a, .sf-menu > .current-menu-ancestor > a, .sf-menu > .current-category-ancestor > a, .sf-menu > li > a:hover, .sf-menu > .sfHover > a {
background-color: #2daae1;
color: #000000;
z-index: 999;
}
.td-ss-main-content{
margin-left: 10px;
margin-right: 10px;
}
.td-page-title {
display:none;
}
.sf-menu > .current-menu-item > a, .sf-menu > .current-menu-ancestor > a, .sf-menu > .current-category-ancestor > a, .sf-menu > li > a:hover, .sf-menu > .sfHover > a {
background-color: #2daae1;
color: #ffffff;
z-index: 999;
}
.td-sub-footer-container {
padding: 0px 10px 0px 10px
}
.td-category-description{
padding: 23px;
}
.titulares {
font-family: ‘Roboto Condensed’, sans-serif;
font-size: 25px;
line-height: 35px;
font-weight: normal;
font-style: italic;
text-align: center;
text-transform: uppercase;
color: #4db2ec;
}
THX
Hi Chris,
You added code to remove Visual Composer CSS on post pages. Could you please do same for the TD SHIM alternative?
Regards,
Glenn
Hi
I would like to know if there is an easy way to disable the responsive features of the newspaper theme.
Is there any version of css file supporting only the full size version.
It is a little tedious to erase all the media references in the initial css file.
Thanks
Fixed With WP-Rocket 2.6 onwards.
> Select: Inline CSS and JS
regards
Hello again!
We need to hide the date field only on a certain custom post type. Since it seems to share CSS tags with all other posts and we have over 100 entries, adding a display: none to each of these is prohibitive. We’d prefer to create our own template to merely skip echoing this line, but the way Newsmag has nested this formatting is very convoluted. Is there a way to create a new single-custom.php template that will do this? Or is there a way to send the wp-booster code a flag to suppress the date on our specific custom post types?
Any help is greatly appreciated! Thanks!
Hello, I’ve to update the theme. I’m using child theme and I don’t find a tutorial about what to do.
Is it ok to:
1. Rename or delete current newsmag (main theme) folder
2. Upload new version
3. Update social counter and composer
4. Don’t touch child theme
?
I’m using css mod:deflate via htacces, do I have to do anything particular?
<IfModule mod_deflate.c>
<filesMatch “\.(js|css|html)$”>
SetOutputFilter DEFLATE
</filesMatch>
</IfModule>
My sticky posts on front page have light blue titles.
I can’t seem to find a general setting to change this color.
Do I need to use custom css?
Thanks!
This is my second support ticket opened. With the first one you guys were very helpful and responsive with your feedback, but my issues didn’t get resolved and I left it alone for about a week.
Here are the issues:
1. When bringing a Page# over to the menu, to create a “full width” dropdown, it completely conflicts with MULTIPLE plugins. Not just one…but many. Theia Post Slider, Ultimate Social Deux, and Awesome Navigator to name a few. Now, you guys did give me some code that helped, BUT I am still experiencing Theia Post Slider conflicts which is BAD. Not being able to navigate through the POST SLIDES disables everything.
To troubleshoot, here’s my info.
elitesportsny.com/wp-admin
***You also must connect a page to the menu. So, the “More” page to the “More” menu to make it a drop down. Then you’ll see that Ultimate Social Deux shows up in the dropdown on CATEGORY PAGES…and if you go to a link that uses Social Media Deux – http://elitesportsny.com/2015/05/30/new-york-citys-top-5-athletes-without-a-championship/ – that it won’t allow the slides to navigate.
***You will also notice that you guys already did provide me with some CUSTOM CSS that I implemented. It has worked to alleviate some of the issues, but not all.
2. For Google Chrome, the Menu is NOT HOVERING. It MUST be clicked…which is NOT what I would like.
***I found this thread for why I think this is happening. “Hover Intent” on Google Chrome. https://wordpress.org/support/topic/hover-intent-doesnt-work-in-chrome
How can I make EVERY DESKTOP platform be able to be HOVER ONLY on the menu…not click?
Thank you so much,
robsabo10@gmail.com
as I can hide blocks in desktop, and display on the phone with CSS?
Hi Steven,
A little CSS magic will help you in any case. 🙂
Ok. Fixed it.
What had happened was when I asked how to prevent the logo from loading in the middle first then loads to the left I was told to edit the css file
Also you have to change the css code in style.css file as the default style is loading first and because of the cascading property of the css style appears the delay you have noticed. So try to remove this code – http://screencast.com/t/77pQNXhaN then clear cache and see if it works.
Please note that this change will affect also other headers so if you change the header style revert this change.
I didn’t want to change the original file so I copied the style.css over to the theme folder and made the change. What would be the correct way of changing this without changing the original file?
For basic minification of the CSS and possibly main js files, see my optimization guide.
Be aware that there is really no 100% way to fully optimize loading the above the fold content with any commercial theme like this one — this is because there are many options and functions being loaded in order to render the page at all, and to provide folks to create totally different designs.
Many articles have been written online about getting a perfect score with PageSpeed and WordPress and that requires custom building a theme from scratch and setting up regions where CSS and js are loaded conditionally and in series based on the content sections. Very complex and outside the scope of commercial themes.
Limiting things like mega menus can help, making sure any external resources load via async (we used to use addthis for social buttons on our sites and had to ‘hack’ that to add async loading of their js, because they were too stupid to do it with one line of code in their WP plugin).
Often to get the best “real world” score for your site, you need to disable any/all things which load externally (ads, etc.) and then test that. Optimize. Then switch on external things, optimize “if possible” and then realize the “real score” doesn’t count the Google ads stuff.
You can’t control caching of external elements (time to live), or minification of external resources. With Google fonts you can load the CSS locally in your own style sheet, then simply “draw” the fonts from their CDN. Now that “Roboto” is open source, one could in theory even load that font off your own server and bypass Google entirely. Or just use “web safe” fonts, to eliminate any external font loading.
For the above the fold render blocking blah blah. If your mobile score is above 85 you’re fine; if your desktop is above 90 you’re fine. But there is a notable “tuning” process to this, and again — it’s almost impossible to eliminate the “render blocking” or “above the fold stuff” entirely with *any* commercial theme.
Not sure any of that helps… just some feedback on my own suffering using commercial WordPress themes, and also building my own bootstrap 2 templates which are running our main business portal (using .shtml and custom page builder CMS; not WP).
1) for Eliminate render-blocking JavaScript and CSS in above-the-fold content: like mentioned, didn’t know where to put them so i reverted to the original file. please let me know where to put both, css and js.
pastebin td-speed-booster: http://pastebin.com/MtRgLy7d
2) for cache i’m already using w3 total cache, should i change to WP Super Cache?
3) any plugin to recommend for minify?
4) Prioritize visible content
Your page requires additional network round trips to render the above-the-fold content. For best performance, reduce the amount of HTML needed to render above-the-fold content.
The entire HTML response was not sufficient to render the above-the-fold content. This usually indicates that additional resources, loaded after HTML parsing, were required to render above-the-fold content. Prioritize visible content that is needed for rendering above-the-fold by including it directly in the HTML response.
What can i do for this?
-
This reply was modified 11 years by
instacomedy.
Hi,
You can use the css code below, for this result: http://screencast.com/t/HleUJtBAn
Place it in theme panel > advanced css section for phones: http://screencast.com/t/URVYbzEAr
.td_block_wrap.td_revolution_slider {
padding-bottom: 0px;
}
.td_block_wrap.td_block_big_grid {
padding-bottom: 0px;
margin-bottom: 10px;
}
.td_revolution_slider .td_mod_wrap {
margin-bottom: 10px;
}
Thanks
-
This reply was modified 11 years by
Alin [tagDiv].
Hi,
You need to switch and use the blog style header for the blog style stack: http://screencast.com/t/7J3SEkaTHHE and you can change the big/small images title excerpt from the big slider from theme panel: http://screencast.com/t/tAYe72iUaltC or use custom css to make the font smaller on mobiles and place you css code here: http://screencast.com/t/kzS9TansZq
Thanks
I have disabled all the plugins except the visual composer but no success. I dont even know what custom css is not to talk of adding it.
Hi,
1) and 2) The js was moved at the bottom – http://screencast.com/t/VOSuXqWz
The css is still at the top, maybe you added those lines in the wrong section, please provide the content of your speedbooster plugin file to take a look, use pastebin – http://pastebin.com/ – Even if you move all css and js at the bottom Google pagespeed test may still show the warning because you have too many resources on the page.
3)On leverage you have the google ads and other js which comes from external resourcess – http://screencast.com/t/tjIX5RnvVJqS , it has a leverage set but it’s considered too low by the pagespeed test, basically google penalizes you for using their ads for which you can’t set a higher leverage.
For css js minifications you have to use a plugin, the settings depend on the plugin used, some may give errors when you minify their css or js so basically you have to make some tests.
Also use a cache plugin, we recommended W3TC in the past but now we made some tests and WP Super Cache seems faster.
Thank you, Emil G.
I can’t change the borders in Mega Menu no matter what. I need to change color and style. I spent almost two hours only with this specific customization but I can’t find anything in the main CSS. O___o
What’s the right rules for this?
Thanks!
Hi! I need some help to make the logo bigger with the Header Style 9. I know I can change the min-height/max-height and stuff… but… the sticky header persists bigger instead of to load the Mobile Logo, for example.
So I need to find a way to use a logo with 100px of height in the normal header and 75px in the sticky header.
Here’s my CSS so far:
/** LOGO **/
.td-main-menu-logo img,
.sf-menu > .td-menu-item > a > img {
max-height: 100px !important;
}
/** NAV **/
ul.sf-menu li { float: right; }
.td-mega-menu ul { margin-top: 32px !important; }
.td-header-main-menu { padding: 20px; }
.sf-menu { padding: 3px; }
Thanks guys!
Hi,
That means you have text align center for the paragraphs in your post content and you can try this custom css to set it to left align: http://screencast.com/t/EYXeASIsaMug
Use this custom css in theme panel > custom css section:
.td-post-text-content p {
text-align: left !important;
}
Thanks
Hi,
The desktop menu appears on mobile and it shouldn’t be there – http://screencast.com/t/5iuaE2E5Oi
Try to disable all plugins except for Visual Composer, remove the custom css (if you added any) and check if the issue is still there.
Let me know how it works.
Thank you!