# Advanced Customization for Embedding

You can make the portal look better integrated by adding a new theme asset, with a few more tweaks to your Shopify page.

* Firstly, open the **Themes** tab in the Shopify control panel. Here select the **Edit Code** in the **Actions** drop-down menu.

![Themes > Actions > Edit Code](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-LwFYX_v3-w9ErGQ_43c%2F-LwFZNCihMH1T00NbeXd%2FAnnotation%202019-12-17%20024312.png?alt=media\&token=0b6c0970-1aab-47d7-9762-b582564cea81)

* After this select **Add a new template**.

![Add a new template](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-LwFYX_v3-w9ErGQ_43c%2F-LwF_G7hpHJsspdbL9fM%2FAnnotation%202019-12-17%20024906.png?alt=media\&token=715c5566-6c4f-48ae-a50a-635285c83e9e)

* Here select the **page** and name it **goaffpro.** After this click on the **Create template** button.

![page > goaffpro > Create template](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-LwFYX_v3-w9ErGQ_43c%2F-LwFaaRw1KXEv1_2xawd%2FAnnotation%202019-12-17%20025214.png?alt=media\&token=7ff88bda-fb0a-4827-acdb-c47ca14cb91e)

* You will now replace the code of the new template with the following code. After doing so, you will click on **Save** to save the template.

```markup
<section style="min-width:'100%'">{{page.content}}</section>
```

![Write Code > Save](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-LwFYX_v3-w9ErGQ_43c%2F-LwFcK4mrFjRoYI-clV0%2FAnnotation%202019-12-17%20025823.png?alt=media\&token=3698ae66-0290-4432-ac90-f0efd23c085d)

* After this, open your newly created page in the **Pages** tab of the Shopify control panel.

![Pages tab > Affiliate Portal Page ](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-LwFYX_v3-w9ErGQ_43c%2F-LwFdPpBOrG-qkqjQZtw%2FAnnotation%202019-12-17%20030549.png?alt=media\&token=ffbab105-21c3-4998-9c7d-16c13f32af2e)

* Here change the page's template to **page.goaffpro**. Click on **Save** to save the changes.

![Template > page.goaffpro > Save](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-LwFYX_v3-w9ErGQ_43c%2F-LwFeEsAFe0KkqcDH_sM%2FAnnotation%202019-12-17%20031032.png?alt=media\&token=c511a17f-d5d4-4b94-8ed0-f1b17c8974d0)
