Hello, reference is not, but apologetic and correction.
Correction, heading with line break. – Whether with shift + enter or <br>.
Line breaks should namely not be in a heading, because there are also many RSS readers that have problems with it and des responsiv is also not so compliant.
So if it arises here and there to wrap the headline – because it’s just nicer – just work with CSS and the problem is history. It is for itself of the theme only find out which width is the right one.
An CSS example for this
(Twenty Fourteen Theme)
.entry-content h3 {
max-width: 285px;
}
Then the headlines in the content are maximum 285px wide. Here is directly worked with width, so that the browser support is larger.
If this rule is to apply only to wider screen sizes, then the above is to be omitted and the following:
@media (min-width: 700px) {
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
width: 285px;
}
}
This will then affect all headings in the content.
Or create a ‘class’, example:
.title-285 {
max-width: 285px;
}
… and only where it fits with makeup, there is the class. I think this is the better solution.
<h3 class="title-285">... and only where it fits with makeup, there is the class. I think this is the better solution.</h3>
- Learned to do it! – and thanks to the plug-ins Easy Table of Contents
-
This reply was modified 2 years, 9 months ago by
wegerl.