Support » Installing WordPress » Inherent CSS for WordPress

  • Hmm…As I am thru the initial process of installing everythign and seeems that everything is working all right.
    I have one question. Does WordPress comes with an inherent CSS file or we have to download one ? I can see two CSS files in my “BLOG” folder named wp-layout.css and print.css, but my weblog page is as simple as I have no CSS. DO i have to link those files somewhere in the template?
    Regards,
    Amit

Viewing 15 replies - 1 through 15 (of 20 total)
  • Mark (podz)

    (@podz)

    Support Maven

    wp-layout.css controls the blog layout, and it should be working now.
    Can we have a link ?

    uppss… i have set the server on my desktop.. i wanted to save a lil bit of bandwidth 😀 as i have limitation on it. i will be soon uploading it to my webpage…
    but i am really sorry be see that there is not much of a lay out ..simple it is..white background and one right handside somethign is coming..its looks wired..i am sure..somehow it is not linking the CSS with it..
    Amit

    Mark (podz)

    (@podz)

    Support Maven

    It’s probably this line:
    <style type="text/css" media="screen">
    @import url( <?php echo get_settings('siteurl'); ?>/wp-layout.css );
    </style>

    For now, you could make that:
    <style type="text/css" media="screen">
    @import url(wp-layout.css );
    </style>

    COOL….worked…great…i will take another half an hour to load it to my website..can i import my old blogs from amitmohanty.blogspot.com to my website?? i guess this question would have been answered somewhere here.. i will search for it..thanx a lot for your help

    Mark (podz)

    (@podz)

    Support Maven

    Have a look here 🙂
    Importing Blogger Entries Into WordPress
    http://tutorials.bluechronicles.net/index.php?p=4

    great…i have started loving it….i love open source stuff and despise M$..he he…soon i will change it to Linux from XP :P..now if u all want to know why I am still having WIN on my comp then thing is tht I don’t have a installer of MATLAB for Linux and I need that piece of cool software for my thesis work. he he…
    cheers!!!!

    now one more thing.. i am getting help much quicker than my webhost..so i thought i may put this question here in the forum. as i am quite new in SQL, i have this problem. i went to mysql, an webbased icon as provided by my webhost in the ocntrol panel. i created a user “amit” with a password. and now in order to create a database for my blog i wanted a new database. though i have given full privileges to the user amit while creating it, it shows up can’t create the database from the phpMyAdmin2.5. I am not sure if i am logged on as the administrator or as the user amit when i click open it. it does give me a log out option, which i thought i would use to log out and then log in as amit . may be then i can create the database. but..lol…it takes me to some documentation page after i logout. i don’t get a login form..
    help needed..:P
    Amit

    Does your host offer CPanel as “control panel”?

    print.css is a simplified layout that creates a ‘print friendly’ page when a user prints something from the site

    yeah ..the Cpanel is the control panel. i tried to create one data base ..wanted to name it as blog ..but it was modified to amitmoh_blog…is that all right? actually my login name with the hosting company is amitmoh…so when i modify the file should i give the name of the database as amitmoh_blog or just blog????

    Mark (podz)

    (@podz)

    Support Maven

    amitmoh_blog is the one you need.

    OK, this is how it works.
    1. Yes, the DB name will always have a “prefix” which is your username, exactly as you posted.
    2. When you put the DB info in the config. file USE EXACTLY the DB name and username as you can see in the CPanel.
    3. If you have DB created, next step: create a DB user, e.g. “myuser” – it will also result in a username for DB, like mitmoh_myuser
    4. Now seeing the DB-name AND the DB-user in the drop-down stuff click on the Add user to DB button.
    5. After that you can proceed with the install!

    This is what my \blog\wp-cinfig.php looks…
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘amitmoh_blog’); // The name of the database
    define(‘DB_USER’, ‘amitmoh_amit’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘*******’); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
    with this….this is provided my control panel in the webhost site
    Access Hosts:
    67.18.204.162
    localhost
    r1.adminz.net
    Host (% wildcard is allowed):
    Still then I am getting the error
    Error establishing a database connection! This probably means that the connection information in your wp-config.php file is incorrect. Double check it and try again.
    * Are you sure you have the correct user/password?
    * Are you sure that you have typed the correct hostname?
    * Are you sure that the database server is running?
    Everythign works fine with my webserver hosted on my desktop though..:((
    Amit

    Mark (podz)

    (@podz)

    Support Maven

    Check step 4 in moshu’s post – that’s the key step.

    Now this is great..u guys exactly knwo where i am making the mistake..is anybody spying one my desktop ;)…actually i created both DB user and DB but never it occured to me that I should add the user to the database. actually i read again the 5mins installation and then figured out..man..i am doing somethign really stupid..lol..it works..thanx a lot guys..and if you are ard for few more mints..how about i give you my link of my blog..its nothign fancy thoug..but i will make it real cool in coming days..say 1-2..sounds cool..isn’t it:D…
    cheers..amit

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Inherent CSS for WordPress’ is closed to new replies.