[HELP PHP and CSS coding ] Music Blog
-
First Id like to say Thank you to wordpress for its never-ending support to the commnunity. I think your new “Your WordPress” is a great idea and I hope it becomes a staple of what user can come to rely on when creating their sites. I plan to submit my final copy their for review upon completion of the site. I hope all my issues and bugs can be resolved in a timely matter. Me personally, I have been coding HTML for many years, but Im still relatively new to CSS, PHP, and WordPress, hence why Im here to look to the PROS for help ??
Now on to business.
site url:
TMP MuzikThis site is being created for my brother. The purpose of the site is to let him blog about his band TMP. Eventually it would host music samples in the sidebar for people to listening to.
1. Content section
– It should be centered, and the background color should be “BLACK”. I can only achieve the black background only if the sidebar is also black which is not what I want to do. Because for some reason I cannot seperate my sidebar div bar from my content div.html file:
<body> <div id="main_wrapper"> <div id="header"> <div id="tophead"> <p>Search</p> <img src="images/searchbox.jpg"> </div> <div id="header_inner"> <h5>Music is our passion</h5> <img src="images/logo.png"> </div><!-- end header_inner --> </div><!-- end header --> <div id="top"> </div> <div id="nav"> <div id="nav_inner"> <h6>Top Links</h6> <ul> <li><a href="#">Nav item 1</a></li> <li><a href="#">Nav item 2</a></li> </ul> <img src="images/navline.png"> <h6>Catergories</h6> <ul> <li><a href="#">Nav item 1</a></li> <li><a href="#">Nav item 2</a></li> </ul> <img src="images/navline.png"> <h6>Archives</h6> <ul> <li><a href="#">Nav item 1</a></li> <li><a href="#">Nav item 2</a></li> </ul> </div><!-- end nav_inner --> </div><!-- end nav --> <div id="content"> <div id="content_inner"> <p>hello</p> </div><!-- end content_inner --> </div><!-- end content --> <div id="footer"> <div id="footer_inner" > <p> © 2008 TMP Muzik <a href="https://www.wordpress.com"><em>Wordpress</em></a></p> <img src="images/arrows.png" class="floatRight" /> </div><!-- end footer_inner --> </div><!-- end footer --> </div><!--end main wrapper--> </body>
index.php file:
<?php get_header(); ?> <div id="content"> <?php get_sidebar(); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div id="post-<?php the_ID(); ?>"> <h2><a href="<?php the_permalink() ?>"> <?php the_title(); ?></a></h2> <div class="meta"> <?php _e("Posted in"); ?> <?php the_category(',') ?> by <?php the_author() ?> on the <?php the_time('F jS, Y') ?> <?php edit_post_link(__('Edit This')); ?></div> <div class="main"> <?php the_content(__('(more...)')); ?> </div> </div> <div class="comments"> <?php wp_link_pages(); ?> <?php comments_popup_link(__('<strong>0</strong> Comments'), __('<strong>1</strong> Comment'), __('<strong>%</strong> Comments')); ?> </div> <?php comments_template(); ?> <?php endwhile; else: ?> <div class="warning"> <p><?php _e('Sorry, no posts matched your criteria, please try and search again.'); ?></p> </div> <?php endif; ?> </div> <?php get_footer(); ?>
2. Comments
– When you click on a comment link only the content is displayed3. Header
– Where “Search” is should have a search bar right underneath it. Havent worked on that yet, but wanted to make it aware there is a purpose for that section.These are all the problems I can see, any additional comments, and suggestions would be greatly appreciated.
`Thank You
- The topic ‘[HELP PHP and CSS coding ] Music Blog’ is closed to new replies.