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
- How do I make a shortcode to display Dokan seller badge list?
- How can we upload custom page files?
- Calling a PHP function from a menu item
- Hide or Show Read More Button by Content Area
- How to preserve PHP modifications while upgrading WordPress?
- Shortcode created to check language not works
- Listing all sub-pages?
- Recent post display using shortcode
- How can I use wp_insert_comment to write a comment when a post is edited?
- How do you add customer capability after Woocommerce purchase?
- functions.php is being included twice, creating PHP fatal errors
- How to put a variable in a instance in the widget
- how to remove metadata from the posts of my blog?
- get a simple array of all of the term names that exist in all taxonomies
- Show categories then when clicked on a category list all sub category and when clicked show all posts in that sub category
- How to store data from multiple forms using ajax and php
- How to control WordPress image metadata (using Imagick)?
- How create a Shortcode with hover and complex options
- WordPress Multiple Navigation bars
- Adding a widget function into the php theme file
- My new button is in the wrong place
- Call to undefined method – Download Monitor
- Copyright info change – Corporate Plus Theme PHP [closed]
- Inject class in body when particular page template is used
- How to list posts from a plugin taxonomy?
- Styling the second sidebar
- first instantiated SimplePie object cosumes 5mb?
- Theme not calling Jquery properly
- WordPress redirect redirecting too many times or not at all
- If Array Values Match Another Array’s Values, Then
- Open and closed function [closed]
- Need to Modify a WordPress Shortcode with another wordpress shortcode
- Need help removing […] after excerpt
- How to add aria role and schema markup to custom walker container
- Insert content into head tag with function
- Remove role of user after X days
- User filter posts by year
- bp-custom.php is not working on a WordPress multisite environment. how to fix it?
- Getting text from custom field from customizer
- Background image no longer fits to screen now that project is in php files
- Adding wp users ID into a link address from a DIVI modul
- Execute function only for specific user roles
- Limit Search to Product Pages only unless I’m on Blogpage or Blogposts
- WP query posts BUT show the most recent and one per author
- Block error message in foreach loop when looping through ACF field
- Include User ID in iFrame URL
- Outputting post content to jQuery .html() string
- I have a background-image in css file but don’t show in site.how to fix this prblm. i sent screenshot. thx
- shortcodes, custom php and their errors
- In a foreach loop, how can I add a meta value if it doesn’t exist?
- Remove node from multisites?
- How to include a function in a template with template tag
- wordpress all post filter by year
- How to add custom text near category/tag title in WordPress Twenty Fifteen Theme?
- user update profile for custom code
- How do I get the featured post to share on Social Media and show on Individual Post pages?
- Pulling a variable into the wp_nav_menu function
- Echo multiple tasks if a common function exists
- A Customizer checkbox control that sets the setting to “” or to “blank” and show() or hide() a color control
- Show contact 7 form in popup
- Issues separating my Plugin pages into different files
- How to customize posts in WordPress by using HTML and CSS?
- Blog listing not showing dates for every post and arrow missing off image
- Show div only if product has attribute
- hello can you advise how to fix the error?
- YouTube embeds Cross-Origin Request Blocked (CORB) error
- How to change post date and post time in WordPress automatically with a function
- How to get default variation ID (woocommerce)
- wordpress media library description column
- Image alt tag is showing post title instead of Alt Text
- Restricting page by user role
- Options of select field in a custom divi module ignore sorting