Image in entries styling
10-March-2006 | FILED: Theme: Dapit Hapon
This post is to address Josie’s question ![]()
The reason why your IMG CSS isn’t working on this one is because I’ve kind of specified it that way
Not because I’m a selfish prick, but I really had no idea that I will be making my graphics as background images before I started creating the code from my design in Photoshop. Anyway, you could still put IMG styling regardless of which. You just need to modify it a bit.
This is your code:
Img {
margin: 5px;
padding: 10px;
border: solid black 1px
}
To use this styling on images in the posted entry, you have to specify the class name of my formatting for the entry text. Try this:
.entrytext img {
margin: 5px;
padding: 10px;
border: solid black 1px
}
“.entrytext” is the class name I made for the styling of the posted entry text DIV. So basically, what this CSS code means to say is “everytime there’s an IMG within this DIV, I will apply the CSS Josie created.” The good thing about this is that if you have other images contained in different DIVs, they won’t be affected. Specifying “.entrytext” before the IMG assures you that the styling will only be applicable to the “.entrytext” DIV. This same concept applies if you want to change link styles, codes, numbered lists, ordered lists, etc. within the post.
I hope that helps! ![]()












March 10th, 2006 at 1:33 pm
Thank you Gail… worked perfectly
If you don’t mind I have one other small question.
The articles on the front page all end with this symbol-> [...]
Instead, I would prefer to replace that with a clickable link saying something like “Continue Reading”
Here is a screenshot and another site that showcases what I am trying to do.
http://img378.imageshack.us/img378/719/continue3wg.jpg
Site.
http://lukaret.com/
Thank you for your time and assistance
March 10th, 2006 at 9:24 pm
I like the site’s new look.

I also saw this one on the Live Wordpres Theme List.
March 11th, 2006 at 2:44 am
I just got your message, and yeah, it would be great to be mentioned :D. So go right ahead.
Lol, you got a bit lucky, usually my comments in moderation go unnoticed for about a week, the longest record for me was three weeks :D.
March 11th, 2006 at 9:44 pm
[...] I guess I’m a bit lucky to be able to address two concerns in one post: both questions actually pertain to the same concept: The the_excerpt template tag within the WP loop. Josie’s and Nikita’s questions are different by nature, but can be answered using the same concept. [...]
April 16th, 2006 at 6:58 pm
How come no front images are shown?
And how can i adjust that? When I change the theme style i get my frontimages, since i”ve changed to this theme, they are no longer visible?
April 16th, 2006 at 8:43 pm
FRAKKIE: Please refer to this entry:
http://filipinowebdesigner.com/?p=25
The answer to your question is there
July 22nd, 2006 at 1:50 pm
Oh,what a beautiful blog! I like it very much! I’m agreeable to your point of view!
my name is εεΊι I hope to make feiends with you !
July 22nd, 2006 at 8:23 pm
Hi,
Can you tell me how to get photos I upload to show on the main page. Photos only show once a users clicks on the post. I love your site! But I really need the photos to show. What do I need to modify to change this?
Thanks, Billy
July 9th, 2007 at 9:38 am
hi, hi, hi! Beautiful site.