You don't. Something is "irrelevant" or "useless" maybe, but irrelevantly (much like "irregardlessly") is not a word.
Irrelevantly is not only a word but it is an adverb, irrespective of what you've heard. Irrelevant is an adjective. The normal way to change an adjective into an adverb is to add ly to the end. Here is your example sentence.
He broke the jar of mayonnaise, with the contents spilling all over the floor and then irrelevantly replaced the lid.
i can put nomad in a sentence
How do you put disease in a sentence
can you put "leadership" in sentence
You have just put this into a sentence.
How do you put dissent in a sentence How do you put dissent in a sentence
You put a period at the end of the sentence to indicate that the sentence has ended.
Yes, I can put Ornithology in a sentence.
put affection into a sentence.
Yes, I can put alliance in a sentence.
you have just put it in a sentence....
No, i will not put Chrysanthemum in a sentence. There done
yes you can put in a sentence