Shopify themes, liquid, logos, and UX
Hey there,
All of my custom text styles that I have defined in the base.css for my multicolumns change when the site is resized to mobile.
Here is a link to the site:
Some of the styling code:
/* Target headings inside the specific multicolumn section */ #shopify-section-template--17260799361207__multicolumn .multicolumn-card__info h3.inline-richtext { font-family: 'the-seasons', sans-serif !important; font-style: normal !important; font-weight: 700 !important; color: #333333 !important; opacity: 1 !important; filter: none !important; } /* Target paragraphs inside the specific multicolumn section */ #shopify-section-template--17260799361207__multicolumn .multicolumn-card__info .rte p { font-family: 'Muli', sans-serif !important; font-style: normal !important; font-weight: 700 !important; font-size: 14px !important; color: #333333 !important; opacity: 1 !important; filter: none !important; }
Solved! Go to the solution
This is an accepted solution.
There are 2 ways to fix this:
1st Way:
Move the styling code at the top of the 'base.css' file
2nd Way:
Add the styling code inside the 'theme.liquid' file before the closing head tag '</head>' in this format:
<style>
/* Target headings inside the specific multicolumn section */
#shopify-section-template--17260799361207__multicolumn .multicolumn-card__info h3.inline-richtext {
font-family: 'the-seasons', sans-serif !important;
font-style: normal !important;
font-weight: 700 !important;
color: #333333 !important;
opacity: 1 !important;
filter: none !important;
}
/* Target paragraphs inside the specific multicolumn section */
#shopify-section-template--17260799361207__multicolumn .multicolumn-card__info .rte p {
font-family: 'Muli', sans-serif !important;
font-style: normal !important;
font-weight: 700 !important;
font-size: 14px !important;
color: #333333 !important;
opacity: 1 !important;
filter: none !important;
}
</style>
This is an accepted solution.
Amazing thank you!! Moving it to theme.liquid worked the best.
This is an accepted solution.
There are 2 ways to fix this:
1st Way:
Move the styling code at the top of the 'base.css' file
2nd Way:
Add the styling code inside the 'theme.liquid' file before the closing head tag '</head>' in this format:
<style>
/* Target headings inside the specific multicolumn section */
#shopify-section-template--17260799361207__multicolumn .multicolumn-card__info h3.inline-richtext {
font-family: 'the-seasons', sans-serif !important;
font-style: normal !important;
font-weight: 700 !important;
color: #333333 !important;
opacity: 1 !important;
filter: none !important;
}
/* Target paragraphs inside the specific multicolumn section */
#shopify-section-template--17260799361207__multicolumn .multicolumn-card__info .rte p {
font-family: 'Muli', sans-serif !important;
font-style: normal !important;
font-weight: 700 !important;
font-size: 14px !important;
color: #333333 !important;
opacity: 1 !important;
filter: none !important;
}
</style>
This is an accepted solution.
Amazing thank you!! Moving it to theme.liquid worked the best.
We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024