- 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
Hi,
Please use this css for the top padding:
.page .td-page-wrap .td-grid-wrap {
padding-top: 0px;
}
Should work like this: http://screencast.com/t/ztEeowAgJTE
Thanks
Hi,
Please use this css:
.menu-primary-menu-container .sf-menu > li > a {
line-height: 20px;
}
.td-menu-placeholder .td-menu-background .td-menu-wrap {
height: 20px;
}
.td-menu-wrap .header-search-wrap #search-button .td-sp-ico-search {
top: -2px;
}
Should work like this: http://screencast.com/t/F9jWunuJujbp
Thanks
Hi you can do that with css. Add padding or margin.
And I wanna ask, what plugin are you using for More stories popup in your site? The one that comes when user scrolls down?
Hi,
Try this css:
#td-footer-1 input {
height: 50px;
word-break: break-word;
}
Note that this will change all input fields from the footer 1 widgets area, change the height as you like.
Hope this helps!
Thanks
I’ve installed the speed booster plugin and noticed a huge speed improvement. Like you advised, i add the 4 .js files in the exceptions.
To not break any slide are the menu on mobile please add these files in the
Exceptions (files to ignore and load in render-blocking way) box to the bottomjquery.min.js
external.min.js
site.min.js
js_composer_front.js
The problem is that there are some problems:
1. The header menu is not sticky and the pull down columns are to small
2. There are no header image visible at theme 4 (other templates are ok)
Did i miss a file to exclude?
Thanks in advance!
JB
Hi,
Glad you figured it out, thanks for reporting this, we will take a look and fix this in the next theme update.
Unfortunately you can’t modify the css generator file using child theme.
Sorry about this!
Thanks for the message!
-
This reply was modified 11 years by
Lucian.
Hi,
You don’t need to style the buttons, just uncheck this box from plugin settings: http://screencast.com/t/418lcQ8tq
Use the "Enter CSS to fix or modify how your buttons look" field of the plugin to style the buttons yourself.
Thanks
Thank you so much Lucian. This worked perfect!
Hello,
I want to adjust the sidebar spacing to close the gap between the ad and social icons. I guess this can be done via CSS but could you tell me what I need to insert?
I should mention that I’d like this done for all sidebars.
Here’s a screenshot of what I mean: http://goo.gl/Ict4BY
And here’s a screenshot of the CSS I already have: http://goo.gl/UlXugF
Thanks in advance!
Can you please tell me how to do that? “(I’m now using pure CSS buttons with Font Awesome and works just fine.)”?
-
This reply was modified 11 years by
mehedi.
That code actually ended up being a bit “weird” with Bootstrap, as I tried implementing it on another site and it failed to work consistently. I’m now using pure CSS buttons with Font Awesome and works just fine. The responsive problem was conflict with bootstrap code, etc. (This theme also has bootstrap 3 in its DNA.)
Hi Christopher,
I minified style.css with that website before. Shall I minify all of the JS on the /js folder?
Hi there,
I have installed a carousel slider by Themepunch (they also make Slider Revolution) on my homepage.
I would like to remove the top padding so it looks better. I placed the following css in the Visual Composer CSS editor (just for that page), however it did not work.
Hope you can help!!
#page {
.td-grid-wrap {
padding: 0px 0 0; !important;
}
Hi, Mehedi
I usually try to use the js and css minifier links I’ve posted couple of times in the pagespeed topic …
You can also “try” to use the GTmetrix optimized versions they do for you, but I usually only minify the main couple of files (don’t recall which ones at the moment)…
You can try these
http://javascript-minifier.com/
I use the CSS one all the time.
After digging a bit and getting an answer on the WP Stack Exchange I realized this has to do with child vs. descendant. I have it working 🙂
But it also required editing one part of td_css_generator.php. So I wanted to alert you guys to what I think is a bug in the theme. This CSS in td_css_generator:
.blog-stack .sf-menu .current-menu-item a,
.blog-stack .sf-menu .current-menu-parent .current-menu-item a,
.blog-stack .sf-menu .current-menu-parent > a,
.blog-stack .sf-menu > li:hover > a,
.blog-stack .sf-menu ul li:hover > a,
.blog-stack .td-post-text-content .more-link-wrap:hover a,
.blog-stack .sf-menu ul .td_mega_menu_sub_cats a.cur-sub-cat,
.blog-stack .sf-menu ul .td_mega_menu_sub_cats a.cur-sub-cat:hover,
.blog-stack .td-mega-menu .block-mega-child-cats a:hover,
.blog-stack .td_mod_mega_menu:hover .item-details a{
color:@link_color !important;
}
Should maybe have this for the first line?
.blog-stack .sf-menu .current-menu-item > a,
Because otherwise, even when I remove all my custom CSS for the menu, the dropdown from a current item has the same background colour and font colour. This was actually my first question on the support forum:
https://forum.tagdiv.com/topic/menu-dropdown-broken/
So yeah. If others have seen this problem, hope that helps!
(In the meantime… is there any way for me to overwrite td_css_generator with a child theme?)
Will just swing by for the ones I can answer quickly:
(2) If I understand you right: A child theme doesn’t store menu info (as in Appearance -> Menus); that’s in the MySQL database. I expect custom sidebars are the same but I’m not sure. I would probably just use a backup plugin if you have trouble finding your way around your database. If someone else has an easy way to backup just those settings, please share. :p
(3) A quick fix is to add this custom CSS in the theme panel:
.td_mod2 .meta-info {
display: none;
}
.td_mod2 {
margin-bottom: 10px;
}
Change the 10px to whatever spacing you want — default is around 40px.
(4) If they have featured images, best thing to do is clear your cache if you’re using one and follow these directions: https://forum.tagdiv.com/how-to-fix-strange-thumbnails/
(5) Align left with this custom CSS:
.td-social-wrap {
float: left;
}
For the other edits, you’d have to extensively edit td_social.php and td_social_icons.php, if those files can even be replaced in a child theme. You might want to just look at a plugin instead.
Hi,
Please use this custom css also, should solve both issues:
.td-mega-grid .td_block_mega_menu .td_mega_menu_sub_cats .block-mega-child-cats div a {
width: auto !important;
}
Thanks
Hi,
Please send me a link to your site so I can check this, also please try to add a class to your text block like this: http://screencast.com/t/JbtiwRvGLf9 Then use that class to set the background color as you like: http://screencast.com/t/LSm3oaErskM
You can use and add the same class as I did, just add the class like shown in the first screenshot and then add the custom css from below in your custom css field from theme panel:
.my-text-block-class {
background-color: #4db2ec;
}
Thanks
Hi,
I have tested it, should work fine: http://screencast.com/t/WxpEpBig
Please make sure you add this correctly http://screencast.com/t/Ixrr28AE
And then use this css and remove the previous from theme panel > custom css:
.slider .td-big-grid-post .td-block-author {
position: relative;
top: -100px;
color: blue;
font-size: 20px;
font-weight: bold;
}
.slider .td-big-grid-post time {
position: relative;
top: -100px;
color: blue;
font-size: 20px;
font-weight: bold;
}
.slider .td-big-grid-post .td-block-author a {
color: blue;
}
Change the color/font.. as you like using the css targeting I provided.
Thanks
Hi,
Please use this custom css in theme panel > custom css field to change the title style:
.vc_carousel .wpb_gallery_heading {
padding: 3px 10px 3px 10px;
color: white;
display: inline-block;
background-color: #4db2ec;
position: relative;
font-family: 'Roboto Condensed', sans-serif;
border-bottom: 2px solid #4db2ec;
font-size: 20px;
font-weight: normal;
text-transform: uppercase;
line-height: 26px;
}
.vc_carousel {
position: relative;
}
.vc_carousel .wpb_wrapper:before {
content: '';
position: absolute;
height: 2px;
top: 57px;
left: 0px;
background-color: #4db2ec;
width: 100%;
}
Regarding the category you don’t need the category slug to filter the posts, you just add the category name by typing the category name, like this: http://screencast.com/t/Y1tMqqiOs7c
I tested this and works. Please make sure you have added the category right.
Thanks
-
This reply was modified 11 years by
Lucian.
Hi,
Use it like this: http://screencast.com/t/HCs2g4EZ
Remove the previous custom css and use this one:
.td-full-layout .td-big-slide-background .td-grid-wrap .slider, .td-boxed-layout .td-big-slide-background .container .td-grid-wrap .slider {
box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}
Thanks
Hi,
You could but then you will have to modify all image container module/slides.. to use just that only image size and then use css to resize the image container for each module/slider.. which is not an easy job as the theme hasn’t been designed like that.
Other think you would worry about it’s that in case you modify it to use just one image then if the image size it’s let’s say to 1/2 MB that will be loaded on every module and you will have a 1/2 MB large image loading instead of an thumb size image.
Thanks
Hi,
The big slider was originally thought and designed to use 4 posts.
You could try though something like this: http://screencast.com/t/52NcXbRGo2dA
First you have to add another image size into the functions.php file, like this: http://screencast.com/t/5Ob5LBNXBGK0
Here is the code for it:
//big slider - new image
add_image_size('new-image', 354, 483, true);
Second you have modify this: http://screencast.com/t/Or0iRGwRB
Then you have to regenerate thumbnail, to create the new thumbs for the slider, to do that follow this guide: https://forum.tagdiv.com/how-to-fix-strange-thumbnails/
After doing that add this custom css into custom css filed in theme panel, like this: http://screencast.com/t/Irdh4spACkPy
Here you have the css, just paste it in the custom css filed in theme panel:
.td_block_big_grid .td-big-grid-post-0, .td_block_big_grid .td-big-grid-post-1, .td_block_big_grid .td-big-grid-post-2 {
width: 354px !important;
height: 483px;
}
.td-big-grid-post-3 {
display: none;
}
.td_block_big_grid .td-big-grid-post-0, .td_block_big_grid .td-big-grid-post-1 {
border-right: 5px solid #ffffff !important;
}
.td-sbig-title-wrap, .td-sbig-title-wrap {
bottom: 0px;
}
.td-sbig-title-wrap .td-sbig-title, .td-sbig-title-wrap .td-sbig-sep
{
font-size: 16px;
line-height: 21px;
}
Result: http://screencast.com/t/52NcXbRGo2dA
This can be used to achieve similar layouts.
Hope this helps!
Thanks
Hi,
I have tested all css codes I provided you and seems like whichever you use works just fine:
* http://screencast.com/t/KRshDjgXGVej
* http://screencast.com/t/O5nzvz0eyo
* http://screencast.com/t/JmGd8iKJO
As you can see all of then work on your site just make sure you remove all codes used for this and add one of the code like this: http://screencast.com/t/Rj6oje1DbM
Thanks
Hi,
Please remove the css I initially provided and use this one, make sure you add it like this: http://screencast.com/t/nqPBLr7AF3f
@media (min-width: 768px) and (max-width: 1018px) {
.sf-menu > li > a {
width: 60px !important;
font-size: 11px !important;
text-align: initial !important;
}
.sf-menu .menu-item.menu-item-1442 a, .sf-menu .menu-item.menu-item-544 a, .sf-menu .menu-item.menu-item-546 a {
width: auto !important;
}
}
@media (min-width: 1018px) and (max-width: 1200px){
.sf-menu li a {
width: 98px!important;
font-size: 14px!important;
}
.sf-menu .menu-item.menu-item-1442 a {
width: auto !important;
}
}
I’ve tested this on your site should work fine: http://screencast.com/t/iBB1semS
Thanks