Hello,
I’m working on a portfolio website that I created with Create React App. It is deployed here:
The problem is that although the CSS on my local machine (localhost) works fine, it does not look the same when deployed. The CSS on the deployed site looks bad.
For example, on my localhost, my Contact Page looks like this (top left picture in screenshot below).
I’m still working on the CSS so ignore the fact that it does not look great; but as you can see, it looks fine here.
This is the same Contact Page from the deployed site (Adolf Schmuck) (bottom two pictures in screenshot):
As you can see in the bottom left picture, the styles are totally different, and the top of the Contact Form is missing. The font size is also bigger (“Your email will never be shared with anyone else”).
You’ll notice that the footer is also not the same (bottom right picture - it’s thicker.
(Sorry if the picture is not easy to see - I was only allowed to upload one image, so I put them all in one image).
Also, on my About Page, I have four paragraphs of Lorem ipsum text, but on the deployed site, none of these paragraphs show - it’s an empty page, except for the “About”
.
I am using Bootstrap (React Bootstrap) on my site. My landing page is okay. But also, I do not use Bootstrap on the landing page. I don’t know if that would have anything to do with my CSS issue, but I thought I should mention this.
I tried looking online and in this community forum for a solution, but I was unable to find a solution that worked for me, and I’m still having this issue.
I look forward to any suggestions on how to fix this issue. If it helps, this is the link to my GitHub code repo:
Please let me know if you need any other information.
Thank you very much,
Adolf