WordPress.org

Ready to get started?Download WordPress

Forums

Inherent CSS for WordPress (21 posts)

  1. amitmohanty
    Member
    Posted 9 years ago #

    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

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

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

  3. amitmohanty
    Member
    Posted 9 years ago #

    uppss... i have set the server on my desktop.. i wanted to save a lil bit of bandwidth :D 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

  4. Mark (podz)
    Support Maven
    Posted 9 years ago #

    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>

  5. amitmohanty
    Member
    Posted 9 years ago #

    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

  6. Mark (podz)
    Support Maven
    Posted 9 years ago #

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

  7. amitmohanty
    Member
    Posted 9 years ago #

    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!!!!

  8. amitmohanty
    Member
    Posted 9 years ago #

    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

  9. moshu
    Member
    Posted 9 years ago #

    Does your host offer CPanel as "control panel"?

  10. clay
    Member
    Posted 9 years ago #

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

  11. amitmohanty
    Member
    Posted 9 years ago #

    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????

  12. Mark (podz)
    Support Maven
    Posted 9 years ago #

    amitmoh_blog is the one you need.

  13. moshu
    Member
    Posted 9 years ago #

    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!

  14. amitmohanty
    Member
    Posted 9 years ago #

    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

  15. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Check step 4 in moshu's post - that's the key step.

  16. amitmohanty
    Member
    Posted 9 years ago #

    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

  17. amitmohanty
    Member
    Posted 9 years ago #

    now what is this all about ? :(
    Warning: Cannot modify header information - headers already sent by (output started at /home/amitmoh/public_html/blog/wp-config.php:39) in /home/amitmoh/public_html/blog/wp-login.php on line 123
    Warning: Cannot modify header information - headers already sent by (output started at /home/amitmoh/public_html/blog/wp-config.php:39) in /home/amitmoh/public_html/blog/wp-login.php on line 124
    Warning: Cannot modify header information - headers already sent by (output started at /home/amitmoh/public_html/blog/wp-config.php:39) in /home/amitmoh/public_html/blog/wp-login.php on line 126
    Warning: Cannot modify header information - headers already sent by (output started at /home/amitmoh/public_html/blog/wp-config.php:39) in /home/amitmoh/public_html/blog/wp-login.php on line 127
    Warning: Cannot modify header information - headers already sent by (output started at /home/amitmoh/public_html/blog/wp-config.php:39) in /home/amitmoh/public_html/blog/wp-login.php on line 128
    Warning: Cannot modify header information - headers already sent by (output started at /home/amitmoh/public_html/blog/wp-config.php:39) in /home/amitmoh/public_html/blog/wp-login.php on line 129
    Warning: Cannot modify header information - headers already sent by (output started at /home/amitmoh/public_html/blog/wp-config.php:39) in /home/amitmoh/public_html/blog/wp-login.php on line 149

  18. amitmohanty
    Member
    Posted 9 years ago #

    well..okay oay...i sorted this out myself..by searching the support site..now its okay

  19. moshu
    Member
    Posted 9 years ago #

    little bit of white space, eh? :)

  20. moshu
    Member
    Posted 9 years ago #

    Now this is great..u guys exactly knwo where i am making the mistake

    yep:) because this is approx. the 10th time that I have to tell CPanel users: Hey, click on Add user... LOL
    (and I started to post here just for a few days or so)

  21. Mark (podz)
    Support Maven
    Posted 9 years ago #

    That one cpanel 'feature' is responsible for tons of frustration.... it's not even remotely intuitive.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.