- NewsmagtagDiv Composer Tutorial
- NewsmagBlock settings tutorial
- NewsmagLogo & Favicon
- NewsmagFooter templates
- NewsmagUsing other ads
- NewsmagUsing Typekit fonts
Finally I found why cause this display …
I have an extension which minimy css and seem to be not compatible with newspaper theme
When I updated to the new theme version, and as well the latest WP, half the sites was not working. Ultimate Addons created a mess as well. 1/4 rows moved to 1/1 rows and so on…
I solved it by DEACTIVATING TD composer, reinstalling newest VC and had to do some margin corrections in VC CSS block, and all is running again…
Jan
Is there any way to hide the titles?
I can hide them using CSS but then that’d leave a space; and adjusting that space might break the theme structure?
Hi,
at the moment I’m implementing a simple Anti-Adblock plugin from me into Newspaper WordPress site. It replaces the blocked ads inside the themes classes like “td-a-rec td-a-rec-id-custom_ad_1”. I’ve noticed all of the 5 “custom_ad” classes contain the word “ad” in their class name. These elements are blocked by adblockers while the other ad class (like the one for the sidebar) hasn’t the word “ad” in it.
So my options are either changing the class names inside the /themes/Newspaper/includes/shortcodes/td_block_ad_box.php with a code like this:
$check_css_name = ['custom_ad_1', 'custom_ad_2', 'custom_ad_3', 'custom_ad_4', 'custom_ad_5'];
if (in_array($spot_id, $check_css_name)){
$spot_id = str_replace("ad", "stealth", $spot_id);
}
or a theme update which changes the names. I think this would be an easy and convenient change.
It would be nice if you considered it. Thanks in advance.
Hi,
That is simple HTML and CSS, used to create a structure for the recipe parameters. Here are some examples of recipe mark-ups (check the examples below)
– http://schema.org/Recipe
There are also plugins that can be used for this. Some examples here
– http://www.bloggingwizard.com/add-schema-and-rich-snippets-in-wordpress/
Thanks
Hi all
I would like to include the same line in the business theme in the fashion style theme but I can not understand how it was inserted ….
I installed the business theme demo, I found the class name “td-business-home-row” but can not find the css used to create that style.
see screen shot: http://www.energiemagazine.com/screen-business.jpg
Thanks for any help.
Hi,
The only issue I see on the search results page is here
– https://www.screencast.com/t/2eBstHZz7M4
You could change the excerpt type to letters, because it seems there are long links and words in the excerpt fields that cannot be broken
– https://forum.tagdiv.com/excerpts-introduction/
Or try a code like this to force them to break
– https://www.screencast.com/t/mEcq2XqgL
.td-excerpt {
word-break: break-word;
}
If you decide to use the code, enter it in Theme panel->Custom CSS section, and the problem should be fixed.
Thanks
Hi,
You could use a code like this to hide the comment count, for that specific category page in particular
– https://www.screencast.com/t/ty08v6ttr
Enter the code in Theme panel->Custom CSS section
.category-editorial .td-module-comments {
display: none;
}
Thanks
Hi,
Try a code like the one provided below, it will center the pagination like this
– https://www.screencast.com/t/9SBgVc3S
– https://www.screencast.com/t/rHT62NVhtc
Enter the code in Theme panel->Custom CSS section
.page-nav {
margin-right: auto;
margin-left: auto;
display: table;
}
Thanks
Hello,
The erotic magazine demo has a few css changes including the removal of the top padding.
You can add it in by using this code in your theme panel -> custom css box:
.td-erotic .td-main-page-wrap{
padding-top:24px;
}
Change the value in the code to your liking.
I’m not sure how the grids are not formatted properly. They seem fine to me.
Thanks.
Hi,
This is an unusual issue. I could give you a code that will fix this problem for all the posts, like this
– https://www.screencast.com/t/usVE8dtW
Enter this code in Theme panel->Custom CSS section
.td-post-content #fb-root+p {
margin-bottom: 26px;
}
Thanks
I just figured out where the conflict is happening with Gravity Forms and Newspaper… which may also be in the same place for Newsmag!
Using Google Chrome Developer tools, I was able to trace back the error to the td_wp_booster_functions.php file where there’s some code for “css for wp-admin / backend”. It’s just this CSS code that seems to be causing the issue because I tried commenting out the javascript section and it didn’t help.
When I commented out the lines 382-399 and uploaded the file to the server, I was able to use all the tools on the Gravity Form pages which I wasn’t able to before. Of course now that I have done this, the Newspaper settings pages are not styled correctly and are completely non-functional.
Which wp-admin pages does this CSS script need to load besides the Newspaper/Newsmag admin pages = Welcome, Plugins, Install Demos, Support, System Status, and Theme Panel? Is it needed on post type edit screens? Is there a way to modify the code below to make it work on the required pages and not load on other plugin settings?
add_action('admin_enqueue_scripts', 'load_wp_admin_css');
function load_wp_admin_css() {
//load the panel font in wp-admin
$td_protocol = is_ssl() ? 'https' : 'http';
wp_enqueue_style('google-font-ubuntu', $td_protocol . '://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700,300italic,400italic,500italic,700italic&subset=latin,cyrillic-ext,greek-ext,greek,latin-ext,cyrillic'); //used on content
if (TD_DEPLOY_MODE == 'dev') {
wp_enqueue_style('td-wp-admin-td-panel-2', td_global::$get_template_directory_uri . '/td_less_style.css.php?part=wp-admin.css', false, TD_THEME_VERSION, 'all' );
} else {
wp_enqueue_style('td-wp-admin-td-panel-2', td_global::$get_template_directory_uri . '/includes/wp_booster/wp-admin/css/wp-admin.css', false, TD_THEME_VERSION, 'all' );
}
//load the colorpicker
wp_enqueue_style( 'wp-color-picker' );
// load the media library - necessary for block widgets with image params
wp_enqueue_media();
}
Thanks,
Jerrad
That fixed ‘er right up … I guess too many single malts are responsible for overlooking the demo css sheet – gulp!
Thanks….
OK, so to counter the gzip and leverage browser caching probs I added codes to the htaccess file. Everytime I add that the themes breaks. Please check the website readandfix.com
Can you tell me where am I going wrong?
The codes are following
## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg “access plus 1 year”
ExpiresByType image/jpeg “access plus 1 year”
ExpiresByType image/gif “access plus 1 year”
ExpiresByType image/png “access plus 1 year”
ExpiresByType text/css “access plus 1 month”
ExpiresByType application/pdf “access plus 1 month”
ExpiresByType text/x-javascript “access plus 1 month”
ExpiresByType application/x-shockwave-flash “access plus 1 month”
ExpiresByType image/x-icon “access plus 1 year”
ExpiresDefault “access plus 2 days”
</IfModule>
## EXPIRES CACHING ##
<IfModule mod_deflate.c>
# Compress HTML, CSS, JavaScript, Text, XML and fonts
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE application/x-font
AddOutputFilterByType DEFLATE application/x-font-opentype
AddOutputFilterByType DEFLATE application/x-font-otf
AddOutputFilterByType DEFLATE application/x-font-truetype
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE font/opentype
AddOutputFilterByType DEFLATE font/otf
AddOutputFilterByType DEFLATE font/ttf
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE image/x-icon
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/xml
# Remove browser bugs (only needed for really old browsers)
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
Header append Vary User-Agent
</IfModule>
Hi,
That is a custom implementation made for the business demo exclusively. It is a css added for the block. You can get that result by installing the business demo, or by replicating it’s css: https://www.screencast.com/t/wOpra7FYpyyv
Thank you!
Hello,
Please check these few resources on the subject:
https://moz.com/community/q/how-much-does-dirty-html-css-etc-impact-seo
https://vineetgupta22.wordpress.com/2012/03/04/does-css-effects-seo/
http://www.cssnewbie.com/4-ways-css-can-improve-your-seo/#.WZ1s8j4jFaQ
Thank you!
Hi,
On desktop leave it like this
– https://www.screencast.com/t/ao2frwnStjH
Then maybe use a code like this to remove the float and center the ad on smaller devices
– https://www.screencast.com/t/sZv1M8nmgg
Remove any other previous code used regarding the ad and try this one. Enter it in the Custom CSS section in the theme panel
#ad1 {
top: 10px;
left: 10px;
float: right;
}
@media (max-width: 767px) {
#ad1 {
float: none;
text-align:center;
}}
Thanks
Dear Team,
Whether the css code changes or changes to the template layout design affects the bad against seo?
Thanks
To access the block settings while using the tagDiv Composer plugin you’ll just have to click on the block area and the block settings window will automatically appear in the tagDiv composer panel on the left. For better accessibility the settings are divided into sections (tabs) like General, Filter, Ajax, Extra or Css.
May I know where is the block area? Which page is this on?
Thanks.
Hi,
Using the provided Advanced CSS sections, you could create code for each device or width size. For example like this a different font size is set for each instance
– https://www.screencast.com/t/Qx7UL1Rpd
You just need to modify the font size and use the same code.
Thanks
Hi,
There are two ways that you could do that. Either by modifying the code of the mobile theme and commenting or removing the code shown in this file
– https://www.screencast.com/t/uiKK8bxd
Or by using a code like this to hide it
– https://www.screencast.com/t/JLAzqFRbU
The code must be entered in Theme panel->Mobile theme->Custom CSS section
.home .td-pb-article-list {
display:none;
}
Thanks
Hello,
I can give it a try but please note the grids were never designed to show excerpts. The css could not work properly so I cannot promise anything as this represents customization but provide a link to your site and I will try to see if a solution can work.
Please contact us via email at contact@tagdiv.com if you do not want to share the site on this forum. Please also provide specific instructions about what exactly you are trying to change with css.
Thanks.
Hi,
The pink color comes from the demo you have installed. Each demo has it’s own custom styling. One way of changing the hover color would be to modify it in the demo stylesheet
– https://www.screencast.com/t/upAmVCQlxTZQ
Or use this code to override the current color, with the color you want
– https://www.screencast.com/t/kuzGKQVY
.td-what .td-header-style-6 .black-menu .sf-menu > li > a:hover {
color: yellow;
}
The code must be entered in Theme panel->Custom CSS section.
Thanks
While I’ll have to re-edit the style.css if I changed demo themes, I did finally track down a hack.
I had to add a background color at the end of the class below. I added (background-color: #fef6e9;) to match the old fashion theme. I’d prefer a correct solution, if you have time….
input[type=text],
input[type=url],
input[type=tel],
input[type=email] {
font-size: 12px;
line-height: 21px;
color: #444;
border: 1px solid #e1e1e1;
width: 100%;
max-width: 100%;
height: 34px;
padding: 3px 9px;
/* responsive portrait phone */
}
Hi,
You could hide the view count on the post page with some CSS, while the count will still work as a function in the background
– https://www.screencast.com/t/p5jinNtujP
.td-post-views {
display: none!important;
}
Thanks