Using block tags on Pages / Posts with Amazon products

Posted in: Newspaper
Post count: 77

Hi. I’m trying to use block elements to separate Amazon products into sections on pages/posts. For example, use hr elements to separate rows of products contained in brackets (See example below). I tried adding CSS in Theme options hr { display:block; } and inline css on pages but nothing seems to work. The block elements work in other themes.

Example Amazon product code:

[amazon_link asins=’B07RNYMFY7′ template=’ProductAd’ store=’hdrep-20′ marketplace=’US’ link_id=’c9730ffd-69ea-4b59-b6a6-5d083a9d9163′]

See pick below:

https://imgur.com/a/bVzi9XQ

Post count: 77

I realize this must have something to do with the Amazon product code in brackets since plain text works OK with an <hr> as block items.

Post count: 35449

Hi,

If there is still a problem, please provide me a link where I can check those Amazon products.

Thank you!

Post count: 77

Hi yes this is still a problem. It works OK with other WordPress themes. Please see https://hd-report.com/pre-orders/4k-blu-ray/

Post count: 35449

Hi,

Please provide me a link where I can check this problem, maybe there is a custom css stronger that the one that you apply with <hr>, in this way I will be able to provide to you an working answer.

Thank you for your understanding!

Post count: 77

This might be solved. I used a clear method since block elements don’t seem to be acting like blocks.

<hr style=”clear:both;” />

pushes all content below hr. This can probably be used for divs, paragraphs, headers, or other block elements as well.

Post count: 35449

Hello,

Yes, this inline style set on hr seams to work.

Have a nice day!

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.