All of my custom text styles in multicolumn change when site is resized to mobile

Solved

All of my custom text styles in multicolumn change when site is resized to mobile

Cloven
Visitor
2 1 1

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; 
}

 

Accepted Solutions (2)

WalkYourStyle
Explorer
440 53 78

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>

 

 

View solution in original post

Cloven
Visitor
2 1 1

This is an accepted solution.

Amazing thank you!! Moving it to theme.liquid worked the best. 

View solution in original post

Replies 2 (2)

WalkYourStyle
Explorer
440 53 78

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>

 

 

Cloven
Visitor
2 1 1

This is an accepted solution.

Amazing thank you!! Moving it to theme.liquid worked the best.