WordPress.org

Ready to get started?Download WordPress

Forums

adding images to the pages (3 posts)

  1. giec
    Member
    Posted 2 years ago #

    Hi there, I need to add some social media icons to every page, and I was thinking to add them at the bottom right of every page. Now, the way I think to do this is to ad an extra div in the html of the pages, insert the images in it and then position the div with css. The thing is, I am not quite which folder the images need to go to. any suggestion please?
    thank you
    sorry here's the link http://andys.antonioborrillo.co.uk/wp/?page_id=24

  2. mattskills
    Member
    Posted 2 years ago #

    if you don't want to open up the template files and add it there you can insert

    <div style="float:right;">
    <img src = "http://andys.antonioborrillo.co.uk/wp/wp-content/themes/twentyeleven/images/FaceBook_48x48.png" alt = "" id = "facebook_image"> <img src = "http://andys.antonioborrillo.co.uk/wp/wp-content/themes/twentyeleven/images/Twitter_48x48.png" alt = "" id = "twitter_image">
    </div>

    into your pages individually, otherwise open up page.php in your templates folder and it right before the closing </div> of <div class="entry-content">

  3. giec
    Member
    Posted 2 years ago #

    hi mattskills, thanks I added the images in /public_html/andys/wp/wp-content/themes/twentyeleven/images in the end. I assume that won't cause any problem will it? I mean it is working fine for now

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.