This seems more like a CSS issue than an issue with our plugin.
Could be a million things. Maybe it’s caching?
Thread Starter
rem_h
(@rem_h)
Thanks Harold,
It’s not caching. I refreshed and restarted server severall times.
I use the Twenty Twelve theme
Put the CSS in de style.css
I also think its something with the CSS.
I’ve tried to change the margin-left of the block. adjust the class from .sblock to Tblock to look for change.
CSS
.Tblock {
margin-left:100px;
}
But there’s no effect.
Code in Page.php
<div id=”sblock” class=”Tblock”>
<?php the_block (‘first block’); ?>
</div>
Do you have any clue? i’m stuck
Thanks
Rem
Hi Rem,
The CSS seems fine, but it could be other (CSS) stuff which is conflicting with your code. That’s quite impossible for me to see, since it could be almost anything.
Do you have an example where I could take a look at?
Thread Starter
rem_h
(@rem_h)
Hi Harold
Unfortunally its local and not finished to put online
I use the standard stylesheet of Twenty Twelve theme (style.css)
at the end of this file i entered my CSS as described.
That’s the only CSS I addes this far and the code for the block in page.php.
Hi Rem,
You might want to ask this question on a more general website like stackoverflow and post some of your code there, since this is not specifically related to my plugin.
They can probably help you way better than me 🙂
Thread Starter
rem_h
(@rem_h)
@harold
Fixed. Put the CSS in the wrong section
Is it possible to put two contentsblocks on one page?
Thanks
rem
Thread Starter
rem_h
(@rem_h)
@harrold and others
Is possible…caching issue!
Fixed