The 5th annual nopCommerce conference will take place in India on the 10th-11th of October. Please find more about this event here
Home  >  Forums  >  General  >  General Support  >  Editor

Editor

Posted: January 05, 2019 at 10:23 AM Quote #217705
How can we add a custom stylesheet for the editor so that the styles better match the styles we have on the main site. Right now it shows black H1, H2, etc. and on our main site we have them being different colors, sizes, centering, etc.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: January 07, 2019 at 2:32 AM Quote #217736
ntbuddy wrote:
How can we add a custom stylesheet for the editor

What editor you mean?
Stylesheet for store front end? For admin panel only?

Regards,
Tom
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
nopCommerce Solution Partner
https://www.nop4you.com - The biggest nopCommerce plugins marketplace
https://www.grandnode.com - Free, open source, multi platform e-commerce solution on NoSQL Database MongoDB
--------------------------------------------------------------------------------
Posted: January 07, 2019 at 8:36 AM Quote #217746
When you are in as administration and go to (1) Content Management, (2) Topics (pages), and then edit a page. Users are asking that the theme that is on the public side (e.g. H1, H2, etc.) match rather than being the default of black. This way if H1 is set to red, centered, and size 32px that it will show red, centered, and 32px.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: January 08, 2019 at 5:22 AM Quote #217784
The topic content will inherit your theme's style..
If you choose a heading style in the editor, it just puts the
<h1>
tag on your text.
If your stylesheet defines H1 as red 32px, then this is what it should look like on your topic page.

If it doesn't, then you may need to add it to your stylesheet, implicitly defined for the .topic-page element, like:
.topic-page h1 {
     color:red;
     font-size: 32px;
}
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
An upvote on a helpful post means "thank you" in every language. I believe in this community. For every question I ask, I try to answer at least five others.
Posted: January 08, 2019 at 4:05 PM Quote #217800
That's the issue our NOP Templates theme colors, etc. are not flowing in. It looks like the default theme. This is where the clients are complaining. If the H1 is red and centered and they choose it they want it to show in the editor as red and centered. It's just not doing that.

So with that said I have no problems copy/pasting the NOP Template theme into a default editor stylesheet. Where would that be located?
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Premium support services
  • Dedicated premium support services provided by core developers are intended for persons who run mission critical websites, work on projects with tight deadlines, or want to get dedicated support.
Professional services
  • Want to open a new store? Want to take your store to the next level? Need a custom extension? We can customize nopCommerce to fit your store perfectly. Request a quote to get started.