{"id":96,"date":"2025-03-17T12:52:52","date_gmt":"2025-03-17T12:52:52","guid":{"rendered":"https:\/\/designmall.wpenginepowered.com\/?page_id=96"},"modified":"2025-11-18T07:44:41","modified_gmt":"2025-11-18T07:44:41","slug":"designmall-documentation","status":"publish","type":"page","link":"https:\/\/pronovaab.se\/en\/dokumentation-designmall\/","title":{"rendered":"Dokumentation designmall"},"content":{"rendered":"<div class=\"et_pb_section_0 et_pb_section et_section_regular et_block_section preset--module--divi-section--default\"><div class=\"et_pb_row_0 et_pb_row et_pb_gutters1 et_block_row preset--module--divi-row--default\"><div class=\"et_pb_column_0 et_pb_column et_pb_column_4_4 et-last-child et_block_column et_pb_css_mix_blend_mode_passthrough\"><div class=\"et_pb_text_0 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p class=\"text-label\"><span style=\"text-decoration: underline;\">Cloud 1 2025<\/span><\/p>\n<h1>Design Template Documentation<\/h1>\n<\/div><\/div><div class=\"et_pb_text_1 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p>Here we find documentation and descriptions of functions\/design\/CSS present in our design template.<\/p>\n<p>When a new client wants a website, the idea is that we can start from this template where all the design, plugins, and other tools are already prepared and installed. When the design is finished\/is to be launched, it's important to remove any CSS that is not being used so that it doesn't slow down the website's loading time.<\/p>\n<\/div><\/div><\/div><\/div><\/div><div class=\"et_pb_section_1 et_pb_section et_section_regular et_block_section preset--module--divi-section--default\"><div class=\"et_pb_row_1 et_pb_row et_pb_gutters1 et_block_row preset--module--divi-row--default\"><div class=\"et_pb_column_1 et_pb_column et_pb_column_4_4 et-last-child et_block_column et_pb_css_mix_blend_mode_passthrough\"><div class=\"et_pb_text_2 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\" id=\"crashcourse\"><div class=\"et_pb_text_inner\"><h2>CSS\/HTML crash course<\/h2>\n<p>All websites are, in essence, built in <strong>HTML (HyperText Markup Language)<\/strong>. This is the HTML that forms the structure\/skeleton of a website. This skeleton then gets its design with the help of <strong>CSS (Cascading Style Sheets)<\/strong>.<\/p>\n<p><strong>HTML elements are built from \"tags\". There is usually a start tag and an end tag:<\/strong><\/p>\n<\/div><\/div><div class=\"et_pb_text_3 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p>Rubric<br \/><span style=\"text-decoration: underline; color: #ff9900;\"><strong>&lt;h2&gt;Welcome to us&lt;\/h2&gt;<\/strong><\/span><\/p>\n<p>Body text<br \/><span style=\"text-decoration: underline; color: #ff9900;\"><strong>&lt;p&gt;Here we have a paragraph that contains some text&lt;\/p&gt;<\/strong><\/span><\/p>\n<\/div><\/div><div class=\"et_pb_text_4 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p>\"Boxes that build up the frame and surround different elements<br \/><span style=\"text-decoration: underline; color: #ff9900;\"><strong>&lt;div&gt;<\/strong><\/span><br \/><strong><span style=\"text-decoration: underline; color: #ff9900;\">&lt;p&gt;Paragraph that is in a div&lt;\/p&gt;<\/span><\/strong><br \/><span style=\"text-decoration: underline; color: #ff9900;\"><strong>&lt;\/div&gt;<\/strong><\/span><\/p>\n<\/div><\/div><div class=\"et_pb_text_5 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p>In CSS, you can create classes with different styles that you can then apply to HTML elements so that the element will get the style from the class. For example:<\/p>\n<\/div><\/div><div class=\"et_pb_text_6 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p><strong>Below we can see a p-tag (body text) that has the class .text<\/strong><\/p>\n<\/div><\/div><div class=\"et_pb_text_7 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p><span style=\"text-decoration: underline; color: #ff9900;\"><strong>&lt;p class=&quot;text&quot;&gt;This is an important text!&lt;\/p&gt;<\/strong><\/span><\/p>\n<\/div><\/div><div class=\"et_pb_text_8 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p><strong>CSS<\/strong><\/p>\n<\/div><\/div><div class=\"et_pb_text_9 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p><span style=\"text-decoration: underline; color: #ff9900;\"><strong>.text {<br \/>color: red;<br \/>font-size: 17px;<br \/>}<\/strong><\/span><\/p>\n<\/div><\/div><div class=\"et_pb_text_10 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p>In class <strong>.text<\/strong> we create designs that are applied to all elements with the class <strong>.text<\/strong>. In this case, the text will turn red. <strong>red<\/strong> and be 17px <strong>font-size: 17px;<\/strong> Store.<\/p>\n<\/div><\/div><div class=\"et_pb_text_11 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p><strong>An HTML element can have any number of classes.<br \/>The div element below has the classes .cards-wrapper, .w-50, and .card-1.<\/strong><\/p>\n<\/div><\/div><div class=\"et_pb_text_12 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p><span style=\"text-decoration: underline; color: #ff9900;\"><strong>&lt;div class=&quot;cards-wrapper w-50 card-1&quot;&gt;<br \/><\/strong><\/span><span style=\"text-decoration: underline; color: #ff9900;\"><strong>&lt;p class=&quot;text&quot;&gt;This is an important text!&lt;\/p&gt;<br \/>&lt;\/div&gt;<\/strong><\/span><\/p>\n<\/div><\/div><div class=\"et_pb_text_13 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p><strong>CSS<\/strong><\/p>\n<\/div><\/div><div class=\"et_pb_text_14 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p><strong>display: flex; activates Flexbox<\/strong> which makes it easy to adjust and position elements in a container\/div.<br \/><strong>flex-wrap: wrap;<\/strong> Make all elements always have the same height.<br \/><span style=\"text-decoration: underline; color: #ff9900;\"><strong>.cards-wrapper {<br \/>display: flex;<br \/><\/strong><\/span><span style=\"text-decoration: underline; color: #ff9900;\"><strong>flex-wrap: wrap;<br \/>}<\/strong><\/span><\/p>\n<p><strong>.w-50 is short for &quot;width 50%&quot;\"<\/strong> which means that all columns\/cards preceding this class will be 50%. Later, we can also see <strong>.w-33, w.25<\/strong> or representatives of other latitudes.<br \/><span style=\"text-decoration: underline; color: #ff9900;\"><strong>.w50 {<br \/><span>width: calc((100% \/ 2) - 20px);<\/span><br \/>}<\/strong><\/span><\/p>\n<p><strong>.card-1 is a class that represents an individual design.<\/strong> In the code below, we give the h3 tag a text size of 21px. All h3 words within a div with this class will get the same text size.<br \/><span style=\"text-decoration: underline; color: #ff9900;\"><strong>.card-1 h3 {<br \/><span>font-size: 21px;<\/span><br \/>}<\/strong><\/span><\/p>\n<\/div><\/div><div class=\"et_pb_text_15 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p><strong>When naming a class, it's a good idea to think about how it can be reused.<\/strong> as much as possible. In the example above, we can see that the names often describe what they do and that they are not tied to a specific content like services\/employees\/contact, etc.\u00a0<\/p>\n<p>It's so I don't have to name a class <strong>.cards-services<\/strong> which is also used during contact.<\/p>\n<\/div><\/div><div class=\"et_pb_text_16 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p><span style=\"text-decoration: underline; color: #ff9900;\"><strong>&lt;div class=&quot;cards-wrapper w-50 card-1&quot;&gt;<br \/><\/strong><\/span><span style=\"text-decoration: underline; color: #ff9900;\"><strong>&lt;p class=&quot;text&quot;&gt;This is an important text!&lt;\/p&gt;<br \/>&lt;\/div&gt;<\/strong><\/span><\/p>\n<\/div><\/div><div class=\"et_pb_text_17 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p>When an element has multiple classes, you can also \"pair\" the classes in CSS like this:<\/p>\n<\/div><\/div><div class=\"et_pb_text_18 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p><span style=\"text-decoration: underline; color: #ff9900;\"><strong>.cards-wrapper.w-50 .et_pb_column {<br \/>\n    width: calc((100% \/ 2) - 20px);<br \/>\n    margin: 10px;<br \/>\n}<\/strong><\/span><\/p>\n<\/div><\/div><div class=\"et_pb_text_19 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p>As we can see, it says <strong>.cards-wrapper.w-50<\/strong> which essentially means that w.50 doesn't work without .cards-wrapper. <strong>Cards-wrapper allows the elements to be positioned<\/strong> och <strong>.w-50 tells how they should be positioned<\/strong><\/p>\n<p>For the element <strong>.et_pb_column<\/strong> which has a space after .w-50 means that <strong>this element is inside<\/strong> the elements with the class .w-50. It doesn't need to be the next direct element, but it's still inside.<\/p>\n<p>Below you can see what it looks like in Divi:<\/p>\n<\/div><\/div><div class=\"et_pb_text_20 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p>&lt;div class=&quot;et_pb_row et_pb_row_20 <span style=\"text-decoration: underline; color: #ff9900;\"><strong>cards-wrapper w-50<\/strong><\/span> et_pb_equal_columns\"&gt;<\/p>\n<p><strong>Column 1<\/strong><br \/>&lt;div class=&quot;et_pb_column_1_2 <span style=\"text-decoration: underline; color: #ff9900;\"><strong>et_pb_column<\/strong><\/span> et_pb_column_39 et_pb_css_mix_blend_mode_passthrough\"&gt;<\/p>\n<p><strong>Text module<\/strong><br \/>&lt;div class=&quot;et_pb_module et_pb_text et_pb_text_49 et_pb_text_align_left et_pb_bg_layout_light&quot;&gt;<br \/>&lt;div class=&quot;et_pb_text_inner&quot;&gt;<\/p>\n<p><strong>paragraph tag<\/strong><br \/>&lt;p&gt;Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa.&lt;\/p&gt;<br \/>&lt;\/div&gt;<br \/>&lt;\/div&gt;<\/p>\n<p>&lt;div class=&quot;et_pb_module et_pb_text et_pb_text_50 et_pb_text_align_left et_pb_bg_layout_light&quot;&gt;<br \/>&lt;\/div&gt;<br \/>&lt;\/div&gt;<\/p>\n<p><strong>Column 2<\/strong><br \/>&lt;div class=&quot;et_pb_column_1_2 <span style=\"text-decoration: underline; color: #ff9900;\"><strong>et_pb_column<\/strong><\/span> et_pb_column_39 et_pb_css_mix_blend_mode_passthrough\"&gt;<\/p>\n<p><strong>Text module<\/strong><br \/>&lt;div class=&quot;et_pb_module et_pb_text et_pb_text_51 et_pb_text_align_left et_pb_bg_layout_light&quot;&gt;<br \/>&lt;div class=&quot;et_pb_text_inner&quot;&gt;<\/p>\n<p><strong>paragraph tag<\/strong><br \/>&lt;p&gt;Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa.&lt;\/p&gt;<br \/>&lt;\/div&gt;<br \/>&lt;\/div&gt;<\/p>\n<p>&lt;div class=&quot;et_pb_module et_pb_text et_pb_text_52 et_pb_text_align_left et_pb_bg_layout_light&quot;&gt;<br \/>&lt;\/div&gt;<br \/>&lt;\/div&gt;<br \/>&lt;\/div&gt;<\/p>\n<\/div><\/div><\/div><\/div><div class=\"et_pb_row_2 et_pb_row et_pb_gutters1 et_block_row preset--module--divi-row--default\" id=\"add-class\"><div class=\"et_pb_column_2 et_pb_column et_pb_column_4_4 et-last-child et_block_column et_pb_css_mix_blend_mode_passthrough\"><div class=\"et_pb_text_21 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><h2>CSS + Divi = <i class=\"fa-solid fa-heart\" style=\"color: red;\"><\/i><\/h2>\n<p><strong>All classes that affect layout should be placed in the green section.<\/strong> If it is placed on the blue section, it will affect the position of all elements located within it. For example, the `cards-wrapper w-50` class, which sets the columns to 50%, should be placed on a green section with two columns inside it. This means we only need to apply the class in one place, rather than to each individual column.<\/p>\n<p>On the other hand, <strong>classes that only affect the design of a single element should be added to the black section<\/strong>. This includes, for example, the design of buttons.<\/p>\n<p><strong>The goal is to avoid having to add the class in unnecessarily many places at all times.<\/strong>. If you have three columns with a button design, you might think it's more worthwhile to add the class once to the green section instead of adding it individually to all columns.<\/p>\n<p><strong>In CSS, classes have a period in front of them, but when you add a class in Divi, you add it without the period.<\/strong><\/p>\n<p>Here's how to add a class in Divi.<br \/><strong>Go to Settings &gt; Advanced. The class you add to \"CSS Class\".\"<\/strong><\/p>\n<\/div><\/div><div class=\"et_pb_image_0 et_pb_image et_pb_module et_flex_module\"><span class=\"et_pb_image_wrap\"><img decoding=\"async\" src=\"https:\/\/pronovaab.se\/wp-content\/uploads\/2025\/03\/css-klass-divi.jpg\" title=\"CSS class Divi\" \/><\/span><\/div><div class=\"et_pb_text_22 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p>Above, you can see that there's a field for CSS Class and one for CSS ID.<br \/>The difference between these is that you can only have an ID on one element, while a class can be on as many elements as you want. Since we try to reuse as much code as possible, we always work with classes.<br \/>However, the ID can be used when linking to a specific section. In that case, you assign a unique ID to the section\u2014for example, &quot;services&quot;\u2014and then link to #services<\/p>\n<\/div><\/div><\/div><\/div><\/div><div class=\"et_pb_section_2 et_pb_section et_section_regular et_block_section preset--module--divi-section--default\"><div class=\"et_pb_row_3 et_pb_row et_pb_gutters1 et_block_row preset--module--divi-row--default\" id=\"ny-design\"><div class=\"et_pb_column_3 et_pb_column et_pb_column_4_4 et-last-child et_block_column et_pb_css_mix_blend_mode_passthrough\"><div class=\"et_pb_text_23 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><h2>Start from the design template<\/h2>\n<p>When you've created a copy of the design template to start a new website, there are a few things that are good to start with: fonts, color, and shape.<\/p>\n<\/div><\/div><\/div><\/div><div class=\"et_pb_row_4 et_pb_row et_pb_gutters1 et_block_row preset--module--divi-row--default\"><div class=\"et_pb_column_4 et_pb_column et_pb_column_4_4 et-last-child et_block_column et_pb_css_mix_blend_mode_passthrough\"><div class=\"et_pb_text_24 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><h3>Change color and shape to new customer<\/h3>\n<p><strong>1.<\/strong> You change the font directly in Divi, just like usual.<br \/><strong>Appearance &gt; Customize &gt; General Settings &gt; Typography<br \/><\/strong><br \/><strong>2.<\/strong> You change the color in two places. In Divi, you change the global color that is already there. <br \/><strong><span style=\"color: #33cccc;\">Blue = primary<br \/><\/span><\/strong><strong><span style=\"color: #99cc00;\">Green = secondary<\/span><\/strong>. <br \/>You also need to change the top of the CSS file. The code that now looks like this below is for different variables. You could say that, just like in Divi, this makes <strong>The colors are becoming global<\/strong>. The colors will always be fetched from here. Instead of writing <strong>rgb (color: rgb(255 153 0);)<\/strong> or <strong>HEX (color: #ff9900;)<\/strong> which means you have to enter the colors individually and risk the colors not being consistent, you enter instead <strong>variable color: rgb(var(--primary-color));<\/strong>. D\u00e5 h\u00e4mtas f\u00e4rgen fr\u00e5n --primary-color: 0, 138, 207; ist\u00e4llet.<\/p>\n<p><strong>The colors of the variables are written in RGB, so you just change the color to the one you want among the numbers.<br \/><\/strong>See below:<\/p>\n<\/div><\/div><div class=\"et_pb_text_25 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p><strong>:root {<\/strong><br \/>\n\/* Colors *\/<br \/>\n<span style=\"text-decoration: underline; color: #ff9900;\"><strong>--primary-color: 0, 138, 207;<\/strong><\/span><br \/>\n<span style=\"text-decoration: underline; color: #ff9900;\"><strong>--secondary-color: 186, 211, 108;<\/strong><\/span><\/p>\n<p>--gray-light-color: 245, 245, 245;<br \/>\n--black-color: 0, 0, 0;<br \/>\n--white-color: 255, 255, 255;<\/p>\n<p>\/* Typography *\/<br \/>\n--base-size: 16px;<br \/>\n<strong>}<\/strong><\/p>\n<\/div><\/div><div class=\"et_pb_text_26 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p><strong>3.<\/strong> Form. When it comes to form, I'm primarily referring to the shape of the buttons. Should they be rounded or angular? Choose what best suits the company's graphic profile. You change this in the CSS file in what is called \"<strong>border-radius<\/strong>\". Here you write how many px you want the border to be rounded.<\/p>\n<\/div><\/div><div class=\"et_pb_text_27 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p>\/* Buttons, design *\/<br \/><strong>.et_pb_contact_submit,<\/strong><br \/><strong>.btn a,<\/strong><br \/><strong>.btn .et_pb_text_inner a {<\/strong><br \/>min-width: 140px;<br \/>padding: 13px 30px !important;<br \/>font-weight: 600;<br \/>text-align: center;<br \/>text-decoration: none;<br \/>transition: all .4s ease;<br \/>display: inline-block;<br \/>text-decoration: none;<br \/>letter-spacing: 1px;<br \/>font-size: 15px !important;<br \/><span style=\"text-decoration: underline; color: #ff9900;\"><strong>border-radius: 40px;<\/strong><\/span><br \/><strong>}<\/strong><\/p>\n<\/div><\/div><\/div><\/div><div class=\"et_pb_row_5 et_pb_row et_pb_gutters1 et_block_row preset--module--divi-row--default\"><div class=\"et_pb_column_5 et_pb_column et_pb_column_4_4 et-last-child et_block_column et_pb_css_mix_blend_mode_passthrough\"><div class=\"et_pb_text_28 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><h2>Common classes<\/h2>\n<p>Some of the most common classes we use are button design, image + text, and sections with 2-4 cards.<\/p>\n<\/div><\/div><div class=\"et_pb_text_29 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\" id=\"knappar\"><div class=\"et_pb_text_inner\"><h3>Buttons<\/h3>\n<p>When designing a button, you essentially use two classes:<\/p>\n<p><strong>.btn<\/strong> - Basic design and structure applicable to all buttons<strong><br \/><\/strong><strong>.btn-primary-filled<\/strong> Individual color for the button<\/p>\n<p>Classes <strong>.btn<\/strong> represents the structure &amp; basic design of the button itself. Font, text size, margins, etc. Everything except the color, you could say.<br \/>The next class will add the remaining design, the color. The color will be taken from the global color in the variables we talked about earlier.<\/p>\n<p><strong>The classes are added to a text block that contains a link.<\/strong><\/p>\n<p><span style=\"text-decoration: underline; color: #ff9900;\"><strong>.btn-primary-filled<\/strong><\/span><br \/>Filled button with primary color<\/p>\n<\/div><\/div><div class=\"et_pb_image_1 et_pb_image et_pb_module et_flex_module\"><span class=\"et_pb_image_wrap\"><img decoding=\"async\" src=\"https:\/\/pronovaab.se\/wp-content\/uploads\/2025\/03\/btn-primary-filled.png\" title=\"btn-primary-filled\" \/><\/span><\/div><div class=\"et_pb_text_30 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\" id=\"knappar\"><div class=\"et_pb_text_inner\"><p><span style=\"text-decoration: underline; color: #ff9900;\"><strong>.btn-primary-border<\/strong><\/span><br \/>Transparent background with text and border in the primary color<\/p>\n<\/div><\/div><div class=\"et_pb_image_2 et_pb_image et_pb_module et_flex_module\"><span class=\"et_pb_image_wrap\"><img decoding=\"async\" src=\"https:\/\/pronovaab.se\/wp-content\/uploads\/2025\/03\/btn-primary-border.png\" title=\"btn-primary-border\" \/><\/span><\/div><div class=\"et_pb_text_31 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\" id=\"knappar\"><div class=\"et_pb_text_inner\"><p>The same design is available for:<br \/><span style=\"text-decoration: underline; color: #ff9900;\"><strong>.btn-secondary-filled<\/strong><br \/><strong>.btn-secondary-border,<\/strong><br \/><strong>.btn-white-filled,<\/strong><br \/><strong>.btn-white-border<\/strong><\/span><\/p>\n<p>The names above speak for themselves.<\/p>\n<p><span style=\"text-decoration: underline; color: #ff9900;\"><strong>.btn-wrapper<\/strong><\/span><br \/>Add a margin above the button if it's too close to the text above.<\/p>\n<\/div><\/div><div class=\"et_pb_text_32 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><h3>Change button text color<\/h3>\n<p>If you want to change the text color of a button, you do it in the code below.<br \/>\nYou can use any of the previous variables or a completely separate color.<\/p>\n<\/div><\/div><div class=\"et_pb_text_33 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p>\/* btn-primary-filled *\/<br \/><strong>.btn-primary-filled .et_pb_text_inner a,<br \/>.btn-primary-border .et_pb_text_inner a:hover {<\/strong><br \/>background-color: rgba(var(--primary-color));<br \/>border: 2px solid rgb(var(--primary-color));<br \/><span style=\"text-decoration: underline; color: #ff9900;\"><strong>color: rgb(var(--white-color));<\/strong><\/span><br \/><strong>}<\/strong><\/p>\n<p>The primary button with a border.<br \/><strong>.btn-primary-border .et_pb_text_inner a,<br \/>.btn-primary-filled .et_pb_text_inner a:hover {<\/strong><br \/>background-color: transparent;<br \/>border: 2px solid rgb(var(--primary-color)) !important;<br \/><span style=\"text-decoration: underline; color: #ff9900;\"><strong>color: rgb(var(--primary-color));<\/strong><\/span><br \/><strong>}<\/strong><\/p>\n<p>\/* btn-secondary-filled *\/<br \/><strong>.btn-secondary-filled .et_pb_text_inner a,<br \/>.btn-secondary-border .et_pb_text_inner a:hover {<\/strong><br \/>background-color: rgb(var(--secondary-color));<br \/>border: 2px solid rgb(var(--secondary-color));<br \/><span style=\"text-decoration: underline; color: #ff9900;\"><strong>color: rgb(var(--white-color));<\/strong><\/span><br \/><strong>}<\/strong><\/p>\n<p>\/* btn-secondary-border *\/<br \/><strong>.btn-secondary-border .et_pb_text_inner a,<br \/>.btn-secondary-filled .et_pb_text_inner a:hover {<\/strong><br \/>background-color: transparent;<br \/>border: 2px solid rgb(var(--secondary-color));<br \/><span style=\"text-decoration: underline; color: #ff9900;\"><strong>color: rgb(var(--secondary-color));<\/strong><\/span><br \/><strong>}<\/strong><\/p>\n<\/div><\/div><div class=\"et_pb_text_34 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\" id=\"overlay\"><div class=\"et_pb_text_inner\"><h3>Overlay<\/h3>\n<p>If you want a dark overlay, there are two classes you can use:<\/p>\n<p><strong>.overlay-dark<\/strong><br \/><strong>.overlay-light<\/strong><\/p>\n<p>These can be on any element<\/p>\n<\/div><\/div><div class=\"et_pb_text_35 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\" id=\"kort-bredd\"><div class=\"et_pb_text_inner\"><h3>Columns of different widths<\/h3>\n<p>When creating a section with multiple columns, it's good practice to always add classes that adjust the width and margins. This ensures that all sections with columns have consistent margins and responsiveness.<\/p>\n<p><strong>.cards-wrapper<\/strong> - Base code to be able to add width<br \/><strong>.width: 50%<\/strong> - Sets the width; in this case, the columns will be 50%<\/p>\n<p>.cards-wrapper is always used while .w-50 is replaced with the width you want. For example:<\/p>\n<p><strong>.width: 30%<\/strong> - 3 columns, 33% width<br \/><strong>.w-25<\/strong> - 4 columns, 25% wide<\/p>\n<p>So if you want a section with 3 columns, do you add the spaces <strong>cards-wrapper w-33<\/strong> on the green section.<\/p>\n<\/div><\/div><div class=\"et_pb_text_36 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\" id=\"kort\"><div class=\"et_pb_text_inner\"><h3>Columns to brief<\/h3>\n<h4>Height + color of columns<\/h4>\n<p>If you are going to change the background colors of the columns, it is always good to set the same height for all columns.<\/p>\n<\/div><\/div><div class=\"et_pb_image_3 et_pb_image et_pb_module et_flex_module\"><span class=\"et_pb_image_wrap\"><img decoding=\"async\" src=\"https:\/\/pronovaab.se\/wp-content\/uploads\/2025\/03\/equal-height.jpg\" title=\"equal-height\" \/><\/span><\/div><div class=\"et_pb_text_37 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\" id=\"overlay\"><div class=\"et_pb_text_inner\"><p>When changing the background color, do it via the green section.<\/p>\n<\/div><\/div><div class=\"et_pb_image_4 et_pb_image et_pb_module et_flex_module\"><span class=\"et_pb_image_wrap\"><img decoding=\"async\" src=\"https:\/\/pronovaab.se\/wp-content\/uploads\/2025\/03\/korrigera-kolumner.jpg\" title=\"correct-columns\" \/><\/span><\/div><\/div><\/div><\/div><div class=\"et_pb_section_3 et_pb_section et_section_regular et_block_section preset--module--divi-section--default\"><div class=\"et_pb_row_6 et_pb_row et_pb_gutters1 et_block_row preset--module--divi-row--default\" id=\"top-sections\"><div class=\"et_pb_column_6 et_pb_column et_pb_column_4_4 et-last-child et_block_column et_pb_css_mix_blend_mode_passthrough\"><div class=\"et_pb_text_38 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><h2>Top section<\/h2>\n<p>On all top sections, you can easily set the height and background image\/video yourself.<br \/>What needs to be set is text size, font, and possibly the maximum width of the body text.<\/p>\n<\/div><\/div><\/div><\/div><div class=\"et_pb_row_7 et_pb_row et_pb_gutters1 et_block_row preset--module--divi-row--default\"><div class=\"et_pb_column_7 et_pb_column et_pb_column_4_4 et-last-child et_block_column et_pb_css_mix_blend_mode_passthrough\"><div class=\"et_pb_text_39 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><h3>Top-section-1<\/h3>\n<\/div><\/div><div class=\"et_pb_image_5 et_pb_image et_pb_module et_flex_module\"><span class=\"et_pb_image_wrap\"><img decoding=\"async\" src=\"https:\/\/pronovaab.se\/wp-content\/uploads\/2025\/03\/top-section-1.png\" title=\"top-section-1\" \/><\/span><\/div><div class=\"et_pb_text_40 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p>The content is positioned with CSS to be at the bottom left.<br \/><strong>To resize h1:<\/strong><\/p>\n<\/div><\/div><div class=\"et_pb_text_41 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p>.top-section-1 h1 {<br \/><span style=\"text-decoration: underline; color: #ff9900;\"><strong>font-size: 50px !important;<\/strong><\/span><br \/>line-height: 1.1;<br \/>font-weight: 700;<br \/>}<\/p>\n<\/div><\/div><div class=\"et_pb_text_42 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p><strong>To place content centered to the left:<\/strong><\/p>\n<\/div><\/div><div class=\"et_pb_text_43 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p>.top-section-1 {<br \/>display: flex;<br \/>flex-wrap: wrap;<br \/><span style=\"text-decoration: underline; color: #ff9900;\"><strong>align-content: flex-end;<\/strong><\/span> change to <span style=\"text-decoration: underline; color: #ff9900;\"><strong>align-content: center;<\/strong><\/span><br \/>}<\/p>\n<\/div><\/div><div class=\"et_pb_text_44 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p><strong>To change the max-width of the body text<\/strong><\/p>\n<\/div><\/div><div class=\"et_pb_text_45 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p>.top-section-1 p {<br \/><span style=\"text-decoration: underline; color: #ff9900;\"><strong>max-width: 550px;<\/strong><\/span><br \/>}<\/p>\n<\/div><\/div><\/div><\/div><div class=\"et_pb_row_8 et_pb_row et_pb_gutters1 et_block_row preset--module--divi-row--default\"><div class=\"et_pb_column_8 et_pb_column et_pb_column_4_4 et-last-child et_block_column et_pb_css_mix_blend_mode_passthrough\"><div class=\"et_pb_text_46 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><h3>Top Section 2<\/h3>\n<\/div><\/div><div class=\"et_pb_image_6 et_pb_image et_pb_module et_flex_module\"><span class=\"et_pb_image_wrap\"><img decoding=\"async\" src=\"https:\/\/pronovaab.se\/wp-content\/uploads\/2025\/03\/top-section-2.png\" title=\"top-section-2\" \/><\/span><\/div><div class=\"et_pb_text_47 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p>The content is centered using CSS.<br \/><strong>To resize h1:<\/strong><\/p>\n<\/div><\/div><div class=\"et_pb_text_48 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p>.top-section-2 h1 {<br \/><span style=\"text-decoration: underline; color: #ff9900;\"><strong>font-size: 80px !important;<\/strong><\/span><br \/>line-height: 1.1;<br \/>font-weight: 700;<br \/>}<\/p>\n<\/div><\/div><div class=\"et_pb_text_49 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p><strong>To change the max-width of the body text<\/strong><\/p>\n<\/div><\/div><div class=\"et_pb_text_50 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p>.top-section-2 p {<br \/><span style=\"text-decoration: underline; color: #ff9900;\"><strong>max-width: 800px;<\/strong><\/span><br \/>margin: 0 auto;<br \/>}<\/p>\n<\/div><\/div><\/div><\/div><div class=\"et_pb_row_9 et_pb_row et_pb_gutters1 et_block_row preset--module--divi-row--default\" id=\"top-sections\"><div class=\"et_pb_column_9 et_pb_column et_pb_column_4_4 et-last-child et_block_column et_pb_css_mix_blend_mode_passthrough\"><div class=\"et_pb_text_51 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\" id=\"kort-bredd\"><div class=\"et_pb_text_inner\"><h2>Split-section<\/h2>\n<p>Simple section with two columns, image in one and text in the other. The image acts as a background image but is inserted as a regular image so that an alt tag can be provided, which is good for SEO. The only things that need correcting here are certain margins and possibly a background color.<\/p>\n<\/div><\/div><div class=\"et_pb_image_7 et_pb_image et_pb_module et_flex_module\"><span class=\"et_pb_image_wrap\"><img decoding=\"async\" src=\"https:\/\/pronovaab.se\/wp-content\/uploads\/2025\/03\/split.png\" title=\"split\" \/><\/span><\/div><\/div><\/div><div class=\"et_pb_row_10 et_pb_row et_pb_gutters1 et_block_row preset--module--divi-row--default\"><div class=\"et_pb_column_10 et_pb_column et_pb_column_4_4 et-last-child et_block_column et_pb_css_mix_blend_mode_passthrough\"><div class=\"et_pb_text_52 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\" id=\"kort-bredd\"><div class=\"et_pb_text_inner\"><h3>Standard Classes for Split Section<\/h3>\n<p>Fundamentally, 2 classes are used on a split section:<\/p>\n<p><strong>.split-section<\/strong> - all design for a split-section<br \/><strong>.split-content-align-center<\/strong> - center the text to the image<\/p>\n<p>Several classes that are useful and often paired with split-section:<\/p>\n<p><strong>.reverse<\/strong> - If the image is in the first column (left), this class must always be included. It ensures that the text always appears first when the columns are set to 100%.<\/p>\n<p><strong>Correct the margins<\/strong> on the text column (default is padding: 50px)<br \/><strong>.pr-0<\/strong> padding-right: 0px<br \/><strong>.pl-0<\/strong> - padding-left: 0px<br \/><strong>.pt-0<\/strong> padding-top: 0px<br \/><strong>.pb-0<\/strong> - padding-bottom: 0px<\/p>\n<\/div><\/div><div class=\"et_pb_image_8 et_pb_image et_pb_module et_flex_module\"><span class=\"et_pb_image_wrap\"><img decoding=\"async\" src=\"https:\/\/pronovaab.se\/wp-content\/uploads\/2025\/03\/marginaler.jpg\" title=\"marginal\" \/><\/span><\/div><div class=\"et_pb_text_53 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\" id=\"kort-bredd\"><div class=\"et_pb_text_inner\"><p>If the text is in the right column, the default should be to apply the class <strong>pr-0<\/strong> so that the text extends all the way out into the green section. Otherwise, it will be off-center. The same applies when the text is on the left, then you should have <strong>PL-0<\/strong><\/p>\n<\/div><\/div><div class=\"et_pb_image_9 et_pb_image et_pb_module et_flex_module\"><span class=\"et_pb_image_wrap\"><img decoding=\"async\" src=\"https:\/\/pronovaab.se\/wp-content\/uploads\/2025\/03\/pr-0.jpg\" title=\"pr-0\" \/><\/span><\/div><div class=\"et_pb_text_54 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\" id=\"kort-bredd\"><div class=\"et_pb_text_inner\"><p><strong>pt-0<\/strong> och <strong>pb-0<\/strong> Can be used when you feel there is too much text and you need to remove the bottom and top margins so the image doesn't become too tall.<\/p>\n<p>One could say that standard classes before a split section are:<br \/><span style=\"text-decoration: underline;\"><strong>Image left:<\/strong><\/span><br \/><strong>split-section split-content-align-center reverse pr-0<\/strong><\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Image right:<\/strong><\/span><br \/><strong>split-section split-content-align-center pl-0<\/strong><\/p>\n<\/div><\/div><div class=\"et_pb_text_55 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\" id=\"kort-bredd\"><div class=\"et_pb_text_inner\"><h3>Split with background color<\/h3>\n<\/div><\/div><div class=\"et_pb_image_10 et_pb_image et_pb_module et_flex_module\"><span class=\"et_pb_image_wrap\"><img decoding=\"async\" src=\"https:\/\/pronovaab.se\/wp-content\/uploads\/2025\/03\/pr-0.png\" title=\"pr-0\" \/><\/span><\/div><div class=\"et_pb_text_56 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\" id=\"kort-bredd\"><div class=\"et_pb_text_inner\"><p>For a split section with a background color, you only need to give the green section a background color. The background color should only be active on desktop, so make sure to adjust its responsiveness.<br \/>You don't need to correct any margins on a split with a background color<strong>pr-0, pl-0<\/strong>)<\/p>\n<\/div><\/div><div class=\"et_pb_image_11 et_pb_image et_pb_module et_flex_module\"><span class=\"et_pb_image_wrap\"><img decoding=\"async\" src=\"https:\/\/pronovaab.se\/wp-content\/uploads\/2025\/03\/bakgrund-responsivitet.png\" title=\"background-responsiveness\" \/><\/span><\/div><div class=\"et_pb_text_57 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\" id=\"kort-bredd\"><div class=\"et_pb_text_inner\"><h3>Split-alt<\/h3>\n<\/div><\/div><div class=\"et_pb_image_12 et_pb_image et_pb_module et_flex_module\"><span class=\"et_pb_image_wrap\"><img decoding=\"async\" src=\"https:\/\/pronovaab.se\/wp-content\/uploads\/2025\/03\/split-alt.png\" title=\"split-alt\" \/><\/span><\/div><\/div><\/div><\/div><div class=\"et_pb_section_4 et_pb_section et_section_regular et_block_section preset--module--divi-section--default\"><div class=\"et_pb_row_11 et_pb_row et_pb_gutters1 et_block_row preset--module--divi-row--default\" id=\"lansera-hemsidan\"><div class=\"et_pb_column_11 et_pb_column et_pb_column_4_4 et-last-child et_block_column et_pb_css_mix_blend_mode_passthrough\"><div class=\"et_pb_text_58 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><h2>Remove unnecessary code and other material when the website is to be launched<\/h2>\n<p>When you're finished with your design and the website is about to be launched, it's important to remove all subpages related to the design template. This includes the design template's homepage, the documentation page, and even the code for the menu located on the documentation page.<\/p>\n<p>This code can be found in <strong>Admin Panel &gt; Custom CSS and JS<\/strong><\/p>\n<\/div><\/div><div class=\"et_pb_image_13 et_pb_image et_pb_module et_flex_module\"><span class=\"et_pb_image_wrap\"><img decoding=\"async\" src=\"https:\/\/pronovaab.se\/wp-content\/uploads\/2025\/03\/Skarmavbild-2025-03-18-kl.-09.37.56.png\" title=\"Screenshot 2025-03-18 at 09.37.56\" \/><\/span><\/div><div class=\"et_pb_text_59 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p><strong>Remove all files related to the documentation menu.<\/strong><\/p>\n<\/div><\/div><div class=\"et_pb_text_60 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><h3 class=\"smaller-title\">Pictures<\/h3>\n<p>Also remove unnecessary images that are only used in the design template. Logos, descriptive images, possibly images with px on them but these can be kept if you want to use them later on.<\/p>\n<\/div><\/div><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-96","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/pronovaab.se\/en\/wp-json\/wp\/v2\/pages\/96","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pronovaab.se\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/pronovaab.se\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/pronovaab.se\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/pronovaab.se\/en\/wp-json\/wp\/v2\/comments?post=96"}],"version-history":[{"count":0,"href":"https:\/\/pronovaab.se\/en\/wp-json\/wp\/v2\/pages\/96\/revisions"}],"wp:attachment":[{"href":"https:\/\/pronovaab.se\/en\/wp-json\/wp\/v2\/media?parent=96"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}