- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsDefault Block Settings Guide
- TutorialsHow to use custom fonts
Hi,
It’s not that simple. If it were, all you’d need to do is take the code from there.
I hope this code does what you need and doesn’t break anything.
.td_woo_product_module .td-module-container .td-module-meta-info {
display: block;
text-align: center;
}
body .tdc-content-wrap div.td_woo_products_block .star-rating
Specificity: (0,3,2)
{
margin: 0px 10px;
}
div.td_woo_products_block div.td_woo_product_module .price {
text-align: right;
margin-right: 10px;
}
For shadow on css code:
body .tdc-content-wrap .td-module-container {
box-shadow: -1px 1px 3px 1px gray;
}
Just change the box-shadow
Hi,
For the category, you can set a border like this – https://i.imgur.com/6XLnF6m.png https://i.imgur.com/LysNRdO.png and for the other | you need to use a css like this one:
body .td-module-meta-info .td-post-author-name span {
display: none;
}
.td-module-meta-info .td-post-author-name a {
margin-right: 8px;
padding-right: 10px;
border-right: 2px solid #aaa;
}
The cs can be set in a raw css element from the tagDiv Composer and it will apply only on the page where it is set. https://i.imgur.com/cnJ0g1Q.png https://i.imgur.com/UCDbctw.png
Hi,
Item 3: I’ll review this and let you know what I’m able to do as soon as I have an update.
Item 4: It’s not possible to display both options at the same time. The option shown will depend on the item’s status:
– If the item is out of stock, “Read More” will be displayed.
– If the item is available, the “Add to Cart” button will appear. (This behavior applies only to WooCommerce Blocks.)
Regarding the shadow effect, you can check how CSS shadows work by following this guide:
https://www.w3schools.com/css/css3_shadows_box.asp
Thank you!
Hi,
Could you help me with item 3?(Align the stars and the price on the same line) I don’t know CSS.
And regarding item 4, how can your block have both an “Add to Cart” option and a “Read More” option?
Thank you!
Hello,
Since the latest WordPress update (I’m now on 6.7.x), every “Advanced WordPress Backgrounds” block on my Newspaper 12.7.3 site has stopped working properly:
– Background images no longer centered
– Background color + overlay disappeared
– Border-radius completely removed
The problem is visible both in tagDiv Composer pages and in the normal Gutenberg editor.
Everything worked perfectly before the WordPress update.
Is this a known compatibility issue?
Could you please provide a quick CSS fix or include a patch in the next Newspaper update?
Thank you!
Best regards,
Hi,
Thank you for the suggestions. I’ve added the Safari-specific CSS you provided, but unfortunately the scroll stuttering persists.
To summarize what I’ve tested:
Disabled all plugins except tagDiv ones – issue persists
Switched to Twenty Twenty-Four theme – scroll is smooth (confirms it’s theme-related)
Added your Safari CSS fix – no improvement
Disabled CSS animations/transitions via custom CSS – no improvement
Could you please test on a real Safari/Mac device? The URL is: https://simscommunity.info/
The issue occurs immediately on any page when scrolling begins. It’s very noticeable compared to Chrome where scrolling is perfectly smooth.
Thank you!
https://drive.google.com/file/d/1zYkYiJlQxVO-4ES3YhYq67sc-AfUZxNQ/view?usp=drive_link
Please try this custom css:
body .td_block_template_9 .td-block-title {
text-align: right;
}
body .td_block_template_9 .td-block-title:after {
right: 0;
left: auto;
}
Hi,
Please provide a link to your website where I can investigate the header style and create a css for you.
Thank you!
Hi,
If you are using the header style 1, then you can use this custom css:
body .td_block_template_1 .block-title {
text-align: right;
}
Set teh code in the theme panel > custom code> custom css and all block headers that use the header style 1 will be aligned to the right.
Thank you!
Hello,
1. That is only a notice and is not an interference or an effect on the website.
2. For that, replace teh last part of css I provided (this one)
body .tdc-content-wrap .td-module-container {
background: #f9f9f9;
border-radius: 0 0 10px 10px;
padding-bottom: 10px;
}
with this one:
body .tdc-content-wrap .td-module-container {
background: #f9f9f9;
border-radius: 10px;
padding-bottom: 10px;
border: 1px solid gray;
box-shadow: 1px 1px 5px 1px gray;
}
you can adjust the code after your needs.
3. To align the stars and the price on the same line, it is necessary to change somewhere halfway through the css code above.
4. For this you need to use tagDiv Composer on the pages where you have blocks and see if the blocks you have on the website have the option to display the “View/read more” button https://i.imgur.com/eeiflV4.png
Thank you!
Hi,
I understand you are referring to the icons in the menu and where they are located, for this the easiest way is to use a plugin. Please check our documentation for how to do this – https://forum.tagdiv.com/how-to-add-icons-in-menu/
If you want to add icons without using an extra plugin, then you can do it as on News Magazine Pro where the icons are set using HTML and css https://imgur.com/C6U8BQ4 and those classes display the icons. Just make sure that you have in the header any element that is using an icon, because without it, it is possible that the HTML icons set with classes will not render on your website.
Thank you!
Hi,
Normally, you should use the Theme Builder to edit the block layout. Once you have adjusted one block, you can copy and paste the styles to the other blocks.
If you prefer to proceed using CSS, you can try something like this:
.tdc-content-wrap .td-excerpt{
padding-bottom: 16px;
border-bottom: 2px solid #e7f0f1;
}
html body .tdc-content-wrap div.star-rating {
float: left;
}
.tdc-content-wrap .td-module-meta-info{
border-radius: 0 0 10px 10px;
}
body div.td_woo_products_block .tdc-content-wrap div.td_woo_product_module .price{
margin-bottom: 0;
}
body .tdc-content-wrap div.td_woo_products_block .star-rating {
margin: 6px 0;
}
body .tdc-content-wrap .td-module-container {
background: #f9f9f9;
border-radius: 0 0 10px 10px;
padding-bottom: 10px;
}
The CSS should be added in Theme Panel > Custom Code > Custom CSS. Be sure to check all pages to confirm that it displays correctly and does not break the layout of any blocks.
Thank you!
Hi bounama17,
If you want to add icons without using an extra plugin, then you can do it as on News Magazine Pro where the icons are set using HTML and css https://imgur.com/C6U8BQ4 and those classes display the icons. Just make sure that you have in the header any element that is using an icon, because without it, it is possible that the HTML icons set with classes will not render on your website.
Thank you!
Hi,
If the template is editable with tagDiv Composer, edit it and set the class from the image on the block (cls-wpb), then make sure that the css is also loading on that template if not, then set it in a css element from tagDiv Composer.
Thank you!
Hi,
If you can provide a copy of the page where the problem can still be seen, I will check it and see what can be done. Right now, the CSS you’re using seems to be working, and everything appears to be okay.
Thank you!
Hi there,
I am experiencing a strange issue that I am struggling to fix. I have created a custom template for one of my categories. On the page, I have two rows. The first is full-width, the second is split into two 50% width columns. Each section uses the inline text element. I have used the extra class on the row and two columns to allow for a scroll to navigation.
The top row has a background image with white text. The row below with the two columns has a normal white background with black text. The page looks perfect on desktop, but when viewed on mobile, the two columns below seem to inherit the white text from the row above. The title element for the sections is also a completely different format on mobile to the other titles. Narrowing the browser to mimic mobile still works as intended.
I have viewed on iOS and Android. Tested on Chrome and Safari and it is broken on both.
The page in question is https://baitingtheswim.co.uk/category/fishing-competitions/fishomania/ The sections are FishOMania 2025 Qualifier Dates, Previous FishOMania Winners and About FIshOMania. The last two are the ones that break on mobile.
Any idea why this is happening. I have tried to force black text in the composer, deleted the whole row with two columns and create again. It just doesn’t seem to work.
The only way I have managed to force black text is by adding custom CSS in theme panel, but that changes the titles and link colours in those sections even though I haven’t specified to touch links or header elements.
Hi,
Unfortunately, I do not have a Mac to test it on a real device, and it appears that those simulators are not displaying the error.
The problems that can be on Safari are usually related to:
– position: sticky;
Parallax or “Zoom” effects in blocks:
– transform: translate3d()
– transform: scale()
Box-shadows
This uses a WebKit-specific media query that ONLY Safari matches:
/* Safari-only CSS */
@media not all and (min-resolution: 0.001dpcm) {
@supports (-webkit-touch-callout: none) {
/* Your Safari-only styles here */
.td-module-image,
.td-image-container,
.tdb-header,
.td-header-wrap {
transform: translateZ(0);
will-change: opacity, transform;
}
.td-block-span12 .td_module_flex,
.td_module_10,
.td_module_11,
.td_module_1 {
box-shadow: none !important;
}
}
}
Yes, Rank Math 1.0.259 breaks other CSS, too. Rolling back to 1.0.258 works for WP 6.9.
https://wordpress.org/support/topic/rankmath-and-newspaper-theme-problem-after-wp-6-9-update/
Hola, tengo la siguiente categoría: https://dataconurbano.net/category/categoria-prueba/
Quiero que se muestren 6 noticias por página y un paginador normal (numeros en la parte de abajo)
Hay forma de hacerlo desde el theme panel?
—
Buscando en internet encontré este codigo para functions.php del child theme. Me muestra el paginador y la cantidad correcta de noticias, pero en la página 2 me dice “Error 404”
add_action(‘pre_get_posts’, ‘personalizar_cat_544’);
function personalizar_cat_544($query) {
// Solo en el front-end y en el query principal
if (is_admin() || !$query->is_main_query()) {
return;
}
// Aplica SOLO en la categoría 544
if ($query->is_category(544)) {
// Cantidad de posts a mostrar
$query->set(‘posts_per_page’, 6);
// Asegurar que la paginación funcione correctamente
if ( get_query_var(‘paged’) ) {
$query->set(‘paged’, get_query_var(‘paged’));
}
}
}
Esa categoría tiene seteado:
Category template: Style 2
Category top posts style: Grid Full 1 (por css achiqué el tamaño de la imagen para que coincida con el container centrado)
ARTICLE DISPLAY VIEW: M10
Pagination style: Normal Pagination
Agradezco si me pueden ayudar
Muchas gracias
Hi tagDiv team,
I’m experiencing severe scroll stuttering/lag on Safari (macOS 15.5) on my website built with Newspaper theme 12.7.3. The issue occurs on all pages immediately when scrolling begins.
Environment:
Newspaper Theme: 12.7.3
WordPress: 6.8.3
PHP: 8.3.27
Server: LiteSpeed/Apache
Browser affected: Safari (macOS 15.5)
Browser NOT affected: Chrome, Firefox
What I’ve tested:
✅ Disabled all plugins except tagDiv Composer and Cloud Library – issue persists
✅ Disabled tagDiv Composer – issue persists
✅ Switched to Twenty Twenty-Four theme – scroll is smooth (confirms issue is theme-related)
✅ Disabled Raptive Ads – no improvement
✅ Tested CSS fixes:
animation: none !important – no improvement
transition: none !important – no improvement
-webkit-overflow-scrolling: auto – no improvement
✅ Object Cache Pro with Relay is configured and working
URL: https://simscommunity.info
The scroll is perfectly smooth in Chrome and Firefox, but Safari has consistent frame drops and stuttering. This is affecting user experience for a significant portion of our visitors.
Is this a known issue with Safari? Are there any recommended fixes or theme settings I should adjust?
Thank you!
Calin, I asked the question to Gemini : here is the response :
WordPress 6.9 introduced significant changes to the Block Editor, data APIs, and the handling of layouts (columns, grids). These areas are essential for a complex magazine theme like Newspaper. A theme that has not yet been updated for these changes is highly prone to breaking the display.
1. 🛑 The Likely Cause: CSS and Block Structure
The display issue where photos show up “one under the other in large size” is the default appearance when the CSS that is supposed to create the gallery columns (using display: flex, grid, or float) is no longer being applied.
This could be due to:
HTML Structure Change: WordPress 6.9 may have changed the HTML tags (the <div>s) surrounding the gallery images. The Newspaper theme’s CSS is no longer finding the correct selectors and therefore fails to apply the column layout.
CSS Conflict: New native WordPress 6.9 CSS is unexpectedly overriding the theme’s CSS.
2. ⏳ The Recommended Solution: Wait for the Newspaper Update
Since the theme is the most probable source of the issue, the most stable and long-term solution is to wait for tagDiv (the Newspaper theme developers) to release an official compatibility update for WordPress 6.9.
Action: Check the Newspaper forum or changelog page (on ThemeForest, if you bought it there) to see if they have published an announcement regarding 6.9 support or a release date for the next version.
If I put your code into custom CSS I got this result: see image
This is the post where gallery is inserted: https://www.modre-novice.si/aktualno/letnarjeva-crno-bela-kronika-mekinjske-druzine/
Any suggestion? Thank you for your help.
Kind regards,
Peter
Hi,
I think that is teh gallery from Gutenberg not from the theme. Just make sure that all the cache is clear, and there is nothing interfering.
You need to make sure nothing is interfering with this css:
body .is-layout-flex {
display: flex;
}
Thank you!
Hi,
Please try this custom css:
.single .comments .td-form-url {
display: none;
}
Set the code in the theme panel, custom code, custom css.
I hope this will help you!
Hi,
Please provide a link to see the gallery you are using and how this is looking, maybe it needs to provide a css to adjust it after your needs.
Thank you!