Krystian
Krystian

Reputation: 987

changing font-size and line-heigth wordpress

I tried changing fontsize and line-height of all blog-posts, but doesnt work. What am I doing wrong?

Example Page: http://neuronade.com/kopie-sdfsdf-3

Tried Code:

    .mk-single-content{
  line-height: 1.5em !important;
  font-size: 120% !important;
}

Upvotes: 0

Views: 61

Answers (3)

Johannes
Johannes

Reputation: 67778

Change that selector to

.mk-single-content * {
  line-height: 1.5em !important;
  font-size: 120% !important;
}

This selects all elements inside the .mk-single-content elements. If you only want to address particular elements inside, use their tags instead of "*"

Upvotes: 1

Vcasso
Vcasso

Reputation: 1348

You have to target each element inside the mk-single-content div.

For example:

.mk-single-content p {
  font-size: 120%;
  line-height: 1.5em;
}

Upvotes: 1

danish
danish

Reputation: 383

Well this styling is working perfectly. May be you need to clear cache.

Upvotes: 0

Related Questions