South Africa’s biggest forum. Discuss, discover, and connect with thousands of members.
On visual studio trying to open folder "working" with the website inside
View attachment 237516
Then I go to file open website:
View attachment 237518
Then I navigate to the folder containing the website:
View attachment 237520
Then I just get a blank page with nothing:
View attachment 237522
300 lines for a .css is very tiny, just btw.
300 lines for a .css is very tiny, just btw.
Here we go this is my EXACT issue/question/situation
https://css-tricks.com/authoring-critical-fold-css/
I think you need to simplify this as much as possible.
You know you need to load certain classes before others. No one else can figure this out for you, and you can't figure out "critical" classes unless you define them.
Create a critical.css, load it first. Then load the rest.
It's really that simple.
Header + background + block elements as critical. The rest as non crit.
View attachment 237572
<style>
CRITICAL STYLES
</style>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/styles.css" rel="stylesheet">
That might do the trick. Rather take other peoples advice though. This is new to me too.
Those are two images, can't really put that in the <head> section?
Not the images, the styles that are placing those images there.
<div class="row">
<div class="col-lg-6 hidden-sm hidden-xs">
<a href="reseller.html" class=""><img src="/img/resellerbtn.png" class="img-responsive" alt="Responsive image"></a>
</div>
<div class="col-lg-6">
<img src="/img/banner.png" class="img-responsive" alt="Responsive image">
</div>
</div>
So instead of having the styles "col-lg-6 hidden-sm hidden-xs, col-lg-6" in your css file. add it in the Head.