Hi there,
the <code>
block is for showing code on your website.
If you wanat to add code such as <link>
<style>
<script>
to your site then:
1. Use a Hook Element:
https://docs.generatepress.com/article/block-element-hook/
2. You can add any code you need within the hook text area.
3. Choose either of these hooks for adding code.
i) wp_head
for inserting code into the <head>
of your site. best used for <link>
and <styles>
ii) wp_footer
for inserting code into the footer
of your site. Best for <scripts>
that have to be loaded after HTML.
4. Set the Display Rules for your Products
DO NOT Add this kind of code:
<!DOCTYPE html>
<html>
<head>
<meta name= "viewport"
The theme already does that and you don’t want duplicates of those.