I tried to use the numblocks code
- Code: Select all
<p class="numblocks num-1"><span>here goes a number</span>and here text of element</p>
several times in esport template (yes the typographie is activated in template parameters), but after saving it in an article, the frontend just shows up
- Code: Select all
<p class="numblocks num-1">here goes a number and here text of element</p>
so the span part has been removed.
numblocks css in typography.style3.css (I'm using the styl3)
- Code: Select all
p.numblocks {
position: relative;
min-height: 38px;
margin: 30px 0;
padding: 0 0 0 72px !important;
}
p.numblocks span {
position: absolute;
top: 4px;
left: 0;
height: 48px;
width: 48px;
color: #fff;
display: block;
font-size: 28px;
line-height: 48px;
text-align: center;
}
p.num-1 span {
background: url('../../images/style3/typography/number-1.png') no-repeat 50% 50%;
}
p.num-2 span {
background: url('../../images/style3/typography/number-2.png') no-repeat 50% 50%;
}
p.num-3 span {
background: url('../../images/style3/typography/number-3.png') no-repeat 50% 50%;
}
p.numblocks span.highlight {
font-size: 15px;
position: static;
width: auto;
display: inline;
background:none;
color:#777;
height:auto;
font-weight:bold;
line-height:26px;
}
Can't find the cause of it.
Beste Regards