how to add custom html and css in wordpress

Solutions on MaxInterview for how to add custom html and css in wordpress by the best coders in the world

showing results for - "how to add custom html and css in wordpress"
Alessandra
18 Mar 2016
1/* I have just tried running your code on a fresh WordPress install with 
2the Neve theme installed. Its all working correctly, except do not use .
3container as a class for the flex box, instead use something like .
4container-flex.
5.container is already assigned to some HTML in the Neve theme.
6I was unable to gain access to the site you want to use this on. But if you 
7just need to add this onto a page, use the Custom HTML block, paste in your 
8HTML code and save the page. */
9
10<span> <div class ="container-flex">
11	<div class ="box-zeeland" > Zeeland   </div>
12  <div class ="box-normandie" > Normandy </div>
13  <div class ="box-roffa" > Rotterdam </div>
14  <div class ="box-Valencia" > Valencia  </div>
15  <div class ="box-Adam" > Amsterdam </div>
16  <div class ="overlay" > </div>
17	</div> 
18</span>
19
20/* Then click on Customize > Additional CSS, and paste your CSS code in there 
21and click Publish. Then your code should work as intended.*/