WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] PNG transparent Corner tricks (6 posts)

  1. Lugh9
    Member
    Posted 2 years ago #

    Ok so what I am trying to achieve is an ornamental png image on the top left and bottom right of my primary area, having the content below these. I am a self taught person and I know how to do this in html and css but I dont know how to make this work in wordpress. I have tried quite a few different things and for some reason I cant even get my image to display at all.

    I tried making a div id with an img src tag within that. Nothing happened.
    I tried making the png a background image for the div id with positioning and z-index. still nothing.
    Tried making a "corner" class within primary. nothing

    I feel like its probably a simple mistake that I keep over looking because I am not that great with PHP yet.

    If someone could direct me to a tutorial that would be awesome. I have been looking high and low for a tutorial that covers this and I keep finding just "rounded corner" tricks but they dont apply to what I am attempting here.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    I'm sorry but it is beyond the scope of these forums to deal with basic CSS issues. Try a dedicated CSS resource such as http://www.css-discuss.org/ instead. I'd also recommend using Firefox with the Firebug add-on for this kind of CSS work.
    http://getfirebug.com/

  3. Lugh9
    Member
    Posted 2 years ago #

    I already use firebug, and I already know css
    I am lacking in PHP understanding
    I get the feeling you didnt even read my post.
    How about this. In my wordpress main index file how would I go about displaying an image? In html I would just do "<img src="..." alt"." /> but for some reason that wont work in my php index file. I assume there is a different way to go about it?

  4. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    This has nothing to do with PHP or WordPress specifically. It's a CSS issue.

  5. Lugh9
    Member
    Posted 2 years ago #

    Ok youre completely right. Actually I feel pretty effin stupid now lol
    I was working on the wrong file, with so many page templates I got confused.

    I apologize for my stupidity ;)

  6. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    No problem. We all have days like that. :-)

Topic Closed

This topic has been closed to new replies.

About this Topic