speedway
Well-known member
Hi all
I am just working on replacing my theme and have come across a small issue with in post adverts. I am using code to place an advert into the first post on the page, that works fine. However, if there is a quote in that post the advert will overlay it.
Is there a way to dynamically assign a width to the quote block when it appears in a certain post position, something like
if post # = 0
set style width for quote to 75%
else
do nothing
end if
I am just working on replacing my theme and have come across a small issue with in post adverts. I am using code to place an advert into the first post on the page, that works fine. However, if there is a quote in that post the advert will overlay it.
Is there a way to dynamically assign a width to the quote block when it appears in a certain post position, something like
if post # = 0
set style width for quote to 75%
else
do nothing
end if