Title: CSS Above The Fold
Author: Pau Iglesias
Published: <strong>25. март 2015.</strong>
Last modified: 31. август 2015.

---

Претражи додатке

![](https://ps.w.org/css-above-the-fold/assets/banner-772x250.png?rev=1122413)

Овај додатак **није испробан са последња 3 главна издања Вордпреса**. Можда се више
не одржава нити подржава и може имати проблема са усаглашеношћу када се користи 
са новијим издањима Вордпреса.

![](https://ps.w.org/css-above-the-fold/assets/icon-256x256.png?rev=1122413)

# CSS Above The Fold

 Аутор: [Pau Iglesias](https://profiles.wordpress.org/pauiglesias/)

[Преузми](https://downloads.wordpress.org/plugin/css-above-the-fold.1.0.zip)

 * [Детаљи](https://sr.wordpress.org/plugins/css-above-the-fold/#description)
 * [Рецензије](https://sr.wordpress.org/plugins/css-above-the-fold/#reviews)
 *  [Постављање](https://sr.wordpress.org/plugins/css-above-the-fold/#installation)
 * [Развој](https://sr.wordpress.org/plugins/css-above-the-fold/#developers)

 [Подршка](https://wordpress.org/support/plugin/css-above-the-fold/)

## Опис

Improve user experience by having your above-the-fold (top of the page) CSS styles
in-page.

Even if the rest of the CSS files take a seconds to load, these specific CSS styles
displayed from the head section ensure a quick rendering of your page and better
score in testing systems like Google Page Speed Insights.

But you do not need to maintain two separate stylesheets, just select specific fragments
of your theme style file with a special markup to create an above-the-fold styles
joining the CSS fragments in the head section.

This plugin enables a special open and close tags that you can insert editing your
style.css theme file to surround pieces of code:

[css-above-the-fold]

… Your theme CSS code fragment …

[/css-above-the-fold]

But this syntax is not an standard CSS, so you need to include this tags between
CSS comments, there are two ways to do it:

### 1. Comment whole section

The easiest way, the CSS is rendered only in the head but not in the stylesheet.

This kind of markup does not allow to use your own CSS comments inside the fragment.
Take care to use this way only when the plugin is active, because you are commenting
some parts of your theme stylesheet.

/* [css-above-the-fold]

… CSS code fragment …

[/css-above-the-fold] */

### 2. Comment only the tags

The unobtrusive way, it allows you to include comments inside fragments, but the
fragments are rendered both in the head section and the CSS file.
 This way is plugin-
independent, and your theme stylesheet will keep running with this plugin activated
or not.

/* [css-above-the-fold] */

… CSS code fragment …

/* [/css-above-the-fold] */

You can use these two kinds of markup combined in your CSS File.

The resulting CSS fragments introduced in the header are compacted and minified.

This plugin only read the style.css file when it is modified, and stores the results
using the WP options API.

## Снимци екрана

[⌊A edited CSS file using Whole section commented fragment⌉⌊A edited CSS file using
Whole section commented fragment⌉[

A edited CSS file using Whole section commented fragment

[⌊A fragment commenting only the special markup⌉⌊A fragment commenting only the 
special markup⌉[

A fragment commenting only the special markup

[⌊Styles in-page resulting of joining css theme fragments⌉⌊Styles in-page resulting
of joining css theme fragments⌉[

Styles in-page resulting of joining css theme fragments

## Постављање

 1. Download the plugin from WordPress plugin repository
 2. Unzip and upload css-above-the-fold folder to the `/wp-content/plugins/` directory
 3. Activate the plugin through the ‘Plugins’ menu in WordPress
 4. Edit your theme CSS file style.css following the instructions above

## ЧПП

  My theme will be dependent on this plugin?

Only if you use the **`Comment whole section`** type of fragment selection. However,
it is easily reversible uncommenting the sections.
 If you want an independent stylesheet
use the **`Comment only the tags`** technique.

  Why is important rendering CSS file on the top of the page?

Prioritizing above-the-fold content it’s an important factor to speed-up your website,
rankings improvement and conversion.

  Why using this technique of selecting fragments from the theme stylesheet file?

The aim is simplicity, editing a single file avoids having to maintain two separate
stylesheets.

  And what CSS should I mark to display it „above-the-fold“?

That is the million dollar question, this plugin does not do this task automatically,
only provides a method for easy and quick implementation.
 There are some tools 
to help you in the process of select the rights fragments of code, and maybe you
will have to modify your stylesheet structure to properly isolate these CSS fragments.
You can find a lot of resouces about this topic performing a simple Google search
like „css above the fold“.

## Рецензије

![](https://secure.gravatar.com/avatar/4eaf1d09d92b3aa4429fe441c4bc85fd887907aafbbde158c7ab1a1de6d01d87?
s=60&d=retro&r=g)

### 󠀁[Good idea](https://wordpress.org/support/topic/good-idea-48/)󠁿

 [apasionados](https://profiles.wordpress.org/apasionados/) 3. септембар 2016. 1
одговор

Good idea for a plugin. Works perfectly. Thanks.

 [ Прочитај 1 рецензију ](https://wordpress.org/support/plugin/css-above-the-fold/reviews/)

## Сарадници и градитељи

„CSS Above The Fold“ је софтвер отвореног кода. Следећи људи су допринели овом додатку.

Сарадници

 *   [ Pau Iglesias ](https://profiles.wordpress.org/pauiglesias/)
 *   [ Blogestudio ](https://profiles.wordpress.org/blogestudio/)

[Преведите „CSS Above The Fold“ на свој језик.](https://translate.wordpress.org/projects/wp-plugins/css-above-the-fold)

### Заинтересовани сте за развој?

[Прегледајте кôд](https://plugins.trac.wordpress.org/browser/css-above-the-fold/),
погледајте [SVN складиште](https://plugins.svn.wordpress.org/css-above-the-fold/)
или се претплатите на [дневник развоја](https://plugins.trac.wordpress.org/log/css-above-the-fold/)
преко [RSS-а](https://plugins.trac.wordpress.org/log/css-above-the-fold/?limit=100&mode=stop_on_copy&format=rss).

## Записник измена

#### 1.0

 * Initial Release.
 * Tested until WordPress 4.2

## Мета

 *  Издање **1.0**
 *  Последње ажурирање **пре 11 година**
 *  Активних постављања **200+**
 *  Издање Вордпреса ** 3.3.2 или новије **
 *  Испробано до **4.3.34**
 *  Језик
 * [English (US)](https://wordpress.org/plugins/css-above-the-fold/)
 * Ознаке
 * [minification](https://sr.wordpress.org/plugins/tags/minification/)[minify](https://sr.wordpress.org/plugins/tags/minify/)
   [minify css](https://sr.wordpress.org/plugins/tags/minify-css/)[minify stylesheet](https://sr.wordpress.org/plugins/tags/minify-stylesheet/)
   [optimization](https://sr.wordpress.org/plugins/tags/optimization/)
 *  [Напредни преглед](https://sr.wordpress.org/plugins/css-above-the-fold/advanced/)

## Оцене

 5 од 5 звездица.

 *  [  1 рецензија са 5 звездицом     ](https://wordpress.org/support/plugin/css-above-the-fold/reviews/?filter=5)
 *  [  0 рецензија са 4 звездица     ](https://wordpress.org/support/plugin/css-above-the-fold/reviews/?filter=4)
 *  [  0 рецензија са 3 звездица     ](https://wordpress.org/support/plugin/css-above-the-fold/reviews/?filter=3)
 *  [  0 рецензија са 2 звездица     ](https://wordpress.org/support/plugin/css-above-the-fold/reviews/?filter=2)
 *  [  0 рецензија са 1 звездица     ](https://wordpress.org/support/plugin/css-above-the-fold/reviews/?filter=1)

[Ваша рецензија](https://wordpress.org/support/plugin/css-above-the-fold/reviews/#new-post)

[Види све рецензије](https://wordpress.org/support/plugin/css-above-the-fold/reviews/)

## Сарадници

 *   [ Pau Iglesias ](https://profiles.wordpress.org/pauiglesias/)
 *   [ Blogestudio ](https://profiles.wordpress.org/blogestudio/)

## Подршка

Имате нешто да кажете? Потребна вам је помоћ?

 [Види форум подршке](https://wordpress.org/support/plugin/css-above-the-fold/)