Support » Fixing WordPress » Difficulty with the miniatures of my products for sale

  • Resolved andreasun

    (@andreasun)


    Hello, I write from Italy. Sorry for my english.
    I need to understand why, after modifying the structure of the miniatures of the books for sale on this page, now when you click on some of these you open the description always and only one (the book “Geomancy”).

    Please, urgently,
    Andrea

    • This topic was modified 1 year, 6 months ago by andreasun.
    • This topic was modified 1 year, 6 months ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 17 total)
  • We won’t be able to access your dashboard on this forum. So you will have to paste here the contents of the post so that we can see what is wrong with the markup

    Thank you for your availability.
    Do you mean to paste the textual part of the page concerned here?

    Yes.

    • This reply was modified 1 year, 6 months ago by andreasun.
    • This reply was modified 1 year, 6 months ago by andreasun.
    • This reply was modified 1 year, 6 months ago by andreasun.
    • This reply was modified 1 year, 6 months ago by andreasun.

    Sorry but the text immediately turns into images as soon as I paste it here.

    • This reply was modified 1 year, 6 months ago by andreasun.

    Please put your code within the code tags

    Ok, I understand now. Thanks.

    <a href="http://www.krstinahanzic.eu/prodotto/geomantjia/"><img class="alignnone size-medium wp-image-104" src="http://www.krstinahanzic.eu/wp-content/uploads/2017/02/Geomantija-185x300.jpg" alt="" width="185" height="300" /><img class="alignnone wp-image-174 size-medium" title="Tre libri di Krstina Hanzic | libro I-Di cosa hai paura?" src="http://www.krstinahanzic.eu/wp-content/uploads/2017/01/copertina-libro-I-Di-cosa-hai-paura-187x300.jpg" alt="" width="187" height="300" /><img class="alignnone size-medium wp-image-180" src="http://www.krstinahanzic.eu/wp-content/uploads/2018/05/copertina-libro-III-Infinitum-187x300.jpg" alt="" width="187" height="300" /></a><img class="alignnone wp-image-177 size-medium" title="Tre libri di Krstina Hanzic | libro II-Viandanti" src="http://www.krstinahanzic.eu/wp-content/uploads/2017/01/copertina-libro-II-Viandanti-205x300.jpg" alt="" width="205" height="300" />

    Your code appears to be something like this:

    <a href="http://www.krstinahanzic.eu/prodotto/geomantjia/" rel="nofollow">
    		<img src="http://www.krstinahanzic.eu/wp-content/uploads/2017/02/Geomantija-185x300.jpg" alt="" width="185" height="300">
    		<img src="http://www.krstinahanzic.eu/wp-content/uploads/2017/01/copertina-libro-I-Di-cosa-hai-paura-187x300.jpg" alt="" width="187" height="300">
    		<img src="http://www.krstinahanzic.eu/wp-content/uploads/2018/05/copertina-libro-III-Infinitum-187x300.jpg" alt="" width="187" height="300">
    	</a>

    Instead, it should be :

    <a href="http://www.krstinahanzic.eu/prodotto/geomantjia/" rel="nofollow">
    	<img src="http://www.krstinahanzic.eu/wp-content/uploads/2017/02/Geomantija-185x300.jpg" alt="" width="185" height="300">
    </a>	
    <a href="LINK_TO_COPERTINO_LIBRO-I" rel="nofollow">	
    	<img src="http://www.krstinahanzic.eu/wp-content/uploads/2017/01/copertina-libro-I-Di-cosa-hai-paura-187x300.jpg" alt="" width="187" height="300">
    </a>	
    <a href="LINK_TO_COPERTINO_LIBRO-III" rel="nofollow">	
    	<img src="http://www.krstinahanzic.eu/wp-content/uploads/2018/05/copertina-libro-III-Infinitum-187x300.jpg" alt="" width="187" height="300"></a>
    </a>

    Ok, if I well understood, it missed “ to close cycle?
    and the other codes like “a ref…”

    Oh the underscores too!

    • This reply was modified 1 year, 6 months ago by andreasun.
    • This reply was modified 1 year, 6 months ago by andreasun.

    If you want each image to point to a different book/post, then yes, each <img> should be surrounded by a separate <a> tag

    Ok, I’m trying to fix it now.
    Thank you Shariq…

    Sorry but the <img class="alignnone size-medium wp-image-104" part, is missed in your code, just before the “src” part. It’s correct?

    So the title="Tre libri di Krstina Hanzic | libro I-Di cosa hai paura?" part too, like others.

    • This reply was modified 1 year, 6 months ago by andreasun.
    • This reply was modified 1 year, 6 months ago by andreasun.

    While the title="Tre libri di Krstina Hanzic | libro I-Di cosa hai paura?" is not mandatory, it is good to have.
    So it is better to put it there.

    So the update code should be like:

    <a href="http://www.krstinahanzic.eu/prodotto/geomantjia/"  rel="nofollow">
    	<img class="alignnone size-medium wp-image-104" src="http://www.krstinahanzic.eu/wp-content/uploads/2017/02/Geomantija-185x300.jpg" alt="" width="185" height="300" />
    </a>
    
    <a href="LINK_TO_COPERTINO_LIBRO-I" rel="nofollow">	
    	<img class="alignnone wp-image-174 size-medium" title="Tre libri di Krstina Hanzic | libro I-Di cosa hai paura?" src="http://www.krstinahanzic.eu/wp-content/uploads/2017/01/copertina-libro-I-Di-cosa-hai-paura-187x300.jpg" alt="" width="187" height="300" />
    </a>
    
    <a href="LINK_TO_COPERTINO_LIBRO-III" rel="nofollow">		
    	<img class="alignnone size-medium wp-image-180" src="http://www.krstinahanzic.eu/wp-content/uploads/2018/05/copertina-libro-III-Infinitum-187x300.jpg" alt="" width="187" height="300" />
    </a>
    
    <a href="LINK_TO_COPERTINO_LIBRO-II" rel="nofollow">		
    	<img class="alignnone wp-image-177 size-medium" title="Tre libri di Krstina Hanzic | libro II-Viandanti" src="http://www.krstinahanzic.eu/wp-content/uploads/2017/01/copertina-libro-II-Viandanti-205x300.jpg" alt="" width="205" height="300" />
    </a>

    Sorry but I did not understand the first part on the title “non-mandatory”.

    However I had tried just as you write me now, and now work 3 out of 4! (Thank you). What does not work is the “book III-Infinitum”. What happens?

    If I wanted to change the sequence of these miniatures, would it be enough to cut from <a> and paste before or after what interests me?

    Sorry but I did not understand the first part on the title “non-mandatory”.

    Non-mandatory means, it is not compulsory.

    What does not work is the “book III-Infinitum”. What happens?

    I think that is because the link you have given there is wrong. It should be `http://www.krstinahanzic.eu/prodotto/tre-libri-di-krstina-hanzic-libro-iii-infinitum/
    `

    If I wanted to change the sequence of these miniatures, would it be enough to cut from ‘‘ and paste before or after what interests me?

    Yes, that should do the trick.

    Ok I try.
    Thank you

    Great! Now it works! It’s just what you said…

    I have another problem within the menu page. Can I write it here?
    Eventually could you move this second part to another discussion?

    • This reply was modified 1 year, 6 months ago by andreasun.
    • This reply was modified 1 year, 6 months ago by andreasun.
Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Difficulty with the miniatures of my products for sale’ is closed to new replies.