Need a code to change page color to black

Hi,

I am in need of any code where you can customize a page color. For example I want to add only 1 page where I can manually select background color i;e black or any color hex.

While the rest of the pages can be use default settings.

Please help.

PS; I am using Debute Theme

@UsmanSipra

Please share your stroe URL & screenshot what do you want.

Thanks!

Hi,

Thanks for your reply. Let me explain.

I need to create a page like ABOUT US having black background and white text. Just like screenshot attached.

What happens is when I use this HTML code body {background-color: black;}, it turns my complete homepage background in black.

@UsmanSipra

Please share store URL!

https://www.tribeuno.co.uk/

@UsmanSipra

Please share your layout/theme.liquid file code

I am using Debute Theme.

{% assign mlveda_code_flag = false %} {% if mlveda_code_flag == true %}
{% endif %}

{%- if settings.favicon != blank -%}

{%- endif -%}

{%- capture seo_title -%}
{%- if request.page_type == ‘search’ and search.performed == true -%}
{{ ‘general.search.heading’ | t: count: search.results_count }}: {{ ‘general.search.results_with_count’ | t: terms: search.terms, count: search.results_count }}
{%- else -%}
{{ page_title }}
{%- endif -%}
{%- if current_tags -%}
{%- assign meta_tags = current_tags | join: ', ’ -%} – {{ ‘general.meta.tags’ | t: tags: meta_tags -}}
{%- endif -%}
{%- if current_page != 1 -%}
– {{ ‘general.meta.page’ | t: page: current_page }}
{%- endif -%}
{%- assign escaped_page_title = page_title | escape -%}
{%- unless escaped_page_title contains shop.name -%}
– {{ shop.name }}
{%- endunless -%}
{%- endcapture -%}

{% include ‘avada-sc-setting’ %}

{{ seo_title | strip }}

{%- if page_description -%}

{%- endif -%}

{% include ‘social-meta-tags’ %}
{% include ‘personizely’ %}

{{ ‘theme.scss.css’ | asset_url | stylesheet_tag }}

{%- if request.page_type contains ‘customers/’ -%}

{%- endif -%}

{{ content_for_header }}
{%- render ‘bold-pr’ -%}
{%- render ‘bold-common’ -%}
{{ shop.metafields.fontify.stylesheets }}
{% include ‘hulkcode_common’ %}{% if template contains ‘product’ or template contains ‘cart’ %}{% endif %}
{% if mlveda_code_flag == true %}
{% include ‘mlveda-multipricing-options’ %}
{% endif %}

{% capture cur %}{% include “booster-currency” %}{% endcapture %}{% unless cur contains “Liquid error” %}{{ cur }}{% endunless %}

{% include 'ufe-offer' %} {% include 'vitals-loader' %}

{% include ‘pagefly-header’ %}

{% render ‘zoorix-head’ %}

{% render ‘shogun-head’ %}
{% include ‘teeinblue-scripts’ %}

{% include “xo-insertcode-header” %}

{{ ‘custom-fields.css’ | asset_url | stylesheet_tag }}

{% include "xo-insertcode-body" %} {% include 'teeinblue-product-loader' %}

{{ ‘general.accessibility.skip_to_content’ | t }}

{%- if settings.enable_ajax -%}
{% include ‘cart-popup’ %}
{%- endif -%}

{% section ‘header’ %}

{% if mlveda_code_flag == false %} {{ content_for_layout }} {% capture stn_app %}{% include 'station-tabs' %}{% endcapture %}{% if stn_app contains 'Station.Apps' %}{{ stn_app }}{% endif %} {% endif %}

{% if mlveda_code_flag == true %}
{{ content_for_layout }}
{% capture stn_app %}{% include ‘station-tabs’ %}{% endcapture %}{% if stn_app contains ‘Station.Apps’ %}{{ stn_app }}{% endif %}
{% include ‘mlveda-multipricing-selectBox’ %}
{% include ‘mlveda-multipricing-selectors’ %}
{% endif %}

{% section ‘footer’ %}

{{- 'sections.slideshow.navigation_instructions' | t -}}
  • {{ 'general.accessibility.refresh_page' | t }}
  • {{ 'general.accessibility.selection_help' | t }}
{% if mlveda_code_flag == true %} {% if template != 'cart' %} {% include 'mlveda-multipricing-updateprice' %} {% else %} {% endif %} {% else %} {% endif %}

{% comment %}//alpha currency snippet start{% endcomment %}
{% capture snippet_content %}
{% include ‘alphacurrencyconverter’ %}
{% endcapture %}
{% unless snippet_check contains ‘Liquid error’ %}
{{ snippet_content }}
{% endunless %}
{% comment %}//alpha currency snippet end{% endcomment %}
{% include ‘smile-initializer’ %}

{% include ‘adroll’ %}

{% render ‘mbc-bundles’ %}
{% include “xo-insertcode-footer” %}

{% include ‘product_pinch_zoom’ %}

{% include 'printcart' %}

{% if cart.currency.iso_code == shop.currency %}

{% else %}

{% endif %}

I am using Debut theme ! Below is the theme.liquid

Show More

{% assign mlveda_code_flag = false %}

{% if mlveda_code_flag == true %}

{% endif %}

{%- if settings.favicon != blank -%}

{%- endif -%}

{%- capture seo_title -%}
{%- if request.page_type == ‘search’ and search.performed == true -%}
{{ ‘general.search.heading’ | t: count: search.results_count }}: {{ ‘general.search.results_with_count’ | t: terms: search.terms, count: search.results_count }}
{%- else -%}
{{ page_title }}
{%- endif -%}
{%- if current_tags -%}
{%- assign meta_tags = current_tags | join: ', ’ -%} – {{ ‘general.meta.tags’ | t: tags: meta_tags -}}
{%- endif -%}
{%- if current_page != 1 -%}
– {{ ‘general.meta.page’ | t: page: current_page }}
{%- endif -%}
{%- assign escaped_page_title = page_title | escape -%}
{%- unless escaped_page_title contains shop.name -%}
– {{ shop.name }}
{%- endunless -%}
{%- endcapture -%}

{% include ‘avada-sc-setting’ %}

{%- if page_description -%}

{%- endif -%}

{% include ‘social-meta-tags’ %}
{% include ‘personizely’ %}

{{ ‘theme.scss.css’ | asset_url | stylesheet_tag }}

{%- if request.page_type contains ‘customers/’ -%}

{%- endif -%}

{{ content_for_header }}
{%- render ‘bold-pr’ -%}
{%- render ‘bold-common’ -%}
{{ shop.metafields.fontify.stylesheets }}
{% include ‘hulkcode_common’ %}{% if template contains ‘product’ or template contains ‘cart’ %}{% endif %}
{% if mlveda_code_flag == true %}
{% include ‘mlveda-multipricing-options’ %}
{% endif %}

{% capture cur %}{% include “booster-currency” %}{% endcapture %}{% unless cur contains “Liquid error” %}{{ cur }}{% endunless %}

{% include ‘ufe-offer’ %} {% include ‘vitals-loader’ %}

{% include ‘pagefly-header’ %}

{% render ‘zoorix-head’ %}

{% render ‘shogun-head’ %}
{% include ‘teeinblue-scripts’ %}

{% include “xo-insertcode-header” %}

{{ ‘custom-fields.css’ | asset_url | stylesheet_tag }}

{% include “xo-insertcode-body” %}

{% include ‘teeinblue-product-loader’ %}

{{ ‘general.accessibility.skip_to_content’ | t }}

{%- if settings.enable_ajax -%}
{% include ‘cart-popup’ %}
{%- endif -%}

{% section ‘header’ %}

{% section ‘footer’ %}

{{- ‘sections.slideshow.navigation_instructions’ | t -}}

  • {{ ‘general.accessibility.refresh_page’ | t }}

  • {{ ‘general.accessibility.selection_help’ | t }}

{% if mlveda_code_flag == true %}
{% if template != ‘cart’ %}
{% include ‘mlveda-multipricing-updateprice’ %}
{% else %}

{% endif %}
{% else %}

{% endif %}

{% comment %}//alpha currency snippet start{% endcomment %}
{% capture snippet_content %}
{% include ‘alphacurrencyconverter’ %}
{% endcapture %}
{% unless snippet_check contains ‘Liquid error’ %}
{{ snippet_content }}
{% endunless %}
{% comment %}//alpha currency snippet end{% endcomment %}
{% include ‘smile-initializer’ %}

{% include ‘adroll’ %}

{% render ‘mbc-bundles’ %}
{% include “xo-insertcode-footer” %}

{% include ‘product_pinch_zoom’ %}

{% include ‘printcart’ %}

{% if cart.currency.iso_code == shop.currency %}

{% else %}

{% endif %}

I am using Debut Theme.


  
  

 

   
    
    
    
 
 {% assign mlveda_code_flag = false %}
  

  {% if mlveda_code_flag == true %}
  
    

  {% endif %}

    
  
  
  
  
  

  {%- if settings.favicon != blank -%}
    
  {%- endif -%}

  {%- capture seo_title -%}
    {%- if request.page_type == 'search' and search.performed == true -%}
      {{ 'general.search.heading' | t: count: search.results_count }}: {{ 'general.search.results_with_count' | t: terms: search.terms, count: search.results_count }}
    {%- else -%}
      {{ page_title }}
    {%- endif -%}
    {%- if current_tags -%}
      {%- assign meta_tags = current_tags | join: ', ' -%} – {{ 'general.meta.tags' | t: tags: meta_tags -}}
    {%- endif -%}
    {%- if current_page != 1 -%}
      – {{ 'general.meta.page' | t: page: current_page }}
    {%- endif -%}
    {%- assign escaped_page_title = page_title | escape -%}
    {%- unless escaped_page_title contains shop.name -%}
      – {{ shop.name }}
    {%- endunless -%}
  {%- endcapture -%}
  

  
 {% include 'avada-sc-setting' %}
  

  {%- if page_description -%}
    
  {%- endif -%}

  {% include 'social-meta-tags' %}
  {% include 'personizely' %}

  {{ 'theme.scss.css' | asset_url | stylesheet_tag }}

  

  {%- if request.page_type contains 'customers/' -%}
    
  {%- endif -%}

  
  
  

  {{ content_for_header }}
{%- render 'bold-pr' -%}
{%- render 'bold-common' -%} 
 {{ shop.metafields.fontify.stylesheets }}
{% include 'hulkcode_common' %}{% if template contains 'product' or template contains 'cart' %}{% endif %}
 {% if mlveda_code_flag == true %}
    {% include 'mlveda-multipricing-options' %}
  {% endif %}

{% capture cur %}{% include "booster-currency" %}{% endcapture %}{% unless cur contains "Liquid error" %}{{ cur }}{% endunless %}

      
      
        {% include 'ufe-offer' %}	{% include 'vitals-loader' %}

 
{% include 'pagefly-header' %}
 
  {% render 'zoorix-head' %}
  

  {% render 'shogun-head' %}
  {% include 'teeinblue-scripts' %}

{% include "xo-insertcode-header" %}

{{ 'custom-fields.css' | asset_url | stylesheet_tag }}

 

{% include "xo-insertcode-body" %}

  {% include 'teeinblue-product-loader' %}

  {{ 'general.accessibility.skip_to_content' | t }}

  {%- if settings.enable_ajax -%}
    {% include 'cart-popup' %}
  {%- endif -%}

  {% section 'header' %}

  

    

    {% section 'footer' %}

    

    

    

    

      {{- 'sections.slideshow.navigation_instructions' | t -}}
    

  

  
    - {{ 'general.accessibility.refresh_page' | t }}

    - {{ 'general.accessibility.selection_help' | t }}
  

{% if mlveda_code_flag == true %}
  	{% if template != 'cart' %}
		{% include 'mlveda-multipricing-updateprice' %}
  	{% else %}
        
  	{% endif %}
  {% else %}
		
  {% endif %}

{% comment %}//alpha currency snippet start{% endcomment %}
 {% capture snippet_content %}
 {% include 'alphacurrencyconverter' %} 
{% endcapture %} 
{% unless snippet_check contains 'Liquid error' %}
 {{ snippet_content }}
 {% endunless %}
 {% comment %}//alpha currency snippet end{% endcomment %}
 {% include 'smile-initializer' %}

{% include 'adroll' %}
  

{% render 'mbc-bundles' %}
{% include "xo-insertcode-footer" %}

{% include 'product_pinch_zoom' %}

  

{% include 'printcart' %}

{% if cart.currency.iso_code == shop.currency %}

{% else %}

{% endif %}

I am using Debut theme.

How do I share the theme.Liquid code ? it is getting removed every time I paste it

@UsmanSipra

Please see following screenshot.

Thanks!


  
  

 

   
    
    
    
 
 {% assign mlveda_code_flag = false %}
  

  {% if mlveda_code_flag == true %}
  
    

  {% endif %}

    
  
  
  
  
  

  {%- if settings.favicon != blank -%}
    
  {%- endif -%}

  {%- capture seo_title -%}
    {%- if request.page_type == 'search' and search.performed == true -%}
      {{ 'general.search.heading' | t: count: search.results_count }}: {{ 'general.search.results_with_count' | t: terms: search.terms, count: search.results_count }}
    {%- else -%}
      {{ page_title }}
    {%- endif -%}
    {%- if current_tags -%}
      {%- assign meta_tags = current_tags | join: ', ' -%} – {{ 'general.meta.tags' | t: tags: meta_tags -}}
    {%- endif -%}
    {%- if current_page != 1 -%}
      – {{ 'general.meta.page' | t: page: current_page }}
    {%- endif -%}
    {%- assign escaped_page_title = page_title | escape -%}
    {%- unless escaped_page_title contains shop.name -%}
      – {{ shop.name }}
    {%- endunless -%}
  {%- endcapture -%}
  

  
 {% include 'avada-sc-setting' %}
  

  {%- if page_description -%}
    
  {%- endif -%}

  {% include 'social-meta-tags' %}
  {% include 'personizely' %}

  {{ 'theme.scss.css' | asset_url | stylesheet_tag }}

  

  {%- if request.page_type contains 'customers/' -%}
    
  {%- endif -%}

  
  
  

  {{ content_for_header }}
{%- render 'bold-pr' -%}
{%- render 'bold-common' -%} 
 {{ shop.metafields.fontify.stylesheets }}
{% include 'hulkcode_common' %}{% if template contains 'product' or template contains 'cart' %}{% endif %}
 {% if mlveda_code_flag == true %}
    {% include 'mlveda-multipricing-options' %}
  {% endif %}

{% capture cur %}{% include "booster-currency" %}{% endcapture %}{% unless cur contains "Liquid error" %}{{ cur }}{% endunless %}

      
      
        {% include 'ufe-offer' %}	{% include 'vitals-loader' %}

 
{% include 'pagefly-header' %}
 
  {% render 'zoorix-head' %}
  

  {% render 'shogun-head' %}
  {% include 'teeinblue-scripts' %}

{% include "xo-insertcode-header" %}

{{ 'custom-fields.css' | asset_url | stylesheet_tag }}

 

{% include "xo-insertcode-body" %}

  {% include 'teeinblue-product-loader' %}

  {{ 'general.accessibility.skip_to_content' | t }}

  {%- if settings.enable_ajax -%}
    {% include 'cart-popup' %}
  {%- endif -%}

  {% section 'header' %}

  

    

    {% section 'footer' %}

    

    

    

    

      {{- 'sections.slideshow.navigation_instructions' | t -}}
    

  

  
    - {{ 'general.accessibility.refresh_page' | t }}

    - {{ 'general.accessibility.selection_help' | t }}
  

{% if mlveda_code_flag == true %}
  	{% if template != 'cart' %}
		{% include 'mlveda-multipricing-updateprice' %}
  	{% else %}
        
  	{% endif %}
  {% else %}
		
  {% endif %}

{% comment %}//alpha currency snippet start{% endcomment %}
 {% capture snippet_content %}
 {% include 'alphacurrencyconverter' %} 
{% endcapture %} 
{% unless snippet_check contains 'Liquid error' %}
 {{ snippet_content }}
 {% endunless %}
 {% comment %}//alpha currency snippet end{% endcomment %}
 {% include 'smile-initializer' %}

{% include 'adroll' %}
  

{% render 'mbc-bundles' %}
{% include "xo-insertcode-footer" %}

{% include 'product_pinch_zoom' %}

  

{% include 'printcart' %}

{% if cart.currency.iso_code == shop.currency %}

{% else %}

{% endif %}

yeah I was using the same option like you explained in the screenshot. But somehow I cant see my replies. Anyhow I have emailed you as well.


  
  

 

   
    
    
    
 
 {% assign mlveda_code_flag = false %}
  

  {% if mlveda_code_flag == true %}
  
    

  {% endif %}

    
  
  
  
  
  

  {%- if settings.favicon != blank -%}
    
  {%- endif -%}

  {%- capture seo_title -%}
    {%- if request.page_type == 'search' and search.performed == true -%}
      {{ 'general.search.heading' | t: count: search.results_count }}: {{ 'general.search.results_with_count' | t: terms: search.terms, count: search.results_count }}
    {%- else -%}
      {{ page_title }}
    {%- endif -%}
    {%- if current_tags -%}
      {%- assign meta_tags = current_tags | join: ', ' -%} – {{ 'general.meta.tags' | t: tags: meta_tags -}}
    {%- endif -%}
    {%- if current_page != 1 -%}
      – {{ 'general.meta.page' | t: page: current_page }}
    {%- endif -%}
    {%- assign escaped_page_title = page_title | escape -%}
    {%- unless escaped_page_title contains shop.name -%}
      – {{ shop.name }}
    {%- endunless -%}
  {%- endcapture -%}
  

  
 {% include 'avada-sc-setting' %}
  

  {%- if page_description -%}
    
  {%- endif -%}

  {% include 'social-meta-tags' %}
  {% include 'personizely' %}

  {{ 'theme.scss.css' | asset_url | stylesheet_tag }}

  

  {%- if request.page_type contains 'customers/' -%}
    
  {%- endif -%}

  
  
  

  {{ content_for_header }}
{%- render 'bold-pr' -%}
{%- render 'bold-common' -%} 
 {{ shop.metafields.fontify.stylesheets }}
{% include 'hulkcode_common' %}{% if template contains 'product' or template contains 'cart' %}{% endif %}
 {% if mlveda_code_flag == true %}
    {% include 'mlveda-multipricing-options' %}
  {% endif %}

{% capture cur %}{% include "booster-currency" %}{% endcapture %}{% unless cur contains "Liquid error" %}{{ cur }}{% endunless %}

      
      
        {% include 'ufe-offer' %}	{% include 'vitals-loader' %}

 
{% include 'pagefly-header' %}
 
  {% render 'zoorix-head' %}
  

  {% render 'shogun-head' %}
  {% include 'teeinblue-scripts' %}

{% include "xo-insertcode-header" %}

{{ 'custom-fields.css' | asset_url | stylesheet_tag }}

 

{% include "xo-insertcode-body" %}

  {% include 'teeinblue-product-loader' %}

  {{ 'general.accessibility.skip_to_content' | t }}

  {%- if settings.enable_ajax -%}
    {% include 'cart-popup' %}
  {%- endif -%}

  {% section 'header' %}

  

    

    {% section 'footer' %}

    

    

    

    

      {{- 'sections.slideshow.navigation_instructions' | t -}}
    

  

  
    - {{ 'general.accessibility.refresh_page' | t }}

    - {{ 'general.accessibility.selection_help' | t }}
  

{% if mlveda_code_flag == true %}
  	{% if template != 'cart' %}
		{% include 'mlveda-multipricing-updateprice' %}
  	{% else %}
        
  	{% endif %}
  {% else %}
		
  {% endif %}

{% comment %}//alpha currency snippet start{% endcomment %}
 {% capture snippet_content %}
 {% include 'alphacurrencyconverter' %} 
{% endcapture %} 
{% unless snippet_check contains 'Liquid error' %}
 {{ snippet_content }}
 {% endunless %}
 {% comment %}//alpha currency snippet end{% endcomment %}
 {% include 'smile-initializer' %}

{% include 'adroll' %}
  

{% render 'mbc-bundles' %}
{% include "xo-insertcode-footer" %}

{% include 'product_pinch_zoom' %}

  

{% include 'printcart' %}

{% if cart.currency.iso_code == shop.currency %}

{% else %}

{% endif %}

word file attached having the code

@UsmanSipra

Please find following code your Layout/theme.liquid file


Replace to