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! :)

Share this post :
Add to Del.icio.us Add to digg Add to FURL Add to blinklist Add to My-Tuts Add to reddit Add to Feed Me Links! Add to Technorati Add to Socializer 

9 Responses:

  1. Josie Says:

    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 :)

  2. Euri Says:

    I like the site’s new look. :)
    I also saw this one on the Live Wordpres Theme List. :)

  3. Kevin Jones Says:

    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.

  4. The Filipino Web Designer » Blog Archive » The entry excerpt Says:

    [...] 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. [...]

  5. Frakkie Says:

    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?

  6. Gail Says:

    FRAKKIE: Please refer to this entry:
    http://filipinowebdesigner.com/?p=25

    The answer to your question is there :)

  7. jacky Says:

    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 !

  8. Billy Says:

    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

  9. Petro Says:

    hi, hi, hi! Beautiful site.

Leave a Reply