Close

Home page text

jmbusquets
10 years ago
#5844 Quote
Avatar
  • 13
How I can display the content of HomePageText Topic?
Deni
10 years ago
#5866 Quote
Avatar
  • Moderator
  • 389
jmbusquets wrote:
How I can display the content of HomePageText Topic?


Hello, which theme are you using?
Best Regards,
Mladen Staykov
Nop-Templates.com
jmbusquets
10 years ago
#5869 Quote
Avatar
  • 13
I'm using the Smart responsive theme.
vesion 3.3
nikola.dragiev
10 years ago
#5879 Quote
Avatar
  • Moderator
  • 154
Hello,

The HomePageText Topic doesn't feature in the NopSmart Theme Design,
but if you want to  include it in your website you just have to follow a few easy steps.
First you have to open the style.css file which is located in your Themes\Smart\Content\css folder in you NopCommerce installation. When you open it you have to go to line 2960 and replace the "display: none;" property with "text-align: center;".
After that you have to open the 980.css file, which is located in the same folder. There you can go to the bottom of the code and paste this:

.home-page .topic-html-content{
    width: 980px;
    margin-right: auto;
    margin-left: auto;
}


Please make note that you have to paste it before the last curly bracket "}" of the code, otherwise it will not display properly on mobile devices.
Then your HomePageText Topic should feature on your website's home page.

Hope I've been helpful!
Best regards,
Nikola Dragiev
Nop-Templates.com