WordPress.org

Support

Support » Themes and Templates » [Resolved] PNG transparent Corner tricks

[Resolved] PNG transparent Corner tricks

  • 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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • esmi

    @esmi

    Forum Moderator

    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/

    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?

    esmi

    @esmi

    Forum Moderator

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

    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 😉

    esmi

    @esmi

    Forum Moderator

    No problem. We all have days like that. 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] PNG transparent Corner tricks’ is closed to new replies.