Jump to content

Category description styling issue


Recommended Posts

Inspecting code i noticed that font information of category description are wrote directly into a p element:

<div id="category-description" class="text-muted"><p>my category description text</p></div>

But into category.tpl if don't find them:

<div id="category-description" class="text-muted">{$category.description nofilter}</div>

From where they are added and where I should edit them?

 

I'm using Prestashop 1.7.4

Edited by DARKF3D3 (see edit history)
Link to comment
Share on other sites

  • 3 weeks later...

I haven't yet figured our where the paragraph it's "created", using {$category|var_dump} to see the content of $category i saw that into the description there's no <p> tag but only the category description.

["description"]=> string(605) "This is the text of my category description"

["description"]=> string(605) "This is the text of my category description"
<div id="category-description footer2" class="text-muted collapse in">{$category.description nofilter}</div>

So if no paragraph in it, and also no paragraph in tpl file, from where it comes from?

 

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...