Spaces in Posts
-
I have a couple spacing issues I haven’t been able to fix on my blog https://www.theamazingagingmind.com :
In the post “stigma-tazing”, I uploaded an image and wanted it to have a border that hugged the image. I did get a border, but it fits around the whole space designated for the image, not around the image itelf. How do I outline the image only? The CSS code currently reads:.postcontent img {
border: 3px solid #efefef;
padding: 0px 0px 10px 0px;
}Next, I want to eliminate the excessive space between the post title and the post content. The reason I have this space I believe is that I had to include some javascript in the “head” section of the post. The code creates the pop-up you see when you mouse over the word “taze” at the bottom of the post. I tried putting this CSS in the stylesheet, but it didn’t work. The only place I could get it to work was to put it in the post, but its presence creates this extra space. I suspect I should put the code in the functions.php, but then what to name the function, and where to call up that name elsewhere? I’m a complete neophite at php!
Can anyone please help?
Thanks
Marty
- The topic ‘Spaces in Posts’ is closed to new replies.