I assume, because you said that at first moment site is ugly and soon after that site looks fine that problem is in position of css in your HTML code. For example if you load external .css file in your footer it will load after everything above, so you will see your site “as ugly” because that part of your code is loaded before, and your browser do not now how to style your site, until it load css.
If that is the case, put your css in header of html. Also, if you provide site link I can see more.
Related Posts:
- Best way of adding CSS which can be manipulated by the user via theme option panels?
- Using PHP to toggle stylesheet and header image, set in cookie
- Shortcode content output but not in correct place
- Hide Hamburger Menu On Specific Page (Front Page/Home Page)
- How to style options page in dashboard?
- responsive.css in the WordPress should be prioritized
- height should be set to auto to avoid pixelation in the post thumbnail function
- How to make container class in PHP
- Creating a mobile site by adding a new class to the body tag from functions.php
- CSS change in woo commerce Place Order Text [closed]
- Problem with adding custom CSS class to image in ACF Photo Gallery plugin [closed]
- how to changes mobile menu toggle breakpoint in WordPress
- PHP function for horizontal Woocommerce thumbnails and badges
- Problem with displaying CSS Stylesheets – Am I adding them correctly in my wordpress child theme?
- I got big white screen when i attach main style sheet of Html in functions.php
- Site title not showing. Please help me
- PHP/CSS: Shortcode won’t display correctly, and only displays in the head (before content)
- Add class for the_post_thumbnail_caption()
- Displaying POST content with HTML tags and all
- Highlight Single Page Ancestor
- Styling admin page rows in order of importance (checkboxes)
- How to have Function of a plugin using global vars into a shortcode?
- Cant get theme to change footer color through theme customizer
- How to add margin underneath woocommerce total price amount -> productpages
- How do I get Roboto Google Font to display normal font-style? [closed]
- Integrating CSS Into a WP Function Call [closed]
- Load slideshow.css file only if Slideshow is checked / on
- Sorting Problem
- Calling a method from functions.php on a click of a button
- How to redirect users to custom lostpassword page?
- How to change featured content to a different tag in WordPress Twenty Fourteen?
- Can I write ‘RewriteCond’ using ‘functions.php’?
- How do I create comment-reply-button using element not
- How to add 2 posts under another post? Formatting should be intact
- WordPress menu deletes when trying to add a hook
- Overriding a theme redux file in child theme
- Validate a users email address when using gmail to register
- Get widget settings function?
- Archive dropdown styling not applied
- Making Quote Plugin more efficient
- Adding tawk.to code just before body tag on functions.php file
- allow subscribers to see private posts without plug in
- add_action shortcut?
- remove wp floating submenu in wp dashboard
- ACF: how do I get the fields and its values of a specific group?
- Get page that displays all children of taxonomy parent
- How can I get the values of my WordPress $wpdb query in Jquery?
- Function to capture a value and store it in a variable
- WordPress Quick Question . How to Get Parent Link in Submenu in My Code
- Is the “_s” on this `sprintf(__(‘Page %s’, ‘_s’), max($paged, $page))` just refer to a text domain?
- Exclude category
- What exactly do this function declared into functions.php file of a WP theme?
- Display Data in Table from External Database in WP using Shortcodes
- How to check if a Customizer setting is set?
- WordPress wp_add_inline_style unable to give hex colors?
- wordpress admin plugin menu custom css
- Remove item in Checkout
- Co-Authors Plus: How do I get all authors with a query?
- Why i can’t get custom fields value or post ID via Ajax?
- How to reference PHP in Javascript
- Fallback image URL if no featured image exists via a shortcode function
- Create special button on WP Tiny MCE Posts Editor for Shortcodes
- making php value numeric
- WP insert post Redirect after function has executed
- Timber right sidebar in WordPress theme
- How to assign page id with array in page_scheduled_event
- Uncaught TypeError: extract(): Argument #1 ($array) must be of type array, null given
- Store ajax data in PHP variable
- comment_post (if comment is approved OR $comment_approved === 1) not working?
- Cannot find the php_ini configuration file to find my error log to see why my code is not working
- How to Send Pingbacks for all Posts in WordPress?
- Adding Custom css file in the wp-uploads directory with custom php functions
- HTML comment cause issue in functions.php script root
- How can i create a function tag in my plugin
- Cannot dequeue Elementor Font Awesome css
- How to find and delete a menu item in php?
- Return newly created category by code
- WordPress Ajax filter: Create two loops for different output styles?
- Hook into all password resets in WordPress and get password before hashing?
- How to call a function from functions.php with ajax?
- How to sort (orderby) a query done by a template function before the ‘foreach’ loop?
- Dropdown menu on custom menu
- Showing wordpress latest post thumbnails in slider with auto increment
- How can the searchform.php know if it’s used on a registered sidebar id ‘sidebar-1’ or ‘sidebar-2’?
- Custom Thumbnails [closed]
- My function echos only “array”
- Notify admin (by email) if post added with specific tag
- WordPress get_post_meta issue
- Woocommerce Price Text
- Limit Taxonomy Parents
- Display pages from specific page template
- How to add button to top of theme customizer?
- Sidebar doesnt get updated?
- Send foreach $_post method to contact form 7 [closed]
- Options.php loop won’t show!
- Predefine Magazine Style Layouts
- Contact form with dynamic dropdown and filter
- Critical Error customiser
- /page/2/ redirect to 404
- How to pass value to add_filter wpcf7_form_tag from another function?