• Apparently when you are writing a post in WordPress you see it as you would see it in your browser when viewing it later.

    This is not the case for me, and mine often looks very different in browser to what it does in the writing screen.

    This is more so apparent when I introduce images. Instead of seeing what it will look like as I type, I have to update 20 times continually checking in the browser to see what the end result is going to look like.

    Have I done something wrong at installation that makes it like this?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Its may happen on stylesheet, You need to update or recode for fix this issue

    Hi @borismoggy,

    In most WordPress themes, the CSS that controls how your post or page looks on the dashboard (editing) side of your site is different than the CSS that controls how your post or page looks on the front end of the site (that visitors to your site see.) As such, it’s very common for the editing side to use different fonts, font colors, line-heights and more than what is used on the front-end.

    Thread Starter borismoggy

    (@borismoggy)

    Cheers Liam. Is it possible to force the editor to use the same CSS sheet?

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    One way would using add_editor_style()

    This article has a good overview of how it could be done: https://carriedils.com/add-editor-style/

    Thread Starter borismoggy

    (@borismoggy)

    Well I literally copied and pasted that text as it was written, uploaded my function.php file, and now the editor is twice as wide as it was and even worse now to edit with. *sigh*
    I deleted the lines I’d pasted and uploaded the function file again but now it won’t got back to normal grr.
    What did I do wrong?

    Thread Starter borismoggy

    (@borismoggy)

    I didn’t do this…

    In the function above, remove get_stylesheet_uri() and replace it with ‘your-custom-styles.css’ (in quotes).

    I presume then where I went wrong was I never told it where the style sheet was for my theme. The problem is, I have no idea where it is. Is it always in the same place?

    Thread Starter borismoggy

    (@borismoggy)

    OK I found my style sheet for the theme. The problem now is I have no idea how you write the uri for it?
    What form should it take?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Writing a post does not look the same as when it’s posted.’ is closed to new replies.