- NewsmagtagDiv Composer Tutorial
- NewsmagBlock settings tutorial
- NewsmagLogo & Favicon
- NewsmagFooter templates
- NewsmagUsing other ads
- NewsmagUsing Typekit fonts
Hello,
I have checked into this issue and it truly seems that the title does not get the theme css style. You can however create a workaround for it if you add a ‘raw html’ element above the slider and enter this code in it:
<h4 class="block-title">
<span>My Title</span>
</h4>
It should look like so: http://screencast.com/t/QPWNrJt3g66
And now your title should get the styling as it should.
I will add this issue on our bug list and we will fix it in a future version of the theme.
Thank you!
Hello OnlineTushar,
You have to use a bit of CSS to achieve as you want for each module used in your block. http://screencast.com/t/iGx4sJWF5Otb
The code is ->
.td_module_mx2 .entry-title {
font-size: 17px;
}
The result you should see here -> http://screencast.com/t/cnn5olFF
Hope this helps!
Thank you for the message!
Hi @gmaio
If you have reported resources which don’t appear when you use the register scripts/styles id function then you should change the priority, some plugins may load after it and that’s why it doesn’t return all js – http://screencast.com/t/7fhfjttAT8
http://codex.wordpress.org/Function_Reference/add_action
If you don’t have experience on wp condign or basic html/css/js/php knowledge please consider hiring a freelancer to configure this for you or because we recommended this just for advanced wp users. Sorry!
Thanks for the message!
Hello,
Unfortunately the color issue is because you have too many complex elements on your website that need to load so this is why you get the slow loading effect. Please try your block on an empty page to see how it loads the color so you will understand what I mean. The solution would be to use fewer complex elements on your homepage. As an alternative you could assign an extra class to the row in visual composer and add the background directly in style.css so it will load first.
As for the color, the title colors affect the block title itself, not the post titles inside the block: http://screencast.com/t/lXApmasL
You can only target post titles from a block with css:
.td_block_5 .entry-title a{
color:red;
}
Thank you!
Hello thava,
Unfortunately, we do not recommend changing position and size of the logo because you can break the layout. As you can see in our documentation here -> https://forum.tagdiv.com/header-styles/ we have 12 type of header styles and the best way should be to change one of this for a better result because these are set and calibrate by default to a good look. If you want to the position and the size of your logo, you have to adjust these CSS values from this section -> http://screencast.com/t/P07dgRn7t4 For example, below I gave you an example to how you can change the size of your logo. Please try the code and place it in Theme panel->Custom CSS area.
The code is ->
.td-header-style-1 .td-header-sp-logo img {
max-height: 130px;
}
.td-header-sp-logo img {
width: 250px;
height: 130px;
}
The result you should see here -> http://screencast.com/t/weCuB4E1
For you second request, I suppose that you are referring to News ticker element (Trending Now). If you want to edit the text from this feature you have to use a CSS code.
Example for editing the News ticker element ->
.td_module_trending_now a {
color:red;
font-size:25px;
}
The result -> http://screencast.com/t/ptQV6u8gA
I do not understand very well your third request. Please provide more details about what you want to achieve. Also, please check this topic here -> https://forum.tagdiv.com/topic/fatal-error-in-wp-contentthemesnewspaper/ maybe you find the answer to your question.
Hope this helps!
If is not what you mean or you need more assistance in this regard, please provide more details about your desired changes so I will be able to provide a more accurate response.
Thank you for the message!
Hi,
1)https://forum.tagdiv.com/topic/fatal-error-in-wp-contentthemesnewspaper/
2) Please enable your post date and author (if you do not want to show them you can hide them with css, not disable from the theme panel).
3)This is tied to your first issue. Follow the topic provided and add the code to redirect it to your homepage for example.
4) I’m not sure exactly what you mean but I assume you mean h1 or h2 tags on your homepage. If you do not add any titles to your page inside a h1 or h2 tag there won;t be any. You are the one that needs to set these titles in a text box and add the title in a h1 or h2. tyou can hide it with css if you do not want to show it.
I hope this helps.
Thanks.
Hello,
I cannot instal the theme, when I try to upload it on wordpress using the Newspaper-tf > Newspaper.zip file a “bad request your browser sent a request that this server could not understand” message shows up.
When I try to instal the demo its working better until I get
Unpacking the package…
Installing the theme…
The package could not be installed. The theme is missing the style.css stylesheet.
Theme install failed.
Please let me know how I can instal the theme ASAP T.T
Hello sid,
This implementation about Chinese characters should work as expected if the steps were correctly followed. Please ensure that you have done this and also please try to clear all cache and test it again.
Sorry that I have failed to respond to your second request…If you want to remove that border you have to use a bit of CSS code for this. Please try the code below and add it in Theme panel->Custom CSS area.
The code is ->
.td-header-style-8 .td-header-top-menu {
border-bottom:0!important;
}
The result you should see here -> http://screencast.com/t/AhMedtEq5ow
Hope this helps and let us know how it goes!
Thank you for the message!
Hello, I’m having a similar issue. I followed all the steps but am not finding the corresponding id in any of the line items returned in the text file. When I try to target the css and js using the code provided the codes aren’t found but Page insights shows 15 render blocking scripts.
Not sure what to do now.
Thanks,
Tenaya
Currently my Newspaper default has a [tagDiv] Slide block that set to a certain category of posts to display
How is it possible to make the articles/slides in the [tagDiv] Slide widget open up the post in a new window on click?
Is there some custom css I can add to do this? Or file to modify?
Thanks!!
I’m trying to update to 2.3.5. The site is helpuconquer.com.
When activating the child theme, a list of errors appear:
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_1 is not set.
/home/rebellio/public_html/helpuconquer.com/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_2 is not set.
/home/rebellio/public_html/helpuconquer.com/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_3 is not set.
/home/rebellio/public_html/helpuconquer.com/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_4 is not set.
/home/rebellio/public_html/helpuconquer.com/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_5 is not set.
/home/rebellio/public_html/helpuconquer.com/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_6 is not set.
/home/rebellio/public_html/helpuconquer.com/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_7 is not set.
/home/rebellio/public_html/helpuconquer.com/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_8 is not set.
/home/rebellio/public_html/helpuconquer.com/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_9 is not set.
/home/rebellio/public_html/helpuconquer.com/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_10 is not set.
/home/rebellio/public_html/helpuconquer.com/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_11 is not set.
/home/rebellio/public_html/helpuconquer.com/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_12 is not set.
/home/rebellio/public_html/helpuconquer.com/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_13 is not set.
/home/rebellio/public_html/helpuconquer.com/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_14 is not set.
/home/rebellio/public_html/helpuconquer.com/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_15 is not set.
/home/rebellio/public_html/helpuconquer.com/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_16 is not set.
/home/rebellio/public_html/helpuconquer.com/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_popular_categories is not set.
/home/rebellio/public_html/helpuconquer.com/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_slide is not set.
/home/rebellio/public_html/helpuconquer.com/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_ad_box is not set.
/home/rebellio/public_html/helpuconquer.com/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_text_with_title is not set.
/home/rebellio/public_html/helpuconquer.com/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_authors is not set.
/home/rebellio/public_html/helpuconquer.com/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
CLOSE
HOME
MONEY
COLLEGE
SUCCESS
FAMILY
MAKE IT EASIER
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: 8 is not set.
/home/rebellio/public_html/helpuconquer.com/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
The path of the 8 header style not found. Did you disable a tagDiv plugin?
/home/rebellio/public_html/helpuconquer.com/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
[td_block_slide limit=”4″ td_filter_default_txt=”All” autoplay=”5″ category_id=”21″]
I’m not a web developer but am usually good with web projects. How can this be resolved?
I have this custom CSS in the theme panel.
.wpb_gallery_slides .flex-caption .post-title{ font-size: 23px; line-height: 30px; margin-top: 5px; margin-bottom: 15px; font-weight: 600; } .wpb_gallery .wpb_wrapper .wpb_heading {
font-size: 26px;
}
@media (max-width:767px) { .td-related-title .td-related-left { font-size:14px; } .td-related-title .td-related-right { font-size:14px; } } @media (min-width:767px) and (max-width:1035px){ .td-related-title .td-related-left { font-size:17px; } .td-related-title .td-related-right { font-size:17px; } }
.wpb_widgetised_column .block-title > span, div.td-main-sidebar .block-title > span{
background: #00a2ea;
color: white;
font-size: 26px;
}
.entry li { list-style-position: outside; }
.entry ul { padding-left: 7px; }
.wpcf7 input.wpcf7-text { width: 999px; }
@media (min-width: 768px){ .td-pb-row .td-pb-span4 .td_block_11 .entry-thumb { width: 180px !important; margin-left: auto; margin-right: 9px; } .td-pb-row .td-pb-span4 .td_block_11 .td-module-title { padding-left: 185px !important; } }
.td-footer-container .td-footer-info { margin-bottom: 1px; }
I’ve only made one change to the code and that’s to the social sharing in the td_module_single.php
I’ve deleted then uploaded the new Visual Composer plugin.
I’m super frustrated. How can this be resolved?
Trying to do something similar to this.
https://wordpress.org/support/topic/add-button-to-the-menu
Screen Options > CSS Classes
Then assigned custom CSS Classes to each of those four menu items in the menu
tips-news
obituary
birth-announcement
wedding-engagement
So just need to know what CSS I need to be able to target those sub menu items
.sub-menu .nav li.tips-news {
position: relative;
bottom: 10px;
padding: 2px;
line-height: 19px;
vertical-align: middle;
}
.sub-menu .nav li.tips-news a {
color: #FFF;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.31);
padding: 3px 13px;
}
Thanks in advance.
Hello,
Currently the template is too wide as it’s fixed at 1068px and it cannot accommodate a 120px or 160px wide background ad on a 1366px screen laptop (which is the most common)
How do i reduce the template width easily to my desired size (i can’t seem to find where to change that via the theme panel, and changing the style.css file is very hectic as it is a massive file on it’s own)
i also want to keep the side bar at 300px so that it can be inline with my ad banners, how can we easily fix this?? there should be a place in the theme panel to easily do all these
One trick you can do is to move all the css/js to footer and then use the critical css ghenerator to put all “above the fold” code inline in the head area — I do this on our main business site for example.
See my optimization post in the best of forums section for more info on the critical css generator.
There is also a WP plugin I use on some sites which moves all js to footer automatically out of the head using wp enqueue, might be alternative to the speed booster plugin.
Hello.
I inserted the code below on td-speed-booster.php using the IDs functions.php returned me, but when I run pagespeed test again, the css continue there to be optimized.
/**
* here we move the css
*/
function css_mover() {
if ($this->td_theme_name == ‘Newspaper’) {
// wp 011 – Newspaper 6
//$this->move_style_to_footer_queue(‘bbp-default-bbpress’); //bpress old
//$this->move_style_to_footer_queue(‘bbp-default’); //bpress
$this->move_style_to_footer_queue(‘google_font_open_sans’);
$this->move_style_to_footer_queue(‘google_font_roboto’);
$this->move_style_to_footer_queue(‘contact-form-7’);
//Rafael
$this->move_style_to_footer_queue(‘sportspress’);
$this->move_style_to_footer_queue(‘wp-polls’);
$this->move_style_to_footer_queue(‘js_composer_front’);
$this->move_style_to_footer_queue(‘sportspress-icons’);
$this->move_style_to_footer_queue(‘dashicons’);
Do you know why? For .js I did and worked correctly.
(Pagespeed test)
Otimize a exibição de CSS dos seguintes itens:
http://www2.netflu.com.br/…ss/assets/css/sportspress.css?ver=1.9.15
http://fonts.googleapis.com/…00italic,600italic,400,600,700&ver=6.6.5
http://fonts.googleapis.com/…00italic,700,500italic,400,300&ver=6.6.5
http://www2.netflu.com.br/…plugins/wp-polls/polls-css.css?ver=6.6.5
http://www2.netflu.com.br/…assets/css/js_composer.min.css?ver=6.6.5
http://www2.netflu.com.br/…ortspress/assets/css/icons.css?ver=6.6.5
http://www2.netflu.com.br/…includes/css/dashicons.min.css?ver=6.6.5
http://www2.netflu.com.br/…cons/genericons/genericons.css?ver=6.6.5
http://www2.netflu.com.br/…lugins/jetpack/css/jetpack.css?ver=6.6.5
http://www2.netflu.com.br/…ent/themes/Newspaper/style.css?ver=6.6.5
Thanks in advance,
Rafael
Hi guys and thank you for your answers.
@Chris: I did not mean to merge the plugins CSS and/or JS but rather to make “local” their calls that are made in every site page header. In other terms, I’d like to copy these resources (CSS and JS) locally to my server filesystem and call them from there to avoid the TCP/IP delay overhead. I have already tried commenting the wp_head() and including them straight forward by their local paths but this approach causes malfunctioning to the page load. There is something of “dinamic behaviour” of wp_head() that prevents this approach to work successfully. But what?
@Andrej: I’ve deeply read the Speed Booster approach and I’ve tried it, firstly getting the blocking resources names by means of Google Speed Insights tips. It reports that the above fold blocking resources are:
http://43b.60a.myftpupload.com/…-includes/js/jquery/jquery.js?ver=1.11.3
http://43b.60a.myftpupload.com/…s/jquery/jquery-migrate.min.js?ver=1.2.1
http://43b.60a.myftpupload.com/…e-law-info/js/cookielawinfo.js?ver=1.5.3
http://43b.60a.myftpupload.com/…-includes/js/underscore.min.js?ver=1.6.0
http://43b.60a.myftpupload.com/…wp-includes/js/backbone.min.js?ver=1.1.2
http://43b.60a.myftpupload.com/…udes/js/jquery/ui/core.min.js?ver=1.11.4
http://43b.60a.myftpupload.com/…es/js/jquery/ui/widget.min.js?ver=1.11.4
http://43b.60a.myftpupload.com/…/js/jquery/ui/position.min.js?ver=1.11.4
http://43b.60a.myftpupload.com/…udes/js/jquery/ui/menu.min.js?ver=1.11.4
http://43b.60a.myftpupload.com/…jquery/ui/autocomplete.min.js?ver=1.11.4
http://43b.60a.myftpupload.com/…-search/js/visualsearch.min.js?ver=4.4.2
http://43b.60a.myftpupload.com/…ultimate-search/js/main-pro.js?ver=4.4.2
http://43b.60a.myftpupload.com/…form-7/includes/css/styles.css?ver=4.3.1
http://43b.60a.myftpupload.com/…kie-law-info/css/cli-style.css?ver=1.5.3
http://43b.60a.myftpupload.com/…ultimate-search/css/square.css?ver=4.4.2
http://fonts.googleapis.com/…n+Sans%3A300%2C400%2C600%2C700&ver=4.4.2
http://fonts.googleapis.com/…%2C700italic%2C400%2C300%2C700&ver=4.4.2
http://fonts.googleapis.com/…%2C300%7COpen+Sans%3A400%2C300&ver=4.4.2
http://43b.60a.myftpupload.com/…assets/css/eventon_styles.css?ver=2.3.17
http://43b.60a.myftpupload.com/…/assets/fonts/font-awesome.css?ver=4.4.2
http://43b.60a.myftpupload.com/…ss-popular-posts/style/wpp.css?ver=3.3.3
http://43b.60a.myftpupload.com/…ekly-view/assets/wv_styles.css?ver=4.4.2
http://43b.60a.myftpupload.com/…assets/css/js_composer.min.css?ver=4.8.1
http://43b.60a.myftpupload.com/…ntent/themes/Newsmag/style.css?ver=2.3.5
http://43b.60a.myftpupload.com/…cific-rss-feed-menu/wp_cat_rss_style.css
But the code snippet at the ends of functions.php says on my theme dashboard that the registered script are:
gd_system_gritter | http://43b.60a.myftpupload.com/wp-content/mu-plugins/gd-system-plugin/js/jquery.gritter.min.js
common | /wp-admin/js/common.min.js
vc_accordion_script | http://43b.60a.myftpupload.com/wp-content/plugins/js_composer/assets/lib/vc_accordion/vc-accordion.js
admin-bar | /wp-includes/js/admin-bar.min.js
evo_wp_admin | http://43b.60a.myftpupload.com/wp-content/plugins/eventON/assets/js/admin/wp_admin.js
dashboard | /wp-admin/js/dashboard.min.js
customize-loader | /wp-includes/js/customize-loader.min.js
plugin-install | /wp-admin/js/plugin-install.min.js
media-upload | /wp-admin/js/media-upload.min.js
thickbox | /wp-includes/js/thickbox/thickbox.js
utils | /wp-includes/js/utils.min.js
svg-painter | /wp-admin/js/svg-painter.js
wp-auth-check | /wp-includes/js/wp-auth-check.min.js
shortcode_generator | http://43b.60a.myftpupload.com/wp-content/plugins/eventON/ajde/assets/shortcode_generator.js
backender_colorpicker | http://43b.60a.myftpupload.com/wp-content/plugins/eventON/ajde/colorpicker/colorpicker.js
ajde_wp_admin | http://43b.60a.myftpupload.com/wp-content/plugins/eventON/ajde/ajde-wp-admin.js
td_wp_admin | http://43b.60a.myftpupload.com/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/js/td_wp_admin.js
td_wp_admin_color_picker | http://43b.60a.myftpupload.com/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/js/td_wp_admin_color_picker.js
td_wp_admin_panel | http://43b.60a.myftpupload.com/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/js/td_wp_admin_panel.js
td_edit_page | http://43b.60a.myftpupload.com/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/js/td_edit_page.js
td_wp_admin_demos | http://43b.60a.myftpupload.com/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/js/td_wp_admin_demos.js
td_page_options | http://43b.60a.myftpupload.com/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/js/td_page_options.js
td_tooltip | http://43b.60a.myftpupload.com/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/js/tooltip.js
akismet.js | http://43b.60a.myftpupload.com/wp-content/plugins/akismet/_inc/akismet.js
as3cf-notice | http://43b.60a.myftpupload.com/wp-content/plugins/amazon-s3-and-cloudfront/assets/js/notice.min.js
registered styles
gd_system_gritter | http://43b.60a.myftpupload.com/wp-content/mu-plugins/gd-system-plugin/css/jquery.gritter.min.css
admin-bar | /wp-includes/css/admin-bar.min.css
evo_font_icons | http://43b.60a.myftpupload.com/wp-content/plugins/eventON/assets/fonts/font-awesome.css
evo_wp_admin | http://43b.60a.myftpupload.com/wp-content/plugins/eventON/assets/css/admin/wp_admin.css
newwp | http://43b.60a.myftpupload.com/wp-content/plugins/eventON/assets/css/admin/wp3.8.css
thickbox | /wp-includes/js/thickbox/thickbox.css
colors | 1
ie | /wp-admin/css/ie.min.css
wp-auth-check | /wp-includes/css/wp-auth-check.min.css
gd_system_admin_css | http://43b.60a.myftpupload.com/wp-content/mu-plugins/gd-system-plugin/css/admin.min.css
ajde_wp_admin | http://43b.60a.myftpupload.com/wp-content/plugins/eventON/ajde/ajde-wp-admin.css
evo_sin_wpadmin | http://43b.60a.myftpupload.com/wp-content/plugins/eventon-single-event/assets/style-wp-admin.css
google-font-ubuntu | http://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700,300italic,400italic,500italic,700italic&subset=latin,cyrillic-ext,greek-ext,greek,latin-ext,cyrillic
td-wp-admin-td-panel-2 | http://43b.60a.myftpupload.com/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/css/wp-admin.css
wp-color-picker | /wp-admin/css/color-picker.min.css
akismet.css | http://43b.60a.myftpupload.com/wp-content/plugins/akismet/_inc/akismet.css
au_backend_settings | http://43b.60a.myftpupload.com/wp-content/plugins/eventon-action-user/assets/au_styles_settings.css
aws-global-styles | http://43b.60a.myftpupload.com/wp-content/plugins/amazon-web-services/assets/css/global.css
As you can see, no one of the registered CSS and JS listed by functions.php curresponds to those found by Google Speed Insights! So that I don’t have any ID of CSS and/or JS to use to move their loading in the footer by means of td-speed-booster.php hacking.
What is wrong with that or what could be done instead?
Thanks in advance,
Giuseppe
-
This reply was modified 10 years by
gmaio.
hi, i’m sorry but im not familiar with wordpress syntax yet. So I need to put it on functions.php right? then how can i reference the js/css that appeared in pagespeed syntax?
Thanks Bogdan! I’ve been able to add it but just making sure that the syntax is $this->move_style_to_footer_queue(‘bp-legacy-css’) & not $this->move_style_to_footer(‘bp-legacy-css’) which is what the tutorial mentions (Tutorial doesn’t mention ‘footer_queue’, but ‘queue’).
Anyway, my file was saved. Do I have to clear cache before checking in Pagespeed (because I just checked & the performance has actually dropped).
Gaurav
Hi, let me clarify. my speedbooster plugin is activated in system status. I already did what you stated. the problem is the code in functions.php … the js and css in pagespeed insights doesn’t appear in the registered scripts generated by functions.php. I can’t get the id of the plugins to be put in speedboost plugin.
Hello,
This method is for advanced users and it involves a bit of coding/php know-how. Please use the css and js render blocks in their specific functions in the file.
For example the js must be placed here: http://screencast.com/t/oWTDdQhN6
And for css you need to place the code here: http://screencast.com/t/Sdn2HOsTEmMS (for the css you need to add the “_queue”part to your code as it has been changed in the latest version of speedbooster)
I hope this helps.
-
This reply was modified 10 years by
Bogdan B..
Hi, thank you, I don’t need custom services, I just need to know the steps for adding new icons. I believe you answered my question with the links you provided, but I have a few follow-up questions.
First, when you showed the alteration to the php file in the screenshot, you showed the alteration being made to the Newspaper file itself, rather than a Newspaper-child file – won’t that mean the changes get lost when the theme is updated?
Second, when you linked to the icon for Whatsup with a code in the CSS, I’m not sure where you got that code as the Whatsup icon. Where can I find the list of icons and their associated codes that I can refer to for this?
Thank you.
Hello, I’m looking at the tutorial: How to make the site faster – https://forum.tagdiv.com/how-to-make-the-site-faster/
5. Remove render blocking css/js – using the TagDiv SpeedBooster plugin (advanced users)
Everything seems to be good until I get to this part:
Edit the ../wordpress/wp-content/plugins/td-speed-booster/td-speed-booster.php file and target the css and js using the following code:
This is what I need to add to the td-speed-booster.php file
$this->move_style_to_footer(‘spu-public-css’);
$this->move_style_to_footer(‘boxes’);
$this->move_style_to_footer(‘google_font_open_sans’);
$this->move_style_to_footer(‘google_font_roboto_cond’);
$this->move_style_to_footer(‘js_composer_front’);
$this->move_style_to_footer(‘spup-public-css’);
$this->move_style_to_footer(‘td-theme’);
$this->move_style_to_footer(‘jetpack_css’);
$this->move_js_to_footer(‘devicepx’);
$this->move_js_to_footer(‘td-site-min’);
$this->move_js_to_footer(‘comment-reply’);
$this->move_js_to_footer(‘spup-public’);
But where exactly? The image is not clear where in that file it should be added.
Hello eyesandvoice,
I have checked your website and the Social Counter seem to work as expected -> http://screencast.com/t/kynzUv1ukQ I do not understand very good your request but I suppose that you have to hide the number of likes/followers from this feature. Achieving that, you have to use a bit of CSS code to hide it. Please try the code below and add it in Theme panel->Custom CSS area.
The code is ->
.td_social_info {
display:none;
}
The result you should see here -> http://screencast.com/t/vZ55yKD3m
Hope this helps!
If is not what you mean, please provide more details about your desired changes so I will be able to provide a more accurate response in this regard.
Thank you for the message!
Hi, in this article https://forum.tagdiv.com/topic/remove-google-fonts/#post-96617
i asked how to remove the google fonts…
1. When i remove the fonts – visvible nothing changed on my website, thats fine. But is this ok? Why are the google fonts / css files are called – if nothing changes? Or is this only on my site – and other users see another font or something else? i deactivated all plugins and cleared my chache.
2. What is the default font – and is ist web-safe without the google files….?
Thank you so much
best