WordPress.org

Ready to get started?Download WordPress

Forums

making a image not linkable (10 posts)

  1. danatiber
    Member
    Posted 2 years ago #

    Hi i uploaded some images to a gallery but i dont want them to be clickable i just want them to be images - how can i do this?

    this is the page i am talking about:
    http://www.sagita.co.il/gallery/

    nothing i do works

    tnx
    dana

  2. dkotter
    Member
    Posted 2 years ago #

    That's what a gallery is, a bunch of images that show thumbnails initially, and then you click on them to view larger images and cycle through all of the images. If you just want a normal image, just insert an image, not a gallery, and make sure you select the image too not be linked.

  3. danatiber
    Member
    Posted 2 years ago #

    Hi, i know but when i try to insert images that way i cant have them with spaces between them(see the page - http://www.sagita.co.il/gallery/), can you tell me what i should do with this code to make spaces between the images?

    <p style="text-align: right;"><img class="size-thumbnail wp-image-509 alignright" title="כסאות" src="http://www.sagita.co.il/wp-content/uploads/2011/12/0046-150x150.jpg" alt="כסאות" width="150" height="150" /><img class="alignright size-thumbnail wp-image-581" title="שולחנות" src="http://www.sagita.co.il/wp-content/uploads/2011/12/0027-150x150.jpg" alt="" width="150" height="150" /><img class="alignright size-thumbnail wp-image-507" title="שידות וארונות" src="http://www.sagita.co.il/wp-content/uploads/2011/12/0021-150x150.jpg" alt="שידות וארונות" width="150" height="150" /><img class="alignright size-thumbnail wp-image-506" title="לפני ואחרי" src="http://www.sagita.co.il/wp-content/uploads/2011/12/0011-150x150.jpg" alt="לפני ואחרי" width="150" height="150" /></p>

  4. dkotter
    Member
    Posted 2 years ago #

    You'll need to add some styles to your CSS. It's hard to say what exactly without being able to see the actual code, but usually you'll float the images to the left and add a margin to the right to give it spacing.

  5. danatiber
    Member
    Posted 2 years ago #

    OMG i am new to this wordpress and what you said sounds like Chinese, can you be more descriptive?

  6. dkotter
    Member
    Posted 2 years ago #

    Okay your theme has a file called style.css. You can edit this file either by downloading it, making changes, then reuploading it via FTP, or you can edit it from the WordPress Admin by going to Appearance > Editor.

    Looking at what you have on your site currently, each image has a class called alignright. This class currently has a style that gives it 10px of margin on the left. So to increase the spacing between images, you'll need to edit that style.

    It should be around line 379 in the style.css file. It should look like this:

    .alignright {
       float: right;
       margin-left: 10px;
    }

    So the float is already taken care of. You'll just need to adjust the margin to get the spacing how you want it. Just increase the 10px to whatever you want to get more spacing.

  7. danatiber
    Member
    Posted 2 years ago #

    cool,thanks, if i am in the editor how can i find the line?
    and this will work for these images alone, right?

  8. dkotter
    Member
    Posted 2 years ago #

    I'd just try searching, using your browsers Find feature. And this will effect any images that have the class alignright. To get it to only work on those images, you'll need to add a custom class to those images and then add a margin to that class.

  9. danatiber
    Member
    Posted 2 years ago #

    thank you ' found it :)

  10. danatiber
    Member
    Posted 2 years ago #

    ahmmm, can i also ask u if you know how to make the words above the images be exactly above them??

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.