Search Results for 'css'

Results from the Forum
yoluca
tagDiv Member

Christopher Simmons here you can see it yourself >> http://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fregatulunit.com%2F&tab=mobile

been testing all day :))

tired now …

i managed to get
73/Mobile 85/Desktop without tagDiv speed booster

69/Mobile 82/Desktop with tagDiv speed booster

all i need is to Eliminate render-blocking JavaScript and CSS in above-the-fold content which is in red in mobile and yellow in desktop 🙂

thanks

yoluca
tagDiv Member
yoluca
tagDiv Member

ok .. Im done minifying … Whats on local server

Html .. Css and js .. Now im up 2 point .. 84 desktop ;))

The only thing left i need to do is

Eliminate render-blocking JavaScript and CSS in above-the-fold content

Which i cannot find how to do it ..

Thanks

yoluca
tagDiv Member

i dont want to remove anything …

All i want to know is .. How to :

#1 Eliminate render-blocking JavaScript and CSS in above-the-fold content
#2 Minify JavaScript
#3 Minify CSS

Thats all

simchris
tagDiv Member

1) remove all external loading elements like social media, advertising, recaptcha, and anything which loads css or js as part of its content; anything not part of the theme

2) use the minification tools I’ve suggested in the pagespeed sticky topic – such as online minification tools, or use the GTMetrix optimized versions provided during the site scan

Basically you need to take the CSS and JS files which PageSpeed is saying need to be minified, and then copy those from your theme directory, minify them, then save the minified version over the original.

One tool to minify the CSS is here:
http://cssminifier.com/

or
http://gpbmike.github.io/refresh-sf/

After you have your minified versions, say of style.css you would need to FTP the minified version(s) to your web site into the wp-content/themes/newspaper folder in the appropriate place.

NOTE: you need to clear all caching, turn OFF caching, and then upload the optimized versions, so that the new versions get cached not the old ones.

3) see 2

If you have a page speed of “82”
then be sure to
1) have faster web hosting account
2) ensure that gzip/deflate are working on your server (mandatory!)
3) enable expires headers (mandatory!)
4) optimize your images

All of this is well covered in the PageSpeed sticky topic in the forum. Optimization of your server, content, and htaccess or nginx config files are not part of the theme.

There is no way for you to optimize external content such as AdSense, AddThis, Recaptcha, Disqus, etc. which are not being served on your actual site.

For max speed you will need to use web safe fonts (not Google fonts), and then comment out the fonts in your functions.php file.

  • This reply was modified 12 years by simchris.
yoluca
Participant
#0

need to know how to properly do :

#1 Eliminate render-blocking JavaScript and CSS in above-the-fold content
#2 Minify JavaScript
#3 Minify CSS

in order to improve page speed… 69/Mobile 82/Desktop

Im using W3 total cache with

#1 Page cache:enabled 
#2 Database Cache:enabled 
#3 Object Cache:enabled 
#4 Browser Cache:enabled

and tagDiv speed booster

Thank you

Thor
tagDiv Member

according to yslow my site get:
Grade C Overall performance score 76

Grade F on Make fewer HTTP requests:
This page has 17 external Javascript scripts. Try combining them into one.
This page has 15 external stylesheets. Try combining them into one.
This page has 10 external background images. Try combining them with CSS sprites.

Grade C on Reduce DNS lookups:
The components are split over more than 4 domains

mwaginger
Participant
#0

Hello, I really need a help with bbpress. I recently upgraded to this theme as it support BBpress with nice look.
Here is it: http://www.uspornaziarovka.sk/forum/diskusne-led-forum/
Issue is that I have reinstalled the old bbpress but I can still see the old table frame styling, I cannot push or I dont know how or why it is still using old style.
Funny part is that when u click on a actual topic or open a topic the style are OK.
Only the main INDEX page is somehow not right.
Can anybody help where to look or check or delete ? thank you

Marius
tagDiv Staff

Hi,
Can be done but require some custom work to make a nice solution with 2 menus, what you can do is to unhide the top menu for mobile. Add this CSS in theme panel -> Custom CSS

@media (max-width: 767px) {
   .td-header-menu-wrap {
       display: block;
   }
}

Thanks!

Radu A
tagDiv Member

hi,

in my example I’m ussing module 3 : http://screencast.com/t/4I9HuhLWArf5

http://screencast.com/t/5892NaHn

result : http://screencast.com/t/Ej2CF37Xg

then use this css :

.meta-info .td-block-author {
  display: block;
}

I know that the date should be above but it needs more tuning, not just 5 min.
if you are not a developer then I advice you to hire one.

hope this help.

Thanks for you message.
Radu A.

here: http://screencast.com/t/hr1q0xmlb

tomdouble
tagDiv Member

Good to hear, in the meantime i found a workaround. i inserted a new row (above the row with the missing title), added the “plain html element”, put my <h4>headline there, did some css and it worked 😉

but of course i am happy that there is an update coming, fixing this the right way!

Marius
tagDiv Staff

Hi,
Add color: #ffffff; in that CSS. If doesn’t work, provide a link to inspect the menu.

Thanks for the message!

kreditno
tagDiv Member

Great, one more thing I’ve noticed.. Lot’s of “No p element in scope but a p end tag seen.” when using “Text with title”. After I manually added <p>…</p>, it validated with no errors.
Love your speed booster, but when enabled, Gravity Forms dissapear from entire site.
Ok, waiting for the next version! 😉

Marius
tagDiv Staff

Hi,
Please can you test it with this CSS?

.onp-sociallocker-content .youtube-player {
  height: 100% !important;
}

.onp-sociallocker-content .youtube {
    display: block;
    height: 420px;
    width: 100%;
}

Thanks!

Radu A
tagDiv Member

hi,
is not possible to have different modules for desktop view and mobile view, those modules comes from the server (from php), and on your devices are rearrange using css.

Thanks for you message.
Radu A.

Radu A
tagDiv Member

hi,
replace the xxx with the number that you have : http://screencast.com/t/tWadvdDPQ

use this css : `
.menu-item-xxx {
background-color: blue;
}`

here : http://screencast.com/t/w5dgnbv4

the background colors can be added also like : #ffff00 (this is yellow)

Thanks for you message.
Radu A.

Marius
tagDiv Staff

We will fix this in the next version.
Thanks for the message!

Marius
tagDiv Staff

Salut,
Se poate aranja din CSS.

Pt mega menu pe 980 foloseste acest CSS

.td_980_resp .td_mod_mega_menu {
margin-left: 19px;
}
.td_980_resp .td-mega-menu ul {
left: 0px !important;
}
.td_980_resp .td-mega-menu .td_block_inner{
width: 800px !important;
}
.td_980_resp .td-mega-menu .td-mega-grid,
.td_980_resp .td-mega-menu .td-no-subcats .td_block_inner,
.td_980_resp .td-mega-menu ul {
width: 996px !important;
}

@media (min-width: 768px) and (max-width: 1018px) {
.td_980_resp .td_mod_mega_menu {
margin-left: 14px !important;
}
.td_980_resp .td-mega-menu ul {
left: 0px !important;
}
.td_980_resp .td-mega-menu .td_block_inner{
width: 600px !important;
}
.td_980_resp .td-mega-menu .td-mega-grid,
.td_980_resp .td-mega-menu .td-no-subcats .td_block_inner,
.td_980_resp .td-mega-menu ul {
width: 748px !important;
}
}
  • This reply was modified 12 years by Marius.
kreditno
tagDiv Member

The only problem I found by adding this to custom CSS is that it fails validation because it is placed in the <body> section.
This is the error I get:
Element style not allowed as child of element body in this context. (Suppressing further errors from this subtree.)

yoluca
tagDiv Member

sal,

pai am folosit css

/*top right social spatiu width*/
.td-social-wrap .td_mod_wrap {
    float: right;
    line-height: 20px;
    width: 230px;
}

problema este ca acum dupa ce am schimbat de la 1170px la 980px …sunt probleme si cu search din forum … cand intru de pe mobil…

deasemenea si cu mega menu… e mult prea mare fata de pagina principala … (980px)

merci.

Marius
tagDiv Staff

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

.td-menu-placeholder {
    top: 6px;
}

@media (min-width: 768px) and (max-width: 1018px) {
   .td-menu-placeholder {
       top: 32px;
   }
}

Thanks!

Radu A
tagDiv Member

hi,
the theme doesn’t have an option for the height of the mega menu.

this is the file where the css for mega-menu is written : http://screencast.com/t/4tfNYBqs7cE

what ever changes you want to do, do it in that file.

Thanks for you message.
Radu A.

Marius
tagDiv Staff

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

.iosSlider .slider .td-sbig-title-wrap .td-sbig-title  {
   font-size: 15px !important;
   line-height: 3px !important;
}

Thanks!

Marius
tagDiv Staff

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

This is fo9r sidebar and footer

@media (max-width: 767px) {
	.container .span12 .row-fluid .span4 {
		display: none;
	}
}

@media (max-width: 767px) {
	.td-footer-wrap {
		display: none;
	}
}

This is for sub-footer

@media (max-width: 767px) {
	.td-sub-footer-wrap {
		display: none;
	}
}

Thanks for the message!

Marius
tagDiv Staff

Hi, Great!

Viewing 25 results - 32,451 through 32,475 (of 33,436 total)