- 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
- NewspapertagDiv Composer Tutorial
- NewspaperTheme modules and blocks
- NewspaperThe Mobile Theme
- NewspaperCompare theme files – Winmerge tutorial
- NewspaperUsing Other Ads
- NewspaperBlock settings tutorial
- Using custom fonts
- Using typekit fonts
- NewspaperChild Theme Support
- NewspaperHow to Make the Site Faster
I already did that, that is easy to do by just changing the settings. Maybe I didn’t explain so well.
I mentioned the CSS to make the search area the full-width of the browser/page just like what you have on this tagdiv forum. You can see the gray area all the way to the edges. I know it is with css but what is the css to do this?
You can see at my site https://www.cruisehive.com/forums
Thanks so much.
Hello,
You can try to edit the header.php file and add the strings of text using div element if you know basic html + css.
Here is an example: https://www.screencast.com/t/wTFgX3X5L – https://www.screencast.com/t/j4GjLTEWvg
You cna then use the class assigned for it to style it with css and change the font family, size, etc.
Thank you!
Hi,
The scroll to top button inherits the theme general accent color set in the theme panel
– https://www.screencast.com/t/0ZHbvlRF4alx
If you want to change the color just for this button, use a code like this for example
– https://www.screencast.com/t/G9jZdkRJe
This is the code used, if you decide to use it enter it in Theme panel->Custom CSS (change the color to what you want)
.td-scroll-up {
background-color: yellow;
}
Thanks
Hello,
This can only be done with css. The code gets pretty complicated in changing the style of each button as they are all different but here is an exmaple:
@media(min-width:767px){
.td-social-sharing-buttons{
padding: 32px 32px 32px 32px;
margin-right: 25px;
}
.td-social-but-text{
display:none;
}
.td-social-facebook .td-icon-facebook{
font-size: 35px;
top: -17px;
}
.td-social-twitter .td-icon-twitter {
font-size: 20px;
position: relative;
top: -10px;
}
.td-social-google .td-icon-googleplus {
font-size: 26px;
position: relative;
top: -14px;
left: -13px;
}
.td-social-pinterest .td-icon-pinterest {
font-size: 25px;
position: relative;
top: -13px;
}
.td-social-sharing-buttons.td-social-twitter{
padding: 32px 27px 32px 27px;
}
.td-social-sharing-buttons.td-social-google{
padding: 32px 38px 32px 38px;
}
.td-social-sharing-buttons.td-social-pinterest{
padding: 32px 28px 32px 28px;
}
}
It may require some fine tuning though on the paddings.
You can add the code in the theme panel-> custom css box.
Thank you!
Hi,
That is the way the slide displays on smaller devices. You could try a code like this and make the slide have a bigger height in this case
– https://www.screencast.com/t/22w4mD3np
Enter the code in Theme panel->Custom CSS section
@media (max-width: 500px) {
.iosSlider-col-3 .entry-thumb,
.iosSlider-col-3,
.iosSlider-col-3 .td_module_slide {
height: 250px!important;
}}
Thanks
Hey. Just use the following custom CSS:
.td-main-page-wrap {
padding-top: 2px;
You can change the value to what you think better but 2px is a good distance btw the top and content.
^^
-
This reply was modified 9 years by
Silverheim.
Couple of things:
a) never use inline styles for HTML anymore
b) only use CSS classes
e.g.
.mycenter{text-align:center}
then use that class on your td cells.
c) in responsive layouts, table cells would be percentages, not pixels, such as
.td7{width:7%}
d) to have a table cell be ‘responsive’ each row would need to be able to reduce in size; however on phone it would get cut off, and you’d need to use an overflow class to hide that.
(See the ‘bootstrap’ css classes for examples.)
For responsive columns, you’re better off using a grid system with custom CSS.
There might be a tables plugin for WordPress you could look at which builds all this into one thing for you.
This is actually one of the reasons we’re moving all our sites back to Bootstrap, for this kind of stuff.
However, TagDiv might have a built-in class setup for tables; and it wouldn’t hurt to inspect the main style.css file yourself to look for table classes in there.
Food for thought, anyway 🙂
( I don’t work here. )
Hello again,
For CSS i see today that it’s no work also.
My code on wp-content/plugins/td-speed-booster/td-speed-booster.php for move the style on footer it’s like that but still the same message on page speed test: Your page has 12 blocking script resources and 13 blocking CSS resources. This causes a delay in rendering your page.
I realy don’t understend what it’s wrong!
function css_mover() {
//if ($this->td_theme_name == ‘Newspaper’) { }
// wp 011 – Newspaper 6
$this->move_style_to_footer_queue(‘bbp-default-bbpress’); //bbpress old
$this->move_style_to_footer_queue(‘bbp-default’); // bbpress
$this->move_style_to_footer_queue(‘contact-form-7’);
$this->move_style_to_footer_queue(‘simple-payments-css’);
$this->move_style_to_footer_queue(‘rw-site-rating-css’);
$this->move_style_to_footer_queue(‘usp_style-css’);
$this->move_style_to_footer_queue(‘td_live_css_frontend-css’);
$this->move_style_to_footer_queue(‘google-fonts-style-css’);
$this->move_style_to_footer_queue(‘rw_toprated-css’);
$this->move_style_to_footer_queue(‘rw_recommendations-css’);
$this->move_style_to_footer_queue(‘td-theme-css’);
$this->move_style_to_footer_queue(‘td-theme-demo-style-css’);
$this->move_style_to_footer_queue(‘social-logos-css’);
$this->move_style_to_footer_queue(‘open-sans-css’);
$this->move_style_to_footer_queue(‘jetpack_css-css’);
Hi Guys
Can anyone tell me if it is possible by some simple css / plugin / and or settings to make my tables responsive in mobile view or to any size screen. I have tried a stackable plugin but it didn’t work in an attractive way. Thanks in advance for any help.
<table style=”height: 425px;” border=”1″ width=”816″>
<tbody>
<tr>
<td width=”104″>
<p id=”pagetitle” style=”text-align: center;”>(Temp °C)</p>
</td>
<td style=”text-align: center;” width=”30″>Jan</td>
<td style=”text-align: center;” width=”38″>Feb</td>
<td style=”text-align: center;” width=”43″>Mar</td>
<td style=”text-align: center;” width=”43″>Apr</td>
<td style=”text-align: center;” width=”43″>May</td>
<td style=”text-align: center;” width=”44″>June</td>
<td style=”text-align: center;” width=”43″>July</td>
<td style=”text-align: center;” width=”43″>Aug</td>
<td style=”text-align: center;” width=”43″>Sep</td>
<td style=”text-align: center;” width=”43″>Oct</td>
<td style=”text-align: center;” width=”43″>Nov</td>
<td style=”text-align: center;” width=”43″>Dec</td>
</tr>
<tr>
<td width=”104″>
<p style=”text-align: center;”>Zagreb</p>
</td>
<td style=”text-align: center;” width=”30″>0</td>
<td style=”text-align: center;” width=”38″>1.2</td>
<td style=”text-align: center;” width=”43″>5.5</td>
<td style=”text-align: center;” width=”43″>11</td>
<td style=”text-align: center;” width=”43″>16</td>
<td style=”text-align: center;” width=”44″>18.7</td>
<td style=”text-align: center;” width=”43″>22.3</td>
<td style=”text-align: center;” width=”43″>21.8</td>
<td style=”text-align: center;” width=”43″>15.6</td>
<td style=”text-align: center;” width=”43″>12.3</td>
<td style=”text-align: center;” width=”43″>5.4</td>
<td style=”text-align: center;” width=”43″>2.3</td>
</tr>
<tr>
<td width=”104″>
<p style=”text-align: center;”>Split</p>
</td>
<td style=”text-align: center;” width=”30″>7.5</td>
<td style=”text-align: center;” width=”38″>8.5</td>
<td style=”text-align: center;” width=”43″>11.5</td>
<td style=”text-align: center;” width=”43″>12.8</td>
<td style=”text-align: center;” width=”43″>18.9</td>
<td style=”text-align: center;” width=”44″>23.9</td>
<td style=”text-align: center;” width=”43″>26.7</td>
<td style=”text-align: center;” width=”43″>26.1</td>
<td style=”text-align: center;” width=”43″>22.8</td>
<td style=”text-align: center;” width=”43″>16.7</td>
<td style=”text-align: center;” width=”43″>12.5</td>
<td style=”text-align: center;” width=”43″>9.5</td>
</tr>
<tr>
<td style=”text-align: center;” width=”104″>Dubrovnik</td>
<td style=”text-align: center;” width=”30″>8.3</td>
<td style=”text-align: center;” width=”38″>9.1</td>
<td style=”text-align: center;” width=”43″>11.2</td>
<td style=”text-align: center;” width=”43″>13.9</td>
<td style=”text-align: center;” width=”43″>17.8</td>
<td style=”text-align: center;” width=”44″>22.2</td>
<td style=”text-align: center;” width=”43″>25.6</td>
<td style=”text-align: center;” width=”43″>25.0</td>
<td style=”text-align: center;” width=”43″>22.3</td>
<td style=”text-align: center;” width=”43″>17.8</td>
<td style=”text-align: center;” width=”43″>12.9</td>
<td style=”text-align: center;” width=”43″>10.2</td>
</tr>
<tr>
<td colspan=”13″ width=”601″>
<p style=”text-align: right;”>Based on weather averages</p>
</td>
</tr>
</tbody>
</table>
I recommend using DUPLICATOR to move over all content, dbase, etc.
Or, import the mysql dbase for the content (not the import/export WP file, as that never quite gets everything right, in my experience); import the TD settings like custom CSS, etc. from text file.
Current download on Themeforest is v8.
Remember when upgrading a version you need to remove old folder, and upload new one; not merge old and new.
View the style.css file on the version you download from TF, to see version number before install. 🙂
Hi,
I’m trying to get my search bar area to full-width of the page just like above on this tagdiv forum. I’ve searched online and tried the negative margins and all but after an hour of trying I can’t get it to full width and the search form inside messes up. Are you able to provide some css to solve this? I attached a screenshot below:
https://goo.gl/photos/SrNBzZ5BGnyXSonS7
Thanks so much.
Hi There, I am trying to get rid of this space that is displayed after the menu and above the revolution slider or any other content. Is there any CSS codes I can add to get rid of this?
Here is a screen: https://ibb.co/bOVA95
Thanks.
Hello,
Many thanks for your help.
I folow the ghuide and i have increase the page speed from 22/100 and 25/100 to 60/100 and 76/100 .Very good result.
For CSS i have find the ID but for JS i realy donțt know where i must locking for!
Please let me know if you can help me with this?!
In rest any way that is a good result.
How to set color of button for scrool to top?
If i want not to use it, how can to set it?
Hi,
My function.php (Child-Theme) can not be applied.
What am I missing?
<?php
/* —————————————————————————-
Newspaper V6.3+ Child theme – Please do not use this child theme with older versions of Newspaper Theme
What can be overwritten via the child theme:
– everything from /parts folder
– all the loops (loop.php loop-single-1.php) etc
– please read the child theme documentation: https://forum.tagdiv.com/the-child-theme-support-tutorial/
– the rest of the theme has to be modified via the theme api:
https://forum.tagdiv.com/the-theme-api/
*/
add_action(‘init’,’add_categories_for_pages’);
function add_categories_for_pages(){
register_taxonomy_for_object_type(‘category’, ‘page’);
}
add_action( ‘pre_get_posts’, ‘nobita_merge_page_categories_at_category_archive’ );
function nobita_merge_page_categories_at_category_archive( $query ) {
if ( $query->is_category== true && $query->is_main_query() ) {
$query->set(‘post_type’, array( ‘post’, ‘page’, ‘nav_menu_item’));
}
}
function custom_wp_tag_cloud($args) {
$myargs = array(
‘orderby’ => ‘count’, //使用頻度順
‘order’ => ‘DESC’, // 降順(使用頻度の高い順)
‘number’ => 40 // 表示数
);
$args = wp_parse_args($args, $myargs);
return $args;
}
add_filter( ‘widget_tag_cloud_args’, ‘custom_wp_tag_cloud’ );
// 固定ページにタグを設定
function add_tag_to_page() {
register_taxonomy_for_object_type(‘post_tag’, ‘page’);
}
add_action(‘init’, ‘add_tag_to_page’);
// タグアーカイブに固定ページを含める
function add_page_to_tag_archive( $obj ) {
if ( is_tag() ) {
$obj->query_vars[‘post_type’] = array( ‘post’, ‘page’ );
}
}
add_action( ‘pre_get_posts’, ‘add_page_to_tag_archive’ );
add_theme_support(‘post-thumbnails’);
/* —————————————————————————-
add the parent style + style.css from this folder
*/
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’, 1001);
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’ );
?>
Google doesn’t like ‘resized with CSS’ images as the browser has to do the work, which is considered slow for mobile vs an optimized “serve images at actual size” methodology.
One trick is to change the 3 image sizes made by WordPress, separate from the theme to be your 3 most use sizes. Also consider cutting couple of modules.
Or, you could turn sizes off, and thumbs won’t be made, and will be resized in some instances (larger to small, but smaller to large will not fill boxes).
Try it; but then also check your Pagespeed Insights from Google for “make images right size…” warning.
If your server does mod_pagespeed, you can have it build temp cache images on the fly, including conversion to webp format. Again, something you’d need to test.
(I don’t work here; but we went through this. We ended up limiting “total number of sizes to 6” to keep thumb explosion down.)
ALSO: be sure to change the default compression for thumbs in your wp-config.php, as most small thumbs don’t need to be razor sharp, and so compression level of 50 works for most stuff!
Hello omidi,
Please keep in mind that our theme has no RTL files and any support for this because it has not been designed to be used in this layout, sorry!
Unfortunately, we have no plan on implementing it in the near future. Implementing RTL support in our theme will require 2 style.css files and it will add significant “weight” to the theme. Using the RTL mode means that lots of elements have to be adjusted and this thing involves custom work and we cannot provide this at the moment!
Please try to do a simple search of our forum and you will see that our team offers support only for theme related problems and which not require additional customizations. Please check again our support policy here -> https://forum.tagdiv.com/support-policy-2/
Thanks for your understanding!
Hi,
There is no option to remove those from the post sharing. The easiest way to remove them would be to enter this code in Theme panel->Custom CSS section
– https://www.screencast.com/t/1vQvKfQ2bYgE
– https://www.screencast.com/t/5hgK7J73Zbj
It will apply to the top and bottom sharing of the post
.td-default-sharing .td-social-google,
.td-default-sharing .td-social-pinterest {
display: none;
}
Thanks
Hi Dear,
I noticed that the file “RTL.css” is not in the themeplate.
Is not this file “RTL.css” for this template and should I make it myself?
Do you have this file?
Please send it to me.
Thanks
Hi,
Okay, this is the problem (Testsystem) 
I need the top header bar under the main bar.
i have change the color in the menu and in the style.css
i have deactivate all plugins etc. but nothing change.
Hi,
You could try a code like the one below for example. It will make the header look like this
– https://www.screencast.com/t/fWlrWYUQyKxA
And also the header when sticky will look like this (this can be removed if you don’t want it – the last part of the code)
– https://www.screencast.com/t/gIDKDK4w4t4
Enter it in Theme panel->Custom CSS
.td-header-style-5 .td-header-menu-wrap-full {
background-color: transparent;
}
.td-header-style-5 .td-header-main-menu {
background-color: #1e73be;
}
.td-header-style-5 .td-header-menu-wrap.td-affix {
background-color: transparent;
}
Thanks
Hi,
Each Big grid has predefined styles that you can select. Those can be seen here for example for the grid you mention
– https://demo.tagdiv.com/newspaper/full-big-grid-5/
If you would like to keep the current grid style, you can try this code that will remove the shadow applied on the thumbnails
– https://www.screencast.com/t/G136zrY1g0nD
Enter the code in Theme panel->Custom CSS if you decide to use it
.td_block_big_grid_fl_5.td-grid-style-1 .td-module-thumb a:last-child:before {
display: none;
}
Thanks
Hello,
1) You can change the more stories title from the translations panel:
https://www.screencast.com/t/nNNalIA0H
2) In order to remove more from author you can use 2 methods:
The css method:
.td_block_related_posts .td-related-right {
display:none;
}
You can add the code in the theme panel-> custom css box.
Or you can edit the theme files: comment out or delete this part: http://screencast.com/t/Okmq7lxTDzGd
Thanks.
-
This reply was modified 9 years by
Bogdan B..
Hello,
Thank you for your suggestion.
You can add blank spaces only for desktop as a workaround. Add a column text or text with title element and add a few blank spaces. Press the enter key a few times and then save the element It should add blank space. You can add a custom class to it so you can disable it for other devices: https://www.screencast.com/t/fD8wPn7C
And then add this code in the theme panel-> custom code> advanced css box under the desktop field:
.blankspace{
display:none!important
}
I hope this helps.
Thanks.