• Resolved dhanesh

    (@dhanesh)


    I am using the Alexfied theme .. and i wanted to put an image with link in the sidebar.php .. i guess most of the images added are done tru styles.css .. is there any way to add and image with link without editing styles.css ?

Viewing 9 replies - 1 through 9 (of 9 total)
  • “an image with link” – do you mean an image that is a clickable link?
    In that case editing the CSS file wouldn’t help. Just edit your sidebar.php: use the usual ‘src img’ code and put the anchor tags around it.

    Thread Starter dhanesh

    (@dhanesh)

    u mean i should add sumthing like a notmal html code for adding an image that is clickable ? i addd this NORMAL html code for a pic like this … this is the full sidebar.php file for the theme ..

    <a href="https://www.mysite.com"><img src="https://mysite.com/wp-content/../image.gif" align="left" border="0"></a>

    Is this correct ?

    Thankx

    Thread Starter dhanesh

    (@dhanesh)

    doing this dosent help yet ?? .. duno whats wrong .. either the theme is like a layer or floating and my image shows behind the sidebar .. cause while loading i see the image frame (firefox) and in less than a sec it disappears .. I asked in the theme creators site too .. but no one replied .. if anyone has this theme .. Alexified .. please do try this and let me know ..

    Really appriciate the help .. thankx ??

    1. If you want to post code – you should put the CODE itself in between backticks, not the WORD “code”.
    2. [‘]= apostrophe and [`] = backticks are NOT the same!

    3. Yes, it is correct. If you take a closer look at the template files you’ll realize that the layout is “normal” html tags – just having little php code snippets (template tags) inserted in between.
    A good reading: https://mattread.com/archives/2005/04/wordpress-is-not-php/

    Thread Starter dhanesh

    (@dhanesh)

    guess my full sidebar.php code was edited by a mod ?? .. np.. but the html code is the one i put at the end after ‘<? php) ?> </div>’

    Regards..

    Thread Starter dhanesh

    (@dhanesh)

    opps .. sorry for that mess up moshu .. will bear that in mind next time i post ?? .. and thankx for the link .. will just go tru it right now ..

    Thread Starter dhanesh

    (@dhanesh)

    yippieeee .. its done .. FINALLY ! .. thankx alot moshu .. thankx a million ??

    Glad it worked. Could you then, please, mark this topic as resolved (up, under the title)?

    Thread Starter dhanesh

    (@dhanesh)

    done .. ?? and thankx again ..

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Add image to theme’ is closed to new replies.