- 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
OK, found the problem, and need your help to fix it.
We use SiteGround for hosting. They have a plugin, the SG Optimizer, that hooks your site to their server-based caching, AND does a number of other things to speed up the site. Through the process of elimination, I found it was this setting that caused the problem:
SG Optimizer -> Frontend Optimization -> Defer Render-blocking JS (turned ON)
The setting allows for excluding scripts from being deferred. Which tagdiv script contains the code for the gallery? The drop-down list contains the following:
js_files_for_front
js_files_vue_modals
js_files_vue_modals_last
js_posts_autoload
js_files_for_live_css
js_files_for_plugin_live_css
ace.js
ext-language_tools
ext-searchbox
tagdiv_theme
Hi,
For this you can try this custom css -> https://i.imgur.com/YnSqo2l.png this will fix the image
.wpb_wrapper .td_block_single_image {
margin: 10px auto;
display: block;
}
This code need to be set in theme panel> custom code> advance css> phones.
Hope it will help you!
Thanks
Hi,
This can be display only on responsive version using a custom css, also this can be display only above the header of mobile menu -> https://i.imgur.com/s8DPC34.png
.td-header-top-menu {
display: block;
text-align: center;
}
This code need to be set in theme panel> custom code. Advance css> phones.
Hop it will help you!
Thanks
Hi, this is quite strange since for me is displaying correctly when I use the live css on your website -> https://i.imgur.com/JwhrEgF.png
Also I do not see to have this code set in source of your page, I think that you set a different height.
Thank you!
Hi,
Please try this custom css -> https://i.imgur.com/ND8nqFE.png
.white-menu .td-header-main-menu {
background-color: #43a332;
}
Set the code in theme panel> custom code> Advance css> phone
Let me know the results!
Hi,
Please try this custom css https://i.imgur.com/Q16f8Sf.png it should fix the height for images.
.td-post-featured-image {
height: 364px;
}
Hope this will help you!
Hi gumball44, the amp version should be access only from mobile devices, therefore I do not think that it should be implement for desktop version.
I think that you can use a css something like this one -> https://i.imgur.com/HsYMaiU.png -> https://i.imgur.com/wvSLxcP.png
.td-header-wrap, .td-mobile-footer-wrap, .td-mobile-sub-footer-wrap {
width: 670px;
margin: 0 auto;
}
Normal this code should be set only for amp version.
Hope this will help you!
Hi aodto,
If is that the “-” that you want to remove you can use this custom css
.td-big-grid-flex .td-post-author-name span, .td_module_flex .td-post-author-name span {
display: none!important;
}
Set the code in theme panel > custom code> custom css and it will remove the – from all flex elements.
Hope this will help you!
Hello !
The templates can be found in: \wp-content\plugins\td-standard-pack\Newspaper\parts\single
Also you can add CSS Coding in Theme Panel – Custom Code.
Thank you !
Hello,
You need to set the custom css in theme panel> custom code > custom css and this will apply on vc_widget_sidebar.
Thank you!
yeah u can look it here:
https://babaulamdep.com/top-cac-loai-nuoc-hoa-hong-cho-da-kho/
P/S: i have a next question.
i’m using custom css code, from tagdiv gave me to display scroll to top button, i want it have transparent color, pls help me a code. thank you
-
This reply was modified 6 years by
babaulamdep.
-
This reply was modified 6 years by
babaulamdep.
-
This reply was modified 6 years by
babaulamdep.
-
This reply was modified 6 years by
babaulamdep.
Hi,
That transparency background is set using an extra class on theme body -> https://i.imgur.com/AqrV7O6.png this class has a custom css that is setting the background transparent.
You can achieve that using a custom css like this one -> https://i.imgur.com/7NhZlmN.jpg
.td-container {
background-color: #ffffffe6;
}
Set the code in theme panel custom code> custom css.
Hope it will help you!
Hello !
Please use this css code: .tdb_single_comments_count {
display: none;
}
The code must be inserted here: https://www.screencast.com/t/J1Nxw5s5
Thank you !
I managed to fix it using css and margins with a minus, like minus -35.
Setting the block to INLINE.
Can’t get into the front page editor anymore though, opened new thread.
-
This reply was modified 6 years by
jfox20.
Hi. I really like the “Tech Pro” template, and im considering a switch from my current build, to that one.
I have a few questions before I make up my mind:
– Does the custom CSS carry over, or do I have to hook it up again?
– Will the featured images scale correctly, or will that be done automaticly?
– Will the custom footer carry over, or do i have to hook that one up once again?
I have published about 1 000 articles, and I´m more specifically asking; is this hard? I´m very familiar with the Tagdiv editor, but somewhat unsure if it´s worth the risk..
Webpage: https://vpnbasen.se
Best / Karl
Thanks Vlad. Is there any way to accomplish this with CSS? Perhaps I can set a minimum width for the element so that when it goes under that width it will be hidden?
Thx I will try with flex grid or Boostrap (import)
But this is what i use now and i want it clean with css classes.
<div class=”vc_row tdi_128_f59 row_bannnerFixer wpb_row td-pb-row”><style scoped=””>/* custom css */ .tdi_128_f59{ min-height: 0; }.tdi_128_f59, .tdi_128_f59 .tdc-columns{ display: block; }.tdi_128_f59 .tdc-columns{ width: 100%; }</style><div class=”vc_column tdi_130_064 wpb_column vc_column_container tdc-column”><style scoped=””>/* custom css */ .tdi_130_064{ vertical-align: baseline; }.tdi_130_064 .wpb_wrapper, .tdi_130_064 .wpb_wrapper .tdc-elements{ display: block; }.tdi_130_064 .wpb_wrapper .tdc-elements{ width: 100%; }.tdi_130_064 .wpb_wrapper{ height: auto; }</style><div class=”wpb_wrapper”><div id=”verso” class=”wpb_single_image wpb_content_element vc_align_center”> <figure class=”wpb_wrapper vc_figure”>
</figure></div></div></div><div class=”vc_column tdi_132_231 wpb_column vc_column_container tdc-column”><style scoped=””>/* custom css */ .tdi_132_231{ vertical-align: baseline; }.tdi_132_231 .wpb_wrapper, .tdi_132_231 .wpb_wrapper .tdc-elements{ display: block; }.tdi_132_231 .wpb_wrapper .tdc-elements{ width: 100%; }.tdi_132_231 .wpb_wrapper{ height: auto; }</style><div class=”wpb_wrapper”><div id=”prospectus” class=”wpb_single_image wpb_content_element vc_align_left prospectus”> <figure class=”wpb_wrapper vc_figure”>
</figure></div></div></div><div class=”vc_column tdi_134_aaf wpb_column vc_column_container tdc-column”><style scoped=””>/* custom css */ .tdi_134_aaf{ vertical-align: baseline; }.tdi_134_aaf .wpb_wrapper, .tdi_134_aaf .wpb_wrapper .tdc-elements{ display: block; }.tdi_134_aaf .wpb_wrapper .tdc-elements{ width: 100%; }.tdi_134_aaf .wpb_wrapper{ height: auto; }</style><div class=”wpb_wrapper”><div id=”dahua” class=”wpb_single_image wpb_content_element vc_align_left”> <figure class=”wpb_wrapper vc_figure”>
</figure></div></div></div><div class=”vc_column tdi_136_2ca wpb_column vc_column_container tdc-column”><style scoped=””>/* custom css */ .tdi_136_2ca{ vertical-align: baseline; }.tdi_136_2ca .wpb_wrapper, .tdi_136_2ca .wpb_wrapper .tdc-elements{ display: block; }.tdi_136_2ca .wpb_wrapper .tdc-elements{ width: 100%; }.tdi_136_2ca .wpb_wrapper{ height: auto; }</style><div class=”wpb_wrapper”><div id=”forset” class=”wpb_single_image wpb_content_element vc_align_center”> <figure class=”wpb_wrapper vc_figure”>
</figure></div></div></div><div class=”vc_column tdi_138_902 wpb_column vc_column_container tdc-column”><style scoped=””>/* custom css */ .tdi_138_902{ vertical-align: baseline; }.tdi_138_902 .wpb_wrapper, .tdi_138_902 .wpb_wrapper .tdc-elements{ display: block; }.tdi_138_902 .wpb_wrapper .tdc-elements{ width: 100%; }.tdi_138_902 .wpb_wrapper{ height: auto; }</style><div class=”wpb_wrapper”><div id=”janaf” class=”wpb_single_image wpb_content_element vc_align_right”> <figure class=”wpb_wrapper vc_figure”>
</figure></div></div></div><div class=”vc_column tdi_140_8af wpb_column vc_column_container tdc-column”><style scoped=””>/* custom css */ .tdi_140_8af{ vertical-align: baseline; }.tdi_140_8af .wpb_wrapper, .tdi_140_8af .wpb_wrapper .tdc-elements{ display: block; }.tdi_140_8af .wpb_wrapper .tdc-elements{ width: 100%; }.tdi_140_8af .wpb_wrapper{ height: auto; }</style><div class=”wpb_wrapper”></div></div></div>
-
This reply was modified 6 years by
SvijetS.
Hi just checked, there is no option from Widget area. So what to do? That custom css option – where to put that code?
Hi,
I think it can be achieve, bot for this you’ll need a lintel more work and study, here is some documentation -> https://www.w3schools.com/howto/howto_css_parallax.asp
Hope this will help you!
Hi,
Yes, you can set as many classes you want, you just need to set a space between them.
Also the css of the class need to be set in theme panel> custom code> custom css.
Thank you!
Hello !
For this you will have to use CSS. Newspaper theme is only compatible with Woocommerce but all the modifications you want to add will require css.
Thank you !
Hello !
The only option would be to un-hide it through CSS editing. There is no other option for this.
Thank you !
I think general option could change other widget styles in future too. So we chose Custom CSS. But problem is there is no Custom CSS option. Please help.
The widget shows only this options: https://snipboard.io/SwnNQH.jpg
https://snipboard.io/4ZYwgz.jpg
Thank you Calin. I had already tried what you suggest, but thumbs were still always cropped, less or more.
I found a solution though for images whithin flex blocs. In case someone has the same problem, just add this to your CSS:
.td-thumb-css {
background-size: contain!important;
background-repeat: no-repeat!important;
}
But I still have the problem with the images which are not within flex blocs (for example in “related articles” or “more stories”)
I installed the plugin “Simple Image Sizes”, set all thumbs to “not crop” and regenerated all images but this still does not change anything.
Could you tell me what can be done?
Thanks!
Hi,
I have actually managed to resolve this from CSS
It appears that on posts, a margin suddenly appears that isn’t on the other pages.
Thank you!