Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Customised CSS rendering differently in editor than on live website



Site URL: https://www.ossability.com/


I have been working on a website and customising it with CSS and HTML. It has gone live, but some of the features, specifically the blue / yellow underlines on the headings,  are placed perfectly in the editor seem to have shifted and moved on the live website. I'm not sure why as it still displays fine in the editor and in the preview.  

NOTE: We have since temporarily changed the code to look good on the live website, but in turn it messes up the formatting in the editor (as seen below).
editor.PNG.42d03620ef6b9b635c4899bca6ac2de3.PNGThis is seen in the editor and the preview
live.PNG.f8075e4dbbe847605ddf8bbaf9a7df95.PNGThis is seen on the live website (Desired)
This is the code used to make the blue underlines:

    content: "";
    position: absolute;
    bottom: 42px;
    height: 5px;
    width: 70px;

Does anyone have any advice on this? Why has this happened, and how can I make my editor the same as the live website?

Also, the lines move around a little depending on the size of the browser window (on laptop), and size of the screen (iPhones, tablets etc). Does anyone know why this happens, how, and can it be fixed?

Thank you!

Link to post
  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Posted Images

2 answers to this question

Recommended Posts

Create an account or sign in to comment

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

  • Create New...