WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Multiflex-3 editor rendering
  • Print
Pages: [1]   Go Down

Author Topic: Multiflex-3 editor rendering  (Read 4383 times)

KenH

  • Guest
Multiflex-3 editor rendering
« on: April 27, 2009, 01:19:59 PM »
There is a difference in font size between what is displayed in the editor and what appears on the page when using Multiflex-3.

Edit: I should add that the default templates work normally until I install multiflex-3. Then, even the default templates exhibit the same behavior as described below.

Here is how 'normal' text appears in the editor:



Here is how it is displayed:




The following two examples are the desired formatting, but I have to choose 'normal, arial, small' to achieve the results.


If I format the text as 'normal, arial, small', it appears this way in the editor:



And it is displayed this way:


« Last Edit: April 27, 2009, 02:13:22 PM by KenH »
Logged

Offline marathoner

  • Posts: 495
Re: Multiflex-3 editor rendering
« Reply #1 on: April 28, 2009, 02:41:48 AM »
The reason is that the CSS defined for that template is not the same as the CSS used by your editor (I assume that you're using FCKEditor).

Do a search of this forum for "editor.css" which will tell you how to use the same CSS for both the template and the editor.

Also, just for you info...you may want to change your CSS so that the <P> tag uses "arial, small' if that's what you want to be "normal". Then you don't have to redefine it for every <P> tag.

Logged

KenH

  • Guest
Re: Multiflex-3 editor rendering
« Reply #2 on: April 28, 2009, 10:28:42 PM »
Marathoner,

Thanks for confirming my suspicions.

I had played around with the editor.css and layout_test.css, but thought perhaps there was something else going on.

It appears the author of this template used a slightly different approach by creating a substitute css file for the editor whereas the default templates are using the native FCKEditor css.

Regards,

Ken
Logged

Offline ruebenwurzel

  • Betatester
  • **
  • Posts: 8544
  • Gender: Male
  • Keep on Rockin
    • Familie Gallas Online
Re: Multiflex-3 editor rendering
« Reply #3 on: April 29, 2009, 06:59:54 AM »
Hello,

for to have in the Editor window the same style/design as in your frontend you need to have a editor.css file in the template wich holds the same styles as the styles in your template with on little difference: the styles from the contentarea of your template must be in the body tag of editor.css.

Matthias
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Multiflex-3 editor rendering
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2