0

Word “Spanish” breaks WordPress layout (solution)

span bootstrap bug1. INTRODUCTION

Today I want to share with you the solution to a weird bug caused by the word “Spanish” in WordPress (and maybe other CMS that uses Bootstrap).

In my personal case, this word (the actual problem comes from the root “span“), triggered two types of layout misconfigurations:
 

  1. It changed the background color of the content box from transparent to gray (only in the entries within the category or tag «Spanish»).
  2. It breaked the layout theme in the «Spanish» tag and category pages (/tag/spanish; category/spanish).

 

2. SOLUTION (USING CSS)

The problem, caused by a Bootstrap conflictcan be fixed adding the following CSS to your WordPress theme (Paste it in: Appearance > Customize > Additional CSS):

[class*="span"] {
float: unset;
min-height: unset;
margin-left: unset;
}

 

It worked perfectly for me (in different websites). I hope it works for you too! If so, leave a comment!

 

3. MORE INFORMATION AND REFERENCES

  • Saberespractico.com (2018). Palabra «español» crea error en WordPress (solución). Text in Spanish. Avaliable [HERE].
  • WordPress.org (2018). Word “Spanish” triggers misconfigurations in theme. Avaliable [HERE].
 

Learner Trip

PhD in Education. I've been sharing all kind of content/information on the Internet for 14+ years now. I try to do it in the most straightforward and reliable way possible, cross-referencing information with the primary sources of authority in each field (unless unnecessary). You can reach out to me in the comments. I read all your inquiries and typically respond to most of them daily. If you find what I do helpful, you can support me here. 🙂

RELATED:

 

Leave a Reply

Your email address will not be published. Required fields are marked *