- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsDefault Block Settings Guide
- TutorialsHow to use custom fonts
Hi,
I understand, the situation is as follows, logged in people see the version without cache, while not logged in people see the version with the cache.
You need to check in the cache plugins the settings you have, I believe it will be related to javascript and css options.
Thank you!
Hello @kbrackett!
This issue has been discussed already here, please check: https://forum.tagdiv.com/topic/cssdisplay-show-or-hidden/
Thank you!
Hai,
what is the technical environment:
• Newspaper Version: 12.1.1
• WordPress 6.1.1
• PHP Version 7.4.30
• Testing with Chrome and iPhone 6s
What is the problem: the settings are the same for all three modules and yet there are different mobile displays. From my point of view, this should not be the case, because I can only make mobile settings for Flex 10 M2. This means that otherwise the CSS settings for desktop should apply to mobile.
Maybe I am blind and do not see the right settings … thx for supporting the issue!
Rgds
TheStormer
I can force the desired behaviour by adding this CSS:
@media (max-width: 767px) {
body .tdi_115 .td_module_fex_6 .td-module-meta-info {
padding: 0px;
}
body .tdi_131 .td_module_flex_6 .td-module-meta-info {
padding: 0px !important;
}
body .tdi_131 .td_module_flex_7 .td-module-meta-info {
padding: 0px !important;
}
}
Module Settings:
Big Grid Flex 5
MODULE CATEGORY GRID 1
MODULE CATEGORY GRID 2
MODULE CATEGORY GRID 3
Meta info margin: 0px 0px 0px 0px
Meta info padding: 0px 0px 0px 0px
Article title padding: 2px 5px 2px 5px
Category tag spacing: standard
Category tag padding: standard
Big Grid Flex 10
MODULE CATEGORY GRID 1
MODULE CATEGORY GRID 1 – MOBILE
MODULE CATEGORY GRID 2
Meta info margin: 0px 0px 0px 0px
Meta info padding: 0px 0px 0px 0px
Article title padding: 2px 5px 2px 5px
Category tag spacing: 0px 0px 7px 7px


Hello,
How can I remove the link that is in the photo and in the author’s name? I want to totally remove these links (this is about crawlers and losing crawl budget).
Below in the screenshot the items that need to be modified. I want the links to be gone (CSS is not the solution here)
I am using TagDiv Composer to build the post and I found these elements in PHP. They are located in the td-cloud-library plugin.
Path to the file – td-cloud-library/shortcodes/single/tdb_single_author.php
A fix is required in this file (removing the link from the author’s photo and from the author’s name), but I don’t know how to do it, because I don’t want to overwrite the plugin (I care about updates). What other way can I modify it? Is it possible to somehow create a path in child-theme to overwrite this file or maybe you know another solution?
Had the same issue and I had asked on this forum… the reply stated the following CSS:
.tagdiv-type figure img {
margin-bottom: 10px;}
Now am confused which one to use!
-
This reply was modified 3 years by
theheritagelab.
Yes, please give me the css code. I’m comfortable with it.
1.
Could you please copy the code? I’ll put it in CSS as it is. It’s annoying and time-consuming to hit one by one. If you answer with the code, I’ll copy and use it as it is. Thank you.
Hello,
The tagdiv Analyzer is our automatic tool, very useful for page speed and unused CSS. So, it would help if you edited the style with tagDiv Composer -> https://www.youtube.com/watch?v=jQvA64uTLkI
Also, please check if you donțt have set the header to no header from Manager -> Header -> https://imgur.com/2pQrAJl select your cloud header.
Thank you!
Hello again,
I added the code you sent to the “Theme Panel > Custom Code > Custom CSS” window and saved it. When I looked again, I saw that the lines I added were not saved. I had the same issue when I updated “Theme Panel > ADS” to add Google ads to our site.
We removed the “tagDiv Standard Pack” plugin because it puts extra load on our site and we don’t think it’s needed. According to the information I have read from several sources, this situation can occur without the “tagDiv Standard Pack”. Is this information correct? Do we need to activate the “tagDiv Standard Pack” plugin again for the code you sent to work as you suggest?
Regards!
Hello,
This is an issue; until this is solved, you can use the custom code css
.td-post-content figure img{
margin-bottom: 21px;
}
Set the code in Theme Panel -> Custom Code -> Custom CSS.
Thank you!
Hi,
Please try this custom css:
.td-header-border:before {
display: none
}
You need to set the code in the theme panel > custom code> custom css.
I hope this will help you!
Hello,
Kindly help me, my header is missing and css is not updating even i can’t change any design from backend.
https://drive.google.com/file/d/17ofdHnM9aEAtQ83hg4b3iKJ0_76w7gPR/view?usp=share_link
https://drive.google.com/file/d/1YSoxaS340qocg3bk0c7CnNPVlQ8-KGmE/view?usp=share_link
i don’t see this
If you copy the code I can put it in CSS
And tell me how to watch this too. I want to learn.
Hello!
Edit the homepage with the TagDiv Composer, click on that row and add a padding in the CSS tab of the element.
Thank you!
Hi,
I see it, unfortunately, this can be removed only with css. If you can provide the website link I can make a css for you.
Thank you!
Hello @ezioboy!
1. Use some CSS. For example: https://prnt.sc/z5bUzniOF2yQ
2. You must also modify it for mobile: https://prnt.sc/X3SlzGO1PwQj
3. Align the text like this: https://prnt.sc/9Wef_NpX5C1E -> https://prnt.sc/SF_xs3tA2i8H
4. You cannot stop that. You should use a cloud product template from the Cloud Templates: https://forum.tagdiv.com/tagdiv-shop/
5. This code will require custom work, which is not covered by the support team.
For customization and other services, you can contact our custom work team here: https://tagdiv.com/premium-customization-services/
6. Test it and let me know if you encounter any issues.
Thank you!
Hello!
Yes, it is an issue there. Add the CSS code in Newspaper -> Theme panel -> Custom code -> Custom CSS:
.tagdiv-type figure img {
margin-bottom: 10px;}
Thank you!
[Information]
I’m using the real news demo.
My site is duweek.com.
I have a question about changing the Buy button.
1.
I put the code to delete (or change) the shopping cart button. But I can’t change it. Please check whether the code is correct or the method is correct.
// 곧바로 체크아웃시키기
add_filter (‘add_to_cart_redirect’, ‘redirect_to_checkout’);
function redirect_to_checkout() {
return WC()->cart->get_checkout_url();
}
// 장바구니 텍스트 변경하기
add_filter( ‘woocommerce_product_single_add_to_cart_text’, ‘woo_custom_cart_button_text’ ); // 2.1 +
function woo_custom_cart_button_text() {
return __( ‘바로 구매’, ‘woocommerce’ );
}
2. Button Modification PC and mobile are different.
I put the [width: 100%;] code to adjust the width of the shopping cart button. The PC is adjusted normally, but the mobile is not applicable.
3.
I want to align the buy (or shopping cart) text to the center and the amount (amount) above to the right inside the box. How can I do this?
4.
Every time I click Buy (or Shopping Cart), the shopping cart is added up unnecessarily. Due to the nature of digital products, only one item is required. Is it possible to forcibly stop this? page move
Also, the page is quite narrow on the PC screen and is not intuitive to the user. I tried [Newspaper Builder] for design, but an error occurred. Is the external page (or plugin or function) unmodifiable? Can’t use the Newspaper template? (Change)
5. Checkout page form issues
Deleted unnecessary forms with code. (Only name 1, phone number and email are required)
However, the width of the form of the name does not match, so I put CSS [width: 100%;] cor, but it does not apply to both PC and mobile.
First of all, this is the code for deleting the form. Please check if it is correct.
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’, 11);
function theme_enqueue_styles() {
wp_enqueue_style(‘td-theme’, get_template_directory_uri() . ‘/style.css’, ”, TD_THEME_VERSION, ‘all’ );
wp_enqueue_style(‘td-theme-child’, get_stylesheet_directory_uri() . ‘/style.css’, array(‘td-theme’), TD_THEME_VERSION . ‘c’, ‘all’ );
}
function wc_remove_checkout_fields( $fields ) {
// Billing fields
unset( $fields[‘billing’][‘billing_company’] );
unset( $fields[‘billing’][‘billing_country’] );
unset( $fields[‘billing’][‘billing_state’] );
unset( $fields[‘billing’][‘billing_last_name’] );
unset( $fields[‘billing’][‘billing_address_1’] );
unset( $fields[‘billing’][‘billing_address_2’] );
unset( $fields[‘billing’][‘billing_city’] );
unset( $fields[‘billing’][‘billing_postcode’] );
// Shipping fields
unset( $fields[‘shipping’][‘shipping_company’] );
unset( $fields[‘shipping’][‘shipping_country’] );
unset( $fields[‘shipping’][‘shipping_phone’] );
unset( $fields[‘shipping’][‘shipping_state’] );
unset( $fields[‘shipping’][‘shipping_first_name’] );
unset( $fields[‘shipping’][‘shipping_last_name’] );
unset( $fields[‘shipping’][‘shipping_address_1’] );
unset( $fields[‘shipping’][‘shipping_address_2’] );
unset( $fields[‘shipping’][‘shipping_city’] );
unset( $fields[‘shipping’][‘shipping_postcode’] );
// Order fields
unset( $fields[‘order’][‘order_comments’] );
return $fields;
}
add_filter( ‘woocommerce_checkout_fields’, ‘wc_remove_checkout_fields’ );
add_filter(‘woocommerce_checkout_fields’, ‘custom_override_checkout_fields’);
function custom_override_checkout_fields($fields)
{
$fields[‘billing’][‘billing_first_name’][‘label’] = ‘Name’;
return $fields;
}
6.
I installed a plug-in externally because I needed to use a feature that Newspaper didn’t have.
However, the news paper login, checkout, and thank you pages do not appear and are newly applied.
Can’t you just use the plugin for functionality and use the existing Newspaper demo method for login, checkout, and thank you pages?
!! Please, I would appreciate it if you apply a case-by-case method that only allows you to view specific content when paying for a specific content in the next update. This is a much-needed feature.
Hello
How to change the size of a gif? When I paste a link from https://gfycat.com/en/willingpopularcoelacanth the gif is displayed small. Can’t resize. My authors posting as a link, not code (iframe).
For example: https://www.yesasia.ru/article/1164557
Maybe I need to write a CSS class? But which one?
Thanks for the help!
Hello!
Add the CSS code in Newspaper -> Theme panel -> Custom code -> Custom CSS.
Thank you!
Please give me the correction code. This is the css code.
Hello!
Click on “Remove generated CSS” and see the results.
Please check our step by step tutorial about the tagDiv CSS Analyzer here: https://www.youtube.com/watch?v=tnkVapqhIHc&t=1s
Thank you!
Call me karlin. I have to give you the change code so I can see it like that. please give me a solution please. Ask karlin for the css code.
Hi,
I have a problem with CSS after i used css analyzer:
1. before – https://snipboard.io/2TcFsv.jpg
2. after CSS analyzer – https://snipboard.io/u82TzF.jpg
How can i set css analyzer to left this H1 like before
The guide works for when you edit the block on a page (such as from pre-built pages)
With single posts you cannot change the social counter however. For example if you do not have a youtube channel (default) you can leave the field empty in the block in pages, but there is no option to change this in single posts.
The only possibility to modify single post social counters is to hide it in CSS.
Is there any other way to modify social counters in single posts?
However