html - CSS - Two stylesheets rendering one after other (Opencart) -



html - CSS - Two stylesheets rendering one after other (Opencart) -

i having issue here driving me crazy. on website, seems loading , rendering 1 css file, loading css overrides have created in luke.css afterwards alter website how want it. if navigate my website here, see cream colour loads first on left sidebar, afterwards overwritten styles.

i have never had issue before! created 'child' stylesheet theme installed on opencart scheme upgradable rather editing core files.

i have fiddle of snippet of header.tpl file here see if can see causing issue.

my first thought was because there 2 stylesheets 1 after other - merged 2 stylesheets [no solution]

secondly, thought may because of order of css files in header - moved them next each other luke.css lastly [no solution]

i have less compiler on oc dashboard in honestly, not exclusively sure how utilize or benefits code have. if recommend compiling pre-processor allow me know.

you have stylesheet @ bottom of page, right before </body>. stylesheet sets background color of page white.

what happening browser has load lots of javascript before reaches end of body. renders entire page briefly; find needs alter background color.

move stylesheet (in fact, move of stylesheets) within <head> section before scripts.

html css opencart

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

Is there a way to convert an HTML page styled with Bootstrap CSS into email-compatible html? -