- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsDefault Block Settings Guide
- TutorialsHow to use custom fonts
Hi,
You can try this code, enter it in Theme Panel->Custom Css, it should make the sticky menu remain the same during scroll
@media (min-width: 768px) {
.td-header-wrap.td-header-style-6 .td-affix .sf-menu > li > a {
line-height: 80px!important;
}
.td-header-wrap.td-header-style-6 .td-affix .td-main-menu-logo .td-header-logo img {
width: auto!important;
max-height: 80px!important;
}
}
Thanks
Hello,
It seems there is a css issue on firefox as it interprets the css differently.
Please use this code in the theme panel->custom css box
.td-md-is-firefox .page-template-default .wpb_text_column :last-child{
margin-bottom:initial!important;
}
Thank you!
Unfortunately you cannot hide specific theme elements based on the post author easily. You have to create conditions as I have shown above but it is no simple matter. Css does not know how to hide things based on the post author in different elements. You will need to hire a freelancer to help out as this requires quite a bit of customization. You have to add conditions to the related articles and more from author elements to remove the content from specific authors. In this case the function must be changed as it is created to bring content from all authors. Sorry but we cannot offer any custom work at the moment.
Thank you for your understanding.
Unfortunately changing the css will not be enough. There are more references of the 767 px width in our theme: https://www.screencast.com/t/yzrAw7ouCO06
Thank you!
Hi,
Try this code, enter it in Theme panel->Custom Css
.td_block_image_box .td-custom-image a:after {
border: none;
}
.td_block_image_box .td-custom-title .entry-title {
display: none;
}
The first part will remove the inside border – https://www.screencast.com/t/LOpAdHxQ
The second one will remove the custom title – https://www.screencast.com/t/sljelDQHylOk
Thanks
Hello,
You can use this custom css
.post-325 .wpb_button, .vc_btn{
margin-top:11px!important;
}
Add the code in the theme panel-> custom css box
I set the code to only affect that particular page
Thank you!
Hi,
Enter this code in Theme panel->Custom Css, now the menu should remain the same when sticky
.td-header-style-3 .td-header-menu-wrap.td-affix {
background-color: black!important;
}
Result – https://www.screencast.com/t/DiacL2Hm
Thanks
Dear Bogdan B,
Warm greetings!
First of all, thank you so much for your guidelines, it was very useful.
I have some additional questions about your answers.
Could you give me exactly how I need to follow up please?
1.1. You can translate the latest articles title from the theme translation settings.
(If I do so, it shows with Korean even in English page, how could I fix it?)
1.3. I do not have php what the page mentioned, could you review my list and let me know where I can do it?
404, archive, attachment, author, bbpress, category, comments, footer, functions, header, td_config, td_css_generator, td_templates_builder, index, loop-attachment, loop_single, loop, pagebuilder+latest articles+pagnation, page, search, single, tag, taxonomy, login, searchform, sidebar, single, td_deploy_mode, vc_column, archive-product, single-product, style.css, editor-style.css, style-woocommerce.css.
Thank you so much.
same issue here. there addition of the css does not seem to work.
Have page Checked with “http://www.seitenreport.de/”.
I get a lot of CSS errors. Some are created by a plugin.
I believe that many mistakes are caused by the template.
Can you check it? thank you
If I am wrong, I apologize.
Here is a brief overview of the information:
Ergebnisse des CSS-Validators http://newsaustria.eu/ (CSS level 3)
I just tried to install Newspaper theme (.zip) and I get an error that says “The theme is missing the style.css style sheet. Please help!
Hi Guys, having made some additions to the child theme CSS my default browser (chrome) is failing to load the changes unless I clear history and force reload that way, is there anyway to make sure child theme css is refreshed each time someone visits? I’m not currently using any caching plugins either…
Matt
Where I need to put Custom CSS code for coloring different menus?
Thank you Jessie, really appreciate the effort… it is most welcomed
Firstly I’m not sure what’s up with that logo, I know I have changed it, to make sure it’s gone I just went ahead to rename it and upload it afresh, seems it got stuck on Google reading even if I changed it. But it’s sorted now… Good catch
========
I tried this script in the past but it keeps breaking my site… I cant remember I think in one of my settings I got this sorted with a plugin, can’t remember now as I have been trying different settings to get this theme to work
function _remove_script_version( $src ){
$parts = explode( ‘?ver’, $src );
return $parts[0];
}
add_filter( ‘script_loader_src’, ‘_remove_script_version’, 15, 1 );
add_filter( ‘style_loader_src’, ‘_remove_script_version’, 15, 1 );
===================
I’ve just added imagify on it and it’s running, lets see what it can do
===================
I’ve also added back our keycdn, and it does seem faster, but still not exciting google because of images
We have been able to reduce and compress some of the css, please test and see the settings I put back
========
What bugs me is that this is the third theme we are changing over time, and this is the only one that has this much issues:( and hardest to optimize
I hope they still address other issues as I see honestly no supprort from them which makes me concerned
Hi,
You could make the sub-menu smaller of fixed height and use a vertical scroll using this code, just enter it in Theme panel->Custom Css
#td-header-menu .menu-item-5976 .sub-menu .sub-menu {
height: 400px;
overflow-y: scroll;
}
Result – https://www.screencast.com/t/eiPNypM3GD1
Thanks
Hello Lewis,
If you want to increase the widgets from sidebar you should use a bit of CSS code to do that. Below I gave you a simple example. Also, please notice that we do not recommend the increasing the width of this because you can damage the theme layout.
.td-ss-main-sidebar{
width:600px!important;
}
The result is here -> https://www.screencast.com/t/59tEcXmSo
Thanks for your understanding!
I have:
– td-mobile-plugin
– Visual Composer 5 (VC5)
– Post with shortcode’s VC5
I use 1 shortcose VC5 with posts (not article):
[vc_row][vc_column][td_block_13 post_ids=”IDPOST” sort=”featured” limit=”1″ tdc_css=””][/vc_column][/vc_row]
shortcode not workink in mobile plugin
Is there any possibility of throwing shortcode visual composer to the article so as to display it properly on mobile plugin?
for example, plugin WP Polls have 2 ways of placing the link:
[poll id=”ID”] or <?php get_poll(ID); ?>
Hi,
The css will only hide the featured image from the ‘.category-video’
Css does not know any structure and what is a category or a sub-category. It only affects what you set it to. It cannot affect sub-categories unless you add the classes to the code.
As for the youtube social counter, please use this guide: https://forum.tagdiv.com/tagdiv-social-counter-tutorial/
Thank you!
Hi tagdiv team,
I would like to change the breakpoint for my mobile menu to be at 920px rather than the ~767px breakpoint that is currently featured. I tried to find and replace all “767px” with “920px” in the style.css document, but that didn’t work.
Hi,
For the white color around the blocks enter this code in Theme panel->Custom Css
.td-main-page-wrap {
background-color: #efefef;
}
Result – https://www.screencast.com/t/Tb9Xjnawi325
The top menu inherits the width of the container when the site is boxed and it would be dificult to make it full width.
Thanks
Hi,
You can use this css to change the gird colors:
.td-big-grid-post .td-module-thumb{
background-color:
#f6f1e9!important;
}
Thank you!
This means there is a theme related element that is called using http and not https. Please check the logos or background image or any other setting in the theme panel.
Here are your mixed content errors:
https://www.screencast.com/t/BEJyrzH6Oc
Please check these few leads:
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/
You can also check our forum for some insight on ssl:
https://forum.tagdiv.com/topic/moving-to-ssl/
Thanks.
Hi, I’m trying to move css and js from header to footer in the mobile version of Newspaper (I’m actually using the plugin tagDiv Mobile Theme) using the method here: https://forum.tagdiv.com/how-to-make-the-site-faster/
I have also tried to put the code inside the function.php of mobile theme but when i go to load the website in mobile version i don’t find the css and js file IDs that i need for move them. I don’t even know if i can move the css and js of mobile version with the speed booster plugin.
Here is the test of Google Page Speed where you can see the files i’m talking about: https://developers.google.com/speed/pagespeed/insights/?hl=it&url=http%3A%2F%2Fgamesquare.it%2Frecensione-steep%2F&tab=mobile
Can you help me? Thanks in advance
Hi,
Wow, a year has passed since I posted that solution though. Please provide a link to your site so i can provide the proper css code.
Thank you!