- 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
- NewsmagtagDiv Composer Tutorial
- TutorialsFrom WPBakery to tagDiv Composer
- NewspapertagDiv Composer Tutorial
- NewspaperTheme modules and blocks
- TutorialsDefault Block Settings Guide
- NewspaperThe Mobile Theme
- NewspaperCompare theme files – Winmerge tutorial
- NewsmagBlock settings tutorial
- NewsmagLogo & Favicon
- NewsmagFooter templates
Good morning guys,
Hope you can help me with this as tried in my custom css but no such luck!
I need modify my block on the homepage. (I’m using Block 6):
1. Modify line thickness to 1px
2. Reduce the margin-bottom (presently at 49px)
3. add a margin below the excerpt to give my button a little more space
Many thanks
Good call! If I ever decide to use the other module, I’ll switch to this ๐
@TheMediumUTM – You can use the CSS :nth-child() selector rather than nesting elements in rows. It won’t break the layout, but accurately targeting the element sometimes takes a few tries. I often have to fix the object hierarchy, and also add a property that makes it easy to visually identify so that you know you’ve got the right one, something like:
div.some_known_class > div > div:nth-child(2) { background-color: red; }
<:) denis
Lucian
it occurs to me it might be easier for me to set the ‘default theme color’ which would control the sidebar widget color blocks behind the widget title text consistently, and then simply over-ride the menu color for the selected hover underline and drop downs?
If you could point me at CSS over-ride for those elements that would be awesome. ๐
Hi,
It shows like that because you use just one post, you can chose a different block like block 6 and then use this custom css to fix it page:
.page .td_mod9 .thumb-wrap {
display: none;
}
.page .td_mod9 .item-details {
margin-left: 0px;
}
Change the .page class with the .page-id class of the page you are using this css on.
Should look like this: http://screencast.com/t/HZAarNcFn0WH
You can change the excerpt length from theme panel > excerpt for each module, in this case you will have to change the module 9 excerpt length.
Hope this helps!
Thanks
-
This reply was modified 11 years by
Lucian.
I was hoping for that too. We need more modules/blocks to do text-only styles :p For the moment I did it lazily by CSS:
.thumb-wrap {
display: none !important;
}
That would target all your thumbs, so I set aside one block style for categories that don’t have images, and added that class to target those thumbs specifically.
Yes, was thinking the same thing. Currently the only way is to add a row just for the one element and then give the column a custom CSS class. But rows inside rows tend to break the layout in small ways. This is from experimenting a bit and finally deciding to just reserve a whole block style for one purpose so I could target it :p
Hi,
We will consider this, thanks for the suggestion.
Thanks for the message!
Something to add to the wishlist.
Sometimes I would like to target a specific Visual Composer Elements for additional styling. Most of the standard VC elements have an “Extra CSS Class” field for this purpose, but not the tagDiv add-ons to VC.
Thanks
Denis
Hi,
You would have to place the code for them here: http://screencast.com/t/oVGKzHWhn
This is the code I used there as an example:
echo '<span class="my-custom-title">MY TITLE</span>';
And this is how it looks: http://screencast.com/t/vqHVNFI3O8
You can style it to look like you want via css, use the class add to span tag:
This is the css I used:
span.my-custom-title {
position: relative;
width: 100px;
height: 100px;
background-color: transparent;
font-family: fantasy;
font-size: 100px;
color: aliceblue;
}
Modify it as you like or write another.
Use the same method to add other elements. If you don’t have any css and html knowledge we recommend to hire a freelancer to do this for you.
Thanks
I am trying to create a features and specs of mobiles on my website like this one. http://www.gsmarena.com/nokia_lumia_520-5322.php
I need to know what things i need to achieve this. I currently understand this model like.. I have to create a custom post type and template. Then some CSS. But this again doesn’t help me in creating comparison tables. ANy idea?
Hi,
You could do it the same way just instead of the function you could try to place the script or the code you want to show there inside a div tag and give it a class then use that class to style it via css.
Another way would be to place your code inside one of the custom ad boxes: http://screencast.com/t/vbmiKoAV8n then use the do_shortcode() function to place the code whre you want it to show using this code:
<?php echo do_shortcode('[td_ad_box spot_id="custom_ad_1"]');?>
Just add your code inside the custom ad box 1 then place the code above where you want the block of links to show.
If it dose not work please try the other solution. If you don’t have basic css and html skills we recommend you to hire a freelancer from sites like http://studio.envato.com/ to do it for you, or you can try to search the web for a solution as this is custom work and we cannot offer custom work as we work hard on the development, updates, fixes and support.
Hope this helps!
Thanks
Hello guys!
I have a problem with Eliminate render-blocking JavaScript and CSS in above-the-fold content in the mobile version, i read all the topic and try everything but i dont know why its not working,
In the Speed Booster Pack i have enabled Load CSS asynchronously, Minify all CSS styles, Load JS from Google Libraries and Defer parsing of javascript files
Im using TagDiv Speedbooster plugin to and w3 total cache… i dont know what else i can do ๐
Got it. thanks
Hi,
Sorry about this! I saw the picture and thought you don’t want the logo, haven’t looked well at it, just remove the custom css I gave you from theme panel > custom css, it will show up.
You can use page builder to make your list of link and then get the shortcode and ad it using the do_shortcode function on the header or after the ad where ever you want the link to show on your page.
Hope this helps!
Thanks
Hi,
You will have to use the default header style (style 1 from theme pane > header style http://screencast.com/t/YaDPSlWbPjE ) then go to header-style-1.php file and make this changes: http://screencast.com/t/LDkej9E2J
Then use this custom css > in them panel > custom css filed:
.td-a-rec-id-header {
left: 5px !important;
top: 15px !important;
}
Result: http://screencast.com/t/e6nljSjFKRif
Thanks
Great dude, all the best for your website!
I don’t combine images using css sprites, they are as they were by default. Cloudflare is great, for now I’m using it anyway but I’ve planned to buy cdn and ssl cert, once I start earning. ๐
And I and you have kinda same type of website. My 21 days old and yours?
Lets compete in that (if you can help me in seo) ๐
Hi,
It dose not work because the .bypostauthor class it’s not used. If you want to highlight only the post author comments you will have to modify the comments.php file and add a class there which will be displayed only if this condition is met then you will be able to style it via css, you can get a freelancer from sites like: http://studio.envato.com/ if you don’t know how to do it yourself.
Thnaks
Also, how did you “Combine images using CSS sprites”? Please help.
Hi Shashank,
First of all, the render blocking css warning was full of me using @import to separate CSS files on that product directory. As soon as I removed them and used a different method, it was completely gone.
The theme had some images that weren’t optimized. So, I downloaded and reduced the quality of them and then uploaded it to the server again. Also, I use WPSmush.It on the website.
As you suggested to download and use a minifier, i did it. I used both of this websites:
cssminifier.com and http://javascript-minifier.com/ – IT works great and I minified only files which were more than 3,000KB.
Its worth noting that the score drastically improved as soon as I downloaded the fonts from Google and uploaded them to my server and then added them to the Custom Font section. — I was surprised by the improvement. (Thanks Christopher for this tip!)
It isn’t possible to get 98 cause the thing is, almost all of us are using Google AdSense and it is slowing the website down. Try without AdSense and you should get 100/100 ๐
Hope that helps. Also, did CloudFlare helped you gain a bit of speed?
Thanks!
Hi,
Please use this css in theme panel > custom css, and add !important, like this padding-right: 50px!important; if it’s not working:
.sf-menu .menu-item a.sf-with-ul {
padding-right: 50px!important;
padding-left: 50px;
}
.sf-menu .menu-item .sf-sub-indicator {
right: 40px;
}
Change the values as you like, I have tested this on your site an works like this:http://screencast.com/t/Dy476b64z8QB
Thanks
Hi,
You can do this by adding your ad code for the “header ad” like this: http://screencast.com/t/4ha9Rihm4C8
Then chose header style 3 or 6 like this: http://screencast.com/t/vqALWiLD
After this add this custom css:
.header-style-3 {
display: none;
}
..in theme panel > custom css, like this: http://screencast.com/t/Exfbwrgj
Should get this result: http://screencast.com/t/o5dnzOfRf
Thanks
Hi Christopher,
As you can see the div of the sidebar has just two classes span4 column_container and it’s a bit harder to target just the sidebar via css and change it’s background color as long as a div just like that is used in the footer also and changing the sidebar will get you changing the footer also, here is an example: http://screencast.com/t/rPW4QDKyh
You can do it tough by adding a specific class on each template you want to change the sidebar color then use that class to target the sidebar and change it’s color via custom css. Here is an example for the category page template: http://screencast.com/t/bTwprqfBwJ and the result: http://screencast.com/t/MNts8tpk
using this css:
.custom-sidebar-background {
background-color: lightgray;
}
You can add this class for all templates and use it to change the sidebar’s background color.
Another thing that you should take into consideration is that the sidebar doesn’t have any padding so you would want to add some padding to it using the same class, but keep in mind that the some blocks may react not in an expected way to this padding because of the width.
Also, as you probably noticed, the post page sidebar has a class which you can use .td-post-sidebar
Regarding the option on panel for this we will leave this at everyone’s hand and use this method to achieve this. This option will be available though within our new theme which we are working on.
Hope this helps!
Thanks
-
This reply was modified 11 years by
Lucian.
You’re welcome and Congrats, I’m happy you did it ๐
I have a few questions again.
How did you removed render blocking css warning?
How did you optimize images?
And obviouly, how did you minify things?
I want to take from 97 to 98 or 99 ๐
Hi,
Glad you figured it out, I did not understand yet why do you need to shrink the tabs, look good to me.
Regarding the rev slider please use this css instead of the previous one:
.rev_slider {
z-index: 0;
}
I have tested it on your site and should work fine like this: http://screencast.com/t/3frR0Nh3iPz
Thanks