- 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
Hello,
Please disregard my earlier question. I managed to add the coding in loop-single-php for (FROM PANEL, DEFAULT, STYLE 1, 5, 9 & 10) .
The issue is with the alignment now. There is No Text Space between the published date and the last modified date for all the loop-single-php.
How do I fix the issue?
I had added the code below in the Theme Template CSS custom for the Single-Template, and the alignment worked.
.the-modified-date{
display: inline-block;
vertical-align: middle;
color:#Aykbo;
}
Your suggestion is appreciated.
Thanks,
Nik
Hello,
You can find the code for the live search here: http://screencast.com/t/yVaH1x4zCnpd – http://screencast.com/t/zxQlG80vS
If you want to remove the search icon entirely you can simply hide it with this css:
.td-icon-search{
display:none!important
}
Thank you!
HI
From page source it seems that you didn’t made any changes for module 2, there is only the default css for it. Please make sure that the settings from theme pane are properly saved then try to add a single block on a test page and do a few tests with it. These settings works fine as can be seen from this screens: http://screencast.com/t/fiHUru3j – http://screencast.com/t/Gp9ksfyixK If you still can’t manage to save the settings try to deactivate all plugins except Visual Composer, clear all caches then test again.
I am not sure how did you changed the thumb’s size as the theme does not have an option in this regard. If you made the changes in theme’s code note that you need to regenerate the thumbnails so the new sizes to be applied.
Thanks!
How to remove footer from mobile theme….we want to remove footer and want on sub-footer will be there in mobile theme…
Option is there for desktop but not for mobile theme..??
Also an – is coming after author name in mobile theme but not on desktop….
We are using the below CSS to remove – in desktop version….
.td-author-line{
display:none!important;
}
Hello,
Unfortunately block 9 can only be on 1 row in a 1/3 column. (a sidebar) On a main column (1/1) or 2 columns, (2/3) the block will have 2 columns.
As an alternative, if you require a block with no featured image and on a single column, you can use block 11 and this css to customize it:
.td_block_11 .td-module-thumb{
display:none!important
}
.td_block_11 .td_module_10 .item-details{
margin-left: 5px;
min-height: 50px;
}
Result: http://screencast.com/t/0ZpsM637d
Thank you!
Hey guys,
Today I upgraded to NP7 and after the update the homepage didn’t show. I tried updating with the Envato toolkit anf manual, but with the same results.
I returned to good ol’6 and I found the following error:
PHP fatal error: Call to undefined function vs_shortcode_custom_css_h_as_property()in /home/ceppetto/domains/
ceppetto.com/public_html/wp-content/themes/Newspaper/vc_templates/vc_row.php (on line 55)
please let me now if yo need login credentials via email.
Thx! regards,
Martijn Bak
Hi, this is my functions.php which seems quite different to yours? i am unsure where to add this?
<?php
/*
Our portfolio: http://themeforest.net/user/tagDiv/portfolio
Thanks for using our theme!
tagDiv - 2016
*/
/**
* Load the speed booster framework + theme specific files
*/
// load the deploy mode
require_once('td_deploy_mode.php');
// load the config
require_once('includes/td_config.php');
add_action('td_global_after', array('td_config', 'on_td_global_after_config'), 9); //we run on 9 priority to allow plugins to updage_key our apis while using the default priority of 10
// load the wp booster
require_once('includes/wp_booster/td_wp_booster_functions.php');
require_once('includes/td_css_generator.php');
require_once('includes/shortcodes/td_misc_shortcodes.php');
require_once('includes/widgets/td_page_builder_widgets.php'); // widgets
/*
* mobile theme css generator
* in wp-admin the main theme is loaded and the mobile theme functions are not included
* required in td_panel_data_source
* @todo - look for a more elegant solution(ex. generate the css on request)
*/
require_once('mobile/includes/td_css_generator_mob.php');
/* ----------------------------------------------------------------------------
* Woo Commerce
*/
// breadcrumb
add_filter('woocommerce_breadcrumb_defaults', 'td_woocommerce_breadcrumbs');
function td_woocommerce_breadcrumbs() {
return array(
'delimiter' => ' <i class="td-icon-right td-bread-sep"></i> ',
'wrap_before' => '<div class="entry-crumbs" itemprop="breadcrumb">',
'wrap_after' => '</div>',
'before' => '',
'after' => '',
'home' => _x('Home', 'breadcrumb', 'woocommerce'),
);
}
// use own pagination
if (!function_exists('woocommerce_pagination')) {
// pagination
function woocommerce_pagination() {
echo td_page_generator::get_pagination();
}
}
// Override theme default specification for product 3 per row
// Number of product per page 8
add_filter('loop_shop_per_page', create_function('$cols', 'return 4;'));
if (!function_exists('woocommerce_output_related_products')) {
// Number of related products
function woocommerce_output_related_products() {
woocommerce_related_products(array(
'posts_per_page' => 4,
'columns' => 4,
'orderby' => 'rand',
)); // Display 4 products in rows of 1
}
}
/* ----------------------------------------------------------------------------
* bbPress
*/
// change avatar size to 40px
function td_bbp_change_avatar_size($author_avatar, $topic_id, $size) {
$author_avatar = '';
if ($size == 14) {
$size = 40;
}
$topic_id = bbp_get_topic_id( $topic_id );
if ( !empty( $topic_id ) ) {
if ( !bbp_is_topic_anonymous( $topic_id ) ) {
$author_avatar = get_avatar( bbp_get_topic_author_id( $topic_id ), $size );
} else {
$author_avatar = get_avatar( get_post_meta( $topic_id, '_bbp_anonymous_email', true ), $size );
}
}
return $author_avatar;
}
add_filter('bbp_get_topic_author_avatar', 'td_bbp_change_avatar_size', 20, 3);
add_filter('bbp_get_reply_author_avatar', 'td_bbp_change_avatar_size', 20, 3);
add_filter('bbp_get_current_user_avatar', 'td_bbp_change_avatar_size', 20, 3);
//add_action('shutdown', 'test_td');
function test_td () {
if (!is_admin()){
td_api_base::_debug_get_used_on_page_components();
}
}
/**
* tdStyleCustomizer.js is required
*/
if (TD_DEBUG_LIVE_THEME_STYLE) {
add_action('wp_footer', 'td_theme_style_footer');
// new live theme demos
function td_theme_style_footer() {
?>
<div id="td-theme-settings" class="td-live-theme-demos td-theme-settings-small">
<div class="td-skin-body">
<div class="td-skin-wrap">
<div class="td-skin-container td-skin-buy">BUY NEWSPAPER NOW!</div>
<div class="td-skin-container td-skin-header">GET AN AWESOME START!</div>
<div class="td-skin-container td-skin-desc">With easy <span>ONE CLICK INSTALL</span> and fully customizable options, our demos the best start you'll ever get!!</div>
<div class="td-skin-container td-skin-content">
<div class="td-demos-list">
<?php
$td_demo_names = array();
foreach (td_global::$demo_list as $demo_id => $stack_params) {
$td_demo_names[$stack_params['text']] = $demo_id;
?>
<div class="td-set-theme-style">" class="td-set-theme-style-link td-popup td-popup-<?php echo $td_demo_names[$stack_params['text']] ?>" data-img-url="http://demo.tagdiv.com/demos_popup/newspaper/large/<?php echo $demo_id; ?>.jpg"></div>
<?php } ?>
<div class="clearfix"></div>
</div>
</div>
<div class="td-skin-scroll"><i class="td-icon-read-down"></i></div>
</div>
</div>
<div class="clearfix"></div>
<div class="td-set-hide-show"></div>
<div class="td-screen-demo" data-width-preview="380"></div>
<div class="td-screen-demo-extend"></div>
</div>
<?php
}
}
Hello vincentariens,
I have checked your website and I saw that your CSS rule is applied, as you can see here -> http://screencast.com/t/8CsYHzKid7
Thanks for your message!
Hello Serpao,
Please try the code that my colleague Andrei provided you above. You will have to put that code in Theme panel ->Custom CSS area. This code is applied only for mobile mode .
Thanks.
Hello Tagdiv,
I have 2 questions for you.
First off all, how can i integrate Yoast breadcrumbs?
Secound, is there a way that i can limit the sites width only to a width on 1000px? When i try make a CSS rule on #td-outer-wrap width a max-width on 1000px, there are some boxes which disappears in the right site?
Im sorry if this is common questions, but i tried to search through your forum, and couldn’t find anything.
Hi Pedram.k,
Unfortunately, the time does not allow us to provide customization services, sorry! Please notice that this is not as simple task and to accomplish this task is required to have a solid knowledge in HTMP/PHP/CSS. If you are not aware of the steps in this regard, please consider hiring a freelancer/developer to help you because our theme does not have an RTL support and we cannot provide custom work. Please chek our support policy, here -> https://forum.tagdiv.com/support-policy-2/
Thanks for your understanding!
Trying to edit home menu on https://magazine.seats2meet.com to font-weight: 300 (also with !important). But the setting seems to be overruled by the template font settings. Anyone a fix to implement this customisation by css?
Hi
First we would like to thank you for your kind words, we really appreciate your feedback.
1. Mobile theme was intent to display a very simple version of each page, that’s why there is no support for shortcodes. Unfortunately there is no way to keep the mobile theme active only for posts, sorry. It is simpler to leave it inactive if you want a more complex homepage and hide the sidebars from posts using css. The code will be this one:
@media(max-width: 768px){
.td-main-sidebar {
display: none!important;
}
}
2. This happens because the code from theme panel applies after the one from style.css. When the page loads the browser call the style.css then the custom code generated by the theme. To avoid that delay you can insert any custom css directly in style.css file, like this will be applied faster: http://screencast.com/t/DGiO8j434 You can also remove the code which generate the unwanted icons from td_module_single.php: http://screencast.com/t/7WQFRQpQ0 – http://screencast.com/t/irISkSPT
3. Indeed is not recommended to add google ads in smart sidebar but unfortunately current implementation won’t allow content above smart sidebar, sorry.
Thanks!
Hello drcoder,
Our theme has no RTL support because it has 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!
Hello VoZz,
Sorry for the inconvenience. There seems to be a CSS issue in the new update on the mobile theme. Please use this CSS code in the mobile theme’s custom code box:
.td-post-author-name div { display:inline; }
Thank you for your understanding!
Hello patilabo,
The code should be added in your Theme panel->Custom CSS area. Please notice that all of these involves additional customizations and if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you because we cannot provide this type of services at the moment, sorry!
Thanks for your understanding!
Hi
Try this css in theme panel > custom code > custom css:
.td-module-comments, .td-post-date, .td-post-author-name span {
display: none!important;
}
Let me know how it goes.
Thanks!
Hello Gadgetsay,
Please notice that all the styles for your blockquote can find in Post Editor when you edit your article, like this -> http://screencast.com/t/qhxtlF9M or also, you can use a bit of CSS code to change the color or these. For more information about these options, please check here -> https://forum.tagdiv.com/post-formats-for-tinymce/
Thanks for your understanding!
Hi there.
Im doing my 1st web ever, and i bought your theme. Im amazed, good job. But i have some problems with the “phone display”. Im in love/hate with the mobile theme, so maybe you can help me out:
1- I really love the mobile theme in terms of the POSTS. Its really clean, and no sidebar showing up (which i consider innecesary on phones). Everything is clear and fast.
BUT! The homepage… its waay simple for me. I know are able only to put the grid to features posts, and the “last articles”. But im missing so much things, even the slider revolution which gives nice visual.
In the other hand, if i desactivate the mobile theme plugin, i really like the homepage shown, but the Posts are way more chaotic with the sidebar in the botton. Even for Ads, i think is way simpler to add them with the plugin On.
So… what can i do? I mean, there is a way to have everything set up with the plugin, except the homepage? Or is just impossible?
2- I didnt want some social icons, so i read the forum and found that CSS text which hide the unnecesary ones.
The problem is, when i update the POST in the mobile (with NO PLUGIN), it shows all the icons for 1 second, and then it hides the unnecesary ones. Call me maniac, but i really dont like that xD
Notice that if i activate the mobile theme plugin, go to theme panel->mobile theme->custom CSS and put the code, when i refresh the post its perfect. It doesnt show anything else than the icons i want.
And in the desktop, it depends. Sometimes it show them for 0.5 secs only, and then dissapear.
How can i solve this? Instead of hiding the icons that i dont want, its possible delete them? Maybe i have no issues if i do that. (I know is a bit of maniac, but…xD)
3- As i said in point 1, i really dont like sidebars on phone view. Thats why i want the mobile theme plugin (for me perfect in 95%) with the homepage from desktop version.
In case you cannot provide me a solution, ill have to put the sidebar. My intention was to put 1-2 Ads (from adsense) on that spot, in post pages. But i want to have a smart sidebar, cause my posts are long and it feels empty when you start to go down on the web and see nothing on the right.
But i read that i cannot put adsense on smartsidebar, so… my question is. Can i put on static ad from adsense in the begining of the sidebar (like a normal sidebar), and then a smart sidebar which goes down when you are reading?
I dont know if i express good enough: I want a post page. With a add in the beginning of the sidebar side, static, in the up side. And just below that add, one smart sidebar (with social counters, blocks, etc…) which goes down keeping always the right side “busy”. But the Add is staying in the up side.
———————–
Sorry for all the wall of text, and sorry for my poor english.
Thanks in advance. I really hope for a positive solution for the point 1 🙂
Hello
I edit my css to be rtl but i have horizontal scrollbar and i can not know where is the problem.
The code is here -> http://pastebin.com/tEW2mqwH
You can experience problems with 3.1 due to cached CSS.
I ran update on site with varnish and 2D ttl on css on nginx.
It gave me small problems that users needed to do hard refresh to get the page to look nice.
Worked perfectly. I had to add some other css to get the header to stretch 100% (similar to header style 8), but I managed to figure that out on my own. Thanks, I appreciate it.
Hello mondrup,
All of these requests might be done using some CSS code. Please provide your website URL so I can inspect it closer so I will be able to provide a more accurate response. Also, please provide more specific screenshots where to point me, where exactly you want to change (can provide a specific URL).
Thanks.
Hi,
If you use newspaper 7, the css was changed and the demo css is no longer found in the main css file. Each demo now has it’s own css file so this method will require a further step to work in newspaper 7. Please copy the content of this file: http://screencast.com/t/yfy0U1VGfOm and paste it at the end of the main style.css from the main theme folder.
Thank you!
Hi,
I have completed all the instructions from Bogdan B but still have a white space between my menu and full-width image. http://prntscr.com/c3ycsd
It seems like the “td-travel-slider” CSS code is not being applied. I’ve all added the “td-travel” class like here: http://screencast.com/t/fOt9sfquQtVy
Any ideas?
-Astra
-
This reply was modified 10 years by
morpheusnow.