Skip to content

CSS code snippet – How to add custom html and in wordpress?

/* I have just tried running your code on a fresh WordPress install with 
the Neve theme installed. Its all working correctly, except do not use .
container as a class for the flex box, instead use something like .
container-flex.
.container is already assigned to some HTML in the Neve theme.
I was unable to gain access to the site you want to use this on. But if you 
just need to add this onto a page, use the Custom HTML block, paste in your 
HTML code and save the page. */

<span> <div class ="container-flex">
	<div class ="box-zeeland" > Zeeland   </div>
  <div class ="box-normandie" > Normandy </div>
  <div class ="box-roffa" > Rotterdam </div>
  <div class ="box-Valencia" > Valencia  </div>
  <div class ="box-Adam" > Amsterdam </div>
  <div class ="overlay" > </div>
	</div> 
</span>

/* Then click on Customize > Additional CSS, and paste your CSS code in there 
and click Publish. Then your code should work as intended.*/
See also  Python code snippet - How to read video in opencv ?
, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.