Question about a text widget
-
@david, let me work on this a little and get back to you. I think we can use a CSS trick to space it down a somewhere inbetween.
-
-
OK, use the following:
<div style="padding-top:20px;">this is the code for the random post</div> -
Oops, too quick hitting the send button.
You can adjust the amount of space by changing the 20px to something smaller such as 5px or 7px or whatever.
-
-
Ok, here’s your fine-tuning – with none of the above before it:
<span style="font-size:medium;"> </span>TEXT_HERE
(This says that the blank space should be larger than the rest of the text, and creates the small gap you need.) -
-
-
-
panaghiotisadam’s solution seems less fine-tuneable, so unless he suggest otherwise we should enter Richard’s into the folk wisdom archive here.
-
I like that – two different ways of achieving the same effect!
Mine can be better adjusted, too, by putting “8px” instead of “medium”.
- The topic ‘Question about a text widget’ is closed to new replies.