Search Results for 'css'

Results from the Forum
Marius
tagDiv Staff

Hi,
You can change it via CSS

1.

.post .td-sub-title {
    font-family: your font;
}

2.

.author-box-wrap .author {
    font-family: your font;
}

3.

.widget_recent_entries a {
    font-family: your font;
}

Thanks!

Marius
tagDiv Staff

Do you use the retina logo from Theme panel? http://screencast.com/t/qYGhGp1P4 that is for phones with retina. If not don’t use try with this CSS, add it in Theme panel -> Custom CSS

@media (max-width: 767px) {
	.td-full-logo .td-logo img {
		height: 44px;
		top: 3px;
		width: 38px;
	}	
}

Thanks!

Steven
tagDiv Member

@mixvice used cloudflare and they will do it for you…

Btw css should not be at the bottom it should be at the top

It’s javascript that should go in the bottom

mixvice
tagDiv Member

Hey! Can i ask how you move all js and css to the bottom of the document?

simchris
tagDiv Member

Yes, as noted in my original posts, we’re running Apache.

Nginx requires different syntax. Perhaps somebody else can help with that.

SO this means you need to work with your hosting provider to ensure proper expires headers, caching settings, etc., or ask them what file to edit for your particular hosting setup.

eg.

Nginx virtual host configuration file:

 location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
 expires 1y;
 log_not_found off;
 }
murattopak01
tagDiv Member

Minify your css and html, I think it will add at least 6-7 points.
But can I ask how you did remove render-blocking javascript files, because that’s my only problem in pagespeed.

http://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.thenerdmag.com%2F&tab=mobile

You can minify your css and html via W3 cache. I’d be glad if you could say how you dealt with javascript files.

murattopak01
Participant
#0

Hello, I am using a background image, and also the streching option is on. When browsing the site with default android 4 browser, I realized that if you click on the menu icon, you will see the background image for a while before the menu appears.
To avoid this, I thought that I could go to custom css and disable the background for mobiles but didn’t work as it continued to show the background image. However, even if I could have dont, this is a weak solutio, I think. So it would be great if the background didn’t appear instantly after clicking on the menu.

Marius
tagDiv Staff

Hi,
You can hide the ALL via CSS, hope will work, use this CSS, add it in Theme panel -> Custom CSS

.block-child-cats li:first-child {
    display: none;
}

About the sorting order, now is alphabetical sorted.

Thanks!

Marius
tagDiv Staff

Hi,
Add the above CSS in Theme panel -> Custom CSS

Marius
tagDiv Staff

Hi,
Can be done with a custom CSS, also we will fix this in the next update.

Until that you can use this:

.post h1,
.post h2,
.post h3,
.post h4,
.post h5 {
	font-family: Trebuchet;
}

Add it in Theme panel -> Custom CSS

Marius
tagDiv Staff

Hi,
Is like that because you use the tagDiv Speed Booster plugin and this will move the style at the footer. And the first render load the default CSS then your custom CSS(predefined style). You can try to disable the plugin and see if works better.

Also we will try to improve this for the future updates.
Thanks for the message!

Marius
tagDiv Staff

Hi,
Add this CSS in Theme panel -> Custom CSS

.td-like-tweet-google {
    padding-left: 30px;
}

Thanks for the message!

balto212
tagDiv Member

Can you show a screen cast of where you do this in the CSS please. Thank you

Radu
tagDiv Staff

Hi,
add this at the begining of the footer.php file:


    <div class="container">
        <div class="row">
            <div class="span12">
                <?php
                // show the header ad spot
                echo td_global_blocks::get_instance('td_ad_box')->render(array('spot_id' => 'custom_ad_1'));
                ?>
            </div>
        </div>
    </div>

after this you can use the custom ad 1 spot to show footer ads. The ads may need a little bit of css to be better centered.

Radu O.

Marius
tagDiv Staff

Hi,
This setup is not fine for you? Add it in Theme panel -> Custom CSS

@media (min-width: 768px) and (max-width: 1018px) {
	.sf-menu > .td-not-mega > a {
		font-size: 18px;
	}
	.sf-menu a.sf-with-ul {
		padding-right: 28px;
		padding-left: 5px;
	}
}

To change the menu from phone to be on ipad to is a little difficult.
Thanks for the message!

Marius
tagDiv Staff

Hi, I see that you have managed the issue by using the CSS provided.

Thanks for the message!

Marius
tagDiv Staff

Hi,
Just use this CSS, add it in Theme panel -> Custom CSS and set it like you want, now is 0px top and bottom

.td-footer-wrap .td-grid-wrap {
    padding-bottom: 0px !important;
    padding-top: 0px !important;
}

Thanks!

Radu
tagDiv Staff

Hi,

add this to the css section in the panel.


.td_block_inner .entry-date {
    display: none;
}

or if you want to disable the date site wide use this from the panel:
http://screencast.com/t/RzfP1Nxsu

  • This reply was modified 12 years by Radu.
murattopak01
tagDiv Member

Thanks Christopher, you are absolutely right about not minding this stuff first, but it has turned into an obsession for me. I will try to do what sticky thread says, thanks again.

simchris
tagDiv Member

murattopak01

you should fix everything else FIRST, then worry about the “render blocking” thing last. This is sometimes very hard to fix.

Fact is most sites need “some” elements to load first for page to render. You might visit the sticky forum thread on pagespeed to make sure you have expires heads, caching, fonts, external elements, all sorted first, as the render blocking only counts for a very few points — all the rest count for 20-25 points and easy to fix without using a cloud system.

murattopak01
tagDiv Member

This is exactly what I’m suffering from. I can’t find any differences between the demo page (demo.divtag) and my website regarding js and css files. But somehow my score is about 70 for mobile whereas they are almost 100. Are they using cloudflare?

Steven
tagDiv Member

Yes

yoluca
tagDiv Member

the free version ?

Steven
tagDiv Member

CloudFlare will help…

Peter
tagDiv Member

Hi Chris,

Thank you. The systems I use make sure all of this to match the domain Im setting under. In a way you were correct though. I had forgotten the custom css and once removed fixed the issues.

All the best

Viewing 25 results - 32,526 through 32,550 (of 33,436 total)