Hi, is there a way to change the following features using plaktheme 1.8
1. Change the used date and time format and language for it to European standards, Romanian language for days?
2. Translate/modify the Contact Customer form from settings/notifications/customer/contact customer ( for all others it can be translated but in this form,
there is a <p>{{ custom_message }}</p> that have a message and it cannot be replaced, or tell me please from where I can change the custom message.
Thank you.
Hi @ilyeszoltan
Katrine from Plak support here,
here are the answers to your questions :
1. In order to update the date & time zone:
- Click on Settings > General
- Head to Standards and formats and select your desired one from the timezone dropdown menu
2- The custom message
The custom message contains whatever you enter when sending a message to a customer, for example (a cart recovery email), you don't need to translate it as you will type it manually.
In case you need to get rid of this custom message in the mail, you can use this code to hide and add a second line to enter your message manually.
<p style="display:none;">{{ custom_message }}</p>
<p> You can type your message in Romanian language here </p>
This will render the below message
Also, change also the below line code (if it was not changed automatically by Shopify)
<html lang="en">
to
<html lang="ro">
Let me know if this is what you are looking for.
Kind regards,
Katrine
Hi Katrine,
The second problem has been resolved.
For the first issue, my time zone is set well: (GMT+2) BUCHAREST, but the date format is like the following
( American date format): August 9, 2020, at 2:51 pm, it should be 9 August 2020 or (Sunday) Duminică 9 August 2020.
Thank you.
On the orders page, when I receive an order.
Normally if the timezeone was set correctly to your local country, it should shows the date & time accordingly to it.
This issue is not the theme related, I invite you to contact Shopify support so they can check where this issue comes from.
If you encounter any issue related to the theme, feel free to get back to us again.
Kind regards,
I have another question related to the theme. How can I make that the background of the rich text to be centered, at the equal distance left and right( or move it to the right)
? Thank you
In order to have a control over the rich text width, from 10% width to full page width, please follow these steps.
- From your Shopify dashboard, click Online store > Actions > Edit code
- Open the file rich-text.liquid
- remove all the content of that file, and replace it with the below one
<style>.rich-text h1 {color : {{section.settings.rich-txt-hd-clr}};font-size : {{section.settings.richtext_hd_sz}}px; }.rich-text p { color : {{section.settings.rich-txt-clr}};font-size : {{section.settings.richtext_txt_sz}}px; }</style>
<div class="rich-text" style="width:{{section.settings.background-rich-width}}%;margin-left:auto;margin-right:auto;">
<div class="grid">
<div class="grid__item text-{{section.settings.rich-txt-align}}"
style="background-color: {{section.settings.rich-txt-bk}};opacity:{{section.settings.rich-txt-bk-op}}%">
{% if section.settings.section_title != blank %}
<h1 class="h3">{{ section.settings.section_title | escape }}</h1>
{% endif %}
{% if section.settings.text != blank %}
<div class="">{{ section.settings.text }}</div>
{% endif %}
</div>
</div>
</div>
{% schema %}
{
"name": {
"de": "Rich text",
"en": "Rich text",
"es": "Texto enriquecido",
"fr": "Texte enrichi"
},
"class": "index-section",
"settings": [
{
"type": "text",
"id": "section_title",
"label": {
"de": "Titel",
"en": "Heading",
"es": "Título",
"fr": "En-tête"
},
"default": {
"de": "Reden Sie über Ihre Marke",
"en": "Talk about your brand",
"es": "Habla de tu marca",
"fr": "Parlez de votre marque"
}
},
{
"type": "richtext",
"id": "text",
"label": {
"de": "Text",
"en": "Text",
"es": "Texto",
"fr": "Texte"
},
"default": {
"de": "<p>Nutzen Sie diesen Text, um Infos über Ihre Marke mitzuteilen. Beschreiben Sie ein Produkt, kündigen Sie etwas an oder heißen Sie Kunden willkommen.</p>",
"en": "<p>Use this text to share information about your brand with your customers. Describe a product, share announcements, or welcome customers to your store.</p>",
"es": "<p>Usa este texto para compartir información sobre tu marca con tus clientes. Describe un producto, comparte anuncios o recibe clientes en tu tienda.</p>",
"fr": "<p>Utilisez ce texte pour partager des informations sur votre marque. Décrivez un produit, partagez des annonces, ou souhaitez la bienvenue à vos clients.</p>"
}
},
{
"type": "select",
"id": "rich-txt-align",
"label": {
"de": "Textausrichtung",
"en": "Text alignment",
"es": "Alineación del texto",
"fr": "Alignement du texte"
},
"default": "left",
"options": [
{
"value": "left",
"label": {
"de": "Links",
"en": "Left",
"es": "Izquierda",
"fr": "Gauche"
}
},
{
"value": "center",
"label": {
"de": "Center",
"en": "Center",
"es": "Centrar",
"fr": "Centre"
}
},
{
"value": "right",
"label": {
"de": "Rechts",
"en": "Right",
"es": "Derecha",
"fr": "Droite"
}
}
]
},
{
"type": "range",
"id": "background-rich-width",
"label": {
"de": "Breite",
"en": "Width",
"es": "anchura",
"fr": "largeur"
},
"min": 10,
"max": 100,
"step": 1,
"default": 70
},
{
"type": "color",
"id": "rich-txt-bk",
"label": {
"de": "Hintergrundfarbe",
"en": "Background",
"es": "Fondo",
"fr": "Couleur de fond"
},
"default": "#0C2942"
},
{
"type": "color",
"id": "rich-txt-hd-clr",
"label": {
"de": "Titel",
"en": "Header",
"es": "título",
"fr": "Titre"
},
"default": "#FFFFFF"
},
{
"type": "color",
"id": "rich-txt-clr",
"label": {
"de": "Textfarbe",
"en": "Text",
"es": "Texto",
"fr": "Texte"
},
"default": "#F7E8E8"
},
{
"type": "range",
"id": "rich-txt-bk-op",
"label": {
"de": "Opazität",
"en": "Opacity",
"es": "Opacidad",
"fr": "Opacité"
},
"min": 0,
"max": 100,
"step": 1,
"unit": {
"de": "%",
"en": "%",
"es": "%",
"fr": "%"
},
"default": 90
},
{
"type": "text",
"id": "richtext_hd_sz",
"label": {
"de": "Größe des Titels 'px'",
"en": "Header text size in 'px'",
"es": "Tamaño del título 'px'",
"fr": "Taille du titre en 'px'"
},
"default": "22"
},
{
"type": "text",
"id": "richtext_txt_sz",
"label": {
"de": "Textgröße in 'px'",
"en": "Text size in 'px'",
"es": "Tamaño del texto en 'px'",
"fr": "Taille du text en 'px'"
},
"default": "18"
}
],
"presets": [
{
"name": {
"de": "Rich text",
"en": "Rich text",
"es": "Texto enriquecido",
"fr": "Texte enrichi"
},
"category": {
"de": "Text",
"en": "Text",
"es": "Texto",
"fr": "Texte"
}
}
]
}
{% endschema %}
- Click Save
- Go back to the theme editor, you will notice that a new feature has been added to the rich text section to modify the width
Let me know if you have any other questions 🙂
Kind regards,
Katrine
Welcome to the Shopify Forum Community provided by Plak ThemeLLC, a place where you can discuss about eCommerce and Shopify, solve technical issues, get help with Shopify Design, Apps integration, Marketing, Facebooks ad, Google ads and more.
Before posting, we invite you to read and follow the forum rules | We also support any questions related to Free Shopify themes :Dawn, Express, Minimal, Brooklyn, Narrative, Supply, Debut, Venture, Boundless and Simple