- 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 replaced the file with your’s and this is what I get.
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'td_speed_booster' does not have a method 'wp_head_hook' in /home/shashank/public_html/wp-includes/plugin.php on line 505
Hi,
You can do it via css, use the following custom css to achieve something like this: http://screencast.com/t/yiYJTxUtdid
.td_block_wrap .block-title {
background-color: #4db2ec;
}
.td_block_wrap .block-title span {
padding: 2px 10px 2px 10px;
}
Hope this helps!
Thanks
Hi,
Please replace the content of speed booster plugins with this one: http://pastebin.com/v48GNJC7 like this: http://screencast.com/t/RjHt8XEnuy0 and check again.
Also make sure you make a back-up of your original file before changing it.
Should work, I have tested this.
Thanks
Hi,
Use this css: http://screencast.com/t/fdh2cfK1fA0
@media (min-width: 1018px){
.td-affix .td-style-8-logo-wrapper {
display: none !important;
}
.td-header-style-8.td-affix .td-menu-header .td-li-wrapper-menu {
float: none !important;
text-align: center;
}
.td-affix .td-menu-wrap .td-style-8-menu-wrapper {
text-align: center !important;
}
}
@media (max-width: 1018px) and (min-width: 768px) {
.td-affix .td-head-style8-logo-mobil {
display: none !important;
}
.sf-menu > li > a {
font-size: 13px !important;
font-weight: normal;
text-transform: uppercase;
}
}
Thanks
Hi,
Please use this custom css: http://screencast.com/t/xpA1xUJwQX
.attachment .td-g-rec-id-custom_ad_3 {
margin-bottom: 10px;
margin-top: 10px;
}
Thanks
Hi,
@Steven I’m not sure where on your homepage you want this as you don’t have any category tags there but you can try to use this css:
.home .entry-category a {
pointer-events: none;
cursor: default;
}
Hope this helps!
Thanks
@cstyn
as I said, you need to *choose* which fonts you want to use on your site, as I did with Open Sans. In my examples, you would choose the fonts you want, search/replace those in the stlyes.css file, then grab CSS from Google for those chosen fonts, then put the CSS at bottom of your style.css; then hack the functions.php to no longer pull the stock fonts from Google since you’re loading your custom fonts.
Best to stick with built in theme font selectors, in your case, at this time. If you don’t yet know the purpose of the style.css, then this will be beyond you for the time being.
Best wishes, and sorry I couldn’t make that all any simpler.
It is only changing the text direction from left to right.
none of other changes to right to left. Not MENU, no sidebars, no Logo nothing.
Isn’t it possible to to RTL Css, with out changing to ARABIC.
I am getting so much frustrated after all.
I did the same but as soon as I do it my site shows blank. The css files are loaded but still nothing shows, I can see the source of my site and also the google ads but nothing else. 🙁
@cstyn
Re: custom fonts, and custom font loading …. simply removing code from functions.php is just *one* step as I outlined in detail. That step is only part of it to remove the theme calling on Google to load the fonts. If you don’t do all the other elements, like picking the NICE fonts you want and actually adding the CSS to your style.css file, then it serves no purpose. If it’s beyond you, then as I said, it’s best to stick with the built in theme functions until you get more adept at “hacking” WordPress and WP themes, which takes some time (I’ve been doing it a looooong time, and I still get lost on stuff!). 🙂
-
This reply was modified 11 years by
simchris.
I had the same problem. Here are my steps (I think these are the only two I used, so let me know if it doesn’t work).
1. I edited my single_template_3.php file and moved the <header> content, which originally looked like this:
<header>
...
</header>
</div>
</div>
</div> <!-- close the row from td_page_generator -->
To look like this:
</div>
<header>
...
</header>
</div>
</div> <!-- close the row from td_page_generator -->
Note that I also redid my subtitles using Advanced Custom Fields. The way I did it, I was able to put it under the title in the <header> section. I’m not sure whether yours will end up where you want them.
2. I styled the header using CSS:
.single_template_3 header {
position: static;
}
@media (max-width: 768px) {
.single_template_3 header h1 {
margin-top: 30px;
}
}
This was a few weeks ago now and I don’t quite remember how I determined those style rules, but anyhow, hope it works for you…
Replied here!
Thanks!
Hi,
Thant color is determined by the theme color: http://screencast.com/t/zffWq989b and it will change if you change the theme color.
You can also change it via css: http://screencast.com/t/7iM1oSjOEL25
.sf-menu > .current-menu-item > a, .sf-menu > .current-menu-ancestor > a, .sf-menu > .current-category-ancestor > a, .sf-menu > li > a:hover, .sf-menu > .sfHover > a {
border-bottom: 4px solid #F10808;
}
Use this custom css to change the current menu item background color: http://screencast.com/t/sYJTbp1vt
Hope this helps!
Thanks
I did as you said. I still had the error because I forgot
else {
All I did was editing function php. I use default fonts on site, I did no change in theme panel. That means I use default, so no google ? It works. 🙂 Thank you !!!
I got rid of some js codes, from g+, stat counter, etc. now I have 94/100 or 95/100.
Prioritize visible content
Your page requires additional network round trips to render the above-the-fold content. For best performance, reduce the amount of HTML needed to render above-the-fold content.
The entire HTML response was not sufficient to render the above-the-fold content. This usually indicates that additional resources, loaded after HTML parsing, were required to render above-the-fold content. Prioritize visible content that is needed for rendering above-the-fold by including it directly in the HTML response.
None of the final above-the-fold content could be rendered even with the full HTML response.
This error only. Any more idea how to fix ? I have:
– W3 TOTAL CACHE
Page cache: enable, disk enhanced.
Minify : AUTO
– HTML minify settings: all checked except Line break removal
– JS: ENABLE … ADDED 3 js scripts from site, using minify and NON BLOCKING USING ASYNC.
– CSS: no
Database cache – enabled.
Browser cache enabled.
– Async JS and CSS
Load Javascript asynchronously
Load CSS asynchronously
Minify CSS
– Speed Booster Pack
All general options
55% image compression
Load CSS asynchronously
Minify all CSS styles
NO tagDiv speed booster (INACTIVE)…
Thanks for the previous video on site. I hope my settings help others. If anyone can help with my last issue, I would be gratefull.
Thanks, I just renamed the plugins folder and then back to plugins and it did it. 🙂
Please take a look, https://forum.tagdiv.com/topic/ask-tagdiv-speed-booster-not-to-move-style-css-to-bottom/ 🙂
Hi,
Move the get_category() function like this: http://screencast.com/t/WSUECFCQk ..in the post template you want to make this changes, this example is for the post template #2 but you can do the same for the other.
You also need this custom css to adjust it, use this to customize the font and color: http://screencast.com/t/qVhOzyhqJ
.meta-info {
clear: left;
padding-top: 20px;
font-family: 'Sacramento', sans-serif !important;
color: #000000 !important;
font-size: 30px !important;
}
.meta-info .td-block-author a {
font-family: 'Sacramento', sans-serif !important;
color: #000000 !important;
font-size: 30px !important;
}
.meta-info .entry-comments-views {
font-family: 'Sacramento', sans-serif !important;
color: #000000 !important;
font-size: 30px !important;
}
Thanks
Hi,
Please use this css: http://screencast.com/t/BWdwFgrcGdFL
.td_normal_slide .td-sbig-title-wrap .td-sbig-title {
background-color: rgba(77, 178, 236, -0.3)
}
Thanks
Hi,
Thanks Christopher!
@saggel
Please use this css:
.iosSlider .td-big-grid-post-0 .entry-thumb {
width: 745px !important;
}
Provide your site’s URL if this doesn’t work for you, I need to inspect this.
Thanks
Hi,
You will need custom work for this but you can also use a plugin for it and add it to the menu using shortcodes, you could replace the actual search with your own here: http://screencast.com/t/78SAKU4J3
You can do the same for the social icons and use a plugin.
you could also use the WordPress search widget and tagdiv social icons, use page builder to customize them and add it with the do_shortcode() function, should look something like this: http://screencast.com/t/vb0u2EBFRHg
This is the code I use for the example: http://pastebin.com/JTjXCD68
This is a start, if you don’t have basic php/html/css knowledge we recommend you to get a freelancer from sites like: http://studio.envato.com/ to do it for as we cannot offer custom work as we work hard on the development, updates, fixes and support.
Hope this helps!
Thanks
-
This reply was modified 11 years by
Lucian.
Hi,
Please use this custom css in theme panel > custom css: http://screencast.com/t/eD2HsYubJ
.single .entry-category a {
pointer-events: none;
cursor: default;
}
Thanks
Hi,
Can someone explain to me
1. How to change the colour from black
2. Change the css completely for the selected item, maybe to highlight the background of the menu item instead of a black bar underneath
Thanks
C
Hi,
I have build and tested that css live on your site based on the code you already have in the attachment file so it should work fine.
Please also make sure that the changes you make in theme panel are saved:
* https://forum.tagdiv.com/topic/cant-save-settings-in-theme-panel/#post-23103
* https://forum.tagdiv.com/topic/theme-panel-dont-save-my-updates/#post-23226
Thanks
Hi,
First please make a backup of you current theme installation or a copy of the files you change.
Replace the content of menu-header.php file with this: http://pastebin.com/Ca9nXZ6M
Replace the content of menu-top.php file with this: http://pastebin.com/mFCypxcC
After this please add this custom css in theme panel > custom css field:
#td-top-search .td-sp, .sf-sub-indicator {
background-image: url('http://0div.com:70/wp_009/wp-content/themes/009/images/header/elements-menu.png') !important;
}
.td-sp-ico-search{
width: 25px;
height: 25px;
background-position: -20px -544px;
}
#td-top-search {
position: relative !important;
top: 0px !important;
}
#search-button .td-sp-ico-search {
position: relative;
top: 0px !important;
}
.header-search-wrap #search-button {
height: 20px !important;
}
Result: http://screencast.com/t/YVtS1DXV0N2
Replace this URL with your local one: url('http://0div.com:70/wp_009/wp-content/themes/009/images/header/elements-menu.png')
Thanks
The tagDiv Speed Booster works great but it also moves the style.css and td-bootstrap.css to footer and this delays render of the page. I tried removing $this->move_style_to_footer('td-theme'); from the plugin but then it completely removes style.css file.
I want the style.css file to be in the top not bottom, any clues? 🙂
