Tip! How to use CSS to stop floating images from wiki/adventure log posts messing up search results

ElMuggs
ElMuggs

Just a tip that if you use the align left/right options on images on wiki/adventure logs the float css can cause them to misbehave on search results like this: 

image

To solve this just add the below CSS which will hide any images in search result descriptions:


.campaign-search-page .result img
{display:none;
}

This will hide these pictures fixing the problem:

image

Meanwhile the images will still display as normal on the full page.

image

DM of The Domains of Dread Council Meeting (...a Comedic Misadventure though the mists of a re-imagined Ravenloft! ) - COTM Feb 2023! 

Comments

Sign In or Register to comment.

February 2023
The Domain of Dread Council Meeting

Read the feature post on the blog
Return to Obsidian Portal

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Discussions