radhika
Forum Replies Created
-
when you upload the logo in custom header then you click on uploaded image.
Forum: Themes and Templates
In reply to: Sidebar Appearing At Bottom Of Page; Posts Appear in SidebarYou have to replace the code of index.php by this code of your theme. Perhaps you will be some changes in index.php due to which error is coming.
Replace the code of index.php:<?php if (have_posts()) : ?> <div id="posts"> <?php while (have_posts()) : the_post(); ?> <div class="post"> <?php if(is_single()) { ?> <div class="title"> <h2><?php the_time('l jS F Y'); ?></h2> <span class="date">by <?php the_author(); ?></span> </div> <?php } else { ?> <div class="title"> <h2><a href="<?php the_permalink() ?>" title="<?php the_title() ?>"><?php the_title() ?></a></h2> <span class="date"><?php the_time('d M Y'); ?></span> </div> <?php } ?> <div class="entry"> <?php the_content('Keep reading…'); ?> <?php wp_link_pages(); ?> <?php the_tags('<p>Tags: ',', ','</p>'); ?> </div> </div> <div class="sep">· · · ◊ ◊ ◊ · · ·</div> <?php comments_template(); ?> <?php endwhile; ?> <div class="navigation"> <div class="alignleft"><?php next_posts_link('« Previous Entries') ?></div> <div class="alignright"><?php previous_posts_link('Next Entries »') ?></div> </div> </div> <div class="months"> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) { ?> <div class="title">Category</div> <?php wp_page_menu(array('depth' => 1)); ?> <div class="title"> <?php if (($category_link = dd_get_page_link_by_slug('category')) != '#') { ?><a href="<?php echo $category_link; ?>">Category</a><?php } else { ?>Category<?php } ?> </div> <ul> <?php wp_get_category(); ?> </ul> <?php } ?> </div> <?php else : ?> <!-- No Posts Found --> <?php endif; ?>
Forum: Themes and Templates
In reply to: change header size for Modularity Lite themePlease mention your site link.
Forum: Localhost Installs
In reply to: MAMP now what?Firstly you have to move the wordpress folder (Application/MAMP/htodocs/). And follow this link installing wordpress.
Forum: Fixing WordPress
In reply to: to display pages on the menu[request moderated – please keep the support within the forum] And tell me where are you want to see the menu in your theme ?
@theslenderstudent
According your theme you have to delete some line in your header.php file such as:<?php $header_image = get_header_image(); if ( ! empty( $header_image ) ) { ?> <img src="<?php header_image(); ?>" width="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT; ?>" alt="" /> <?php } // if ( ! empty( $header_image ) ) ?>
And add this code in your header.php file:
<?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?> <<?php echo $heading_tag; ?> id="site-title"> <span> <a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a> </span> </<?php echo $heading_tag; ?>>
After this, you have to edit in style.css of your theme:
#site-title { float: left; padding: 10px 0; width: 960px; } #site-title a { color: #000; font-weight: bold; text-decoration: none; font-size: 180px !important; display: block; text-indent: -999em; background: url('image.jpg'); //path of your image height:200px; }
Forum: Themes and Templates
In reply to: removing sidebar and expand main contentForum: Themes and Templates
In reply to: Change background color only on sides?you have to edit the background color of the body in style.css of your theme.
`body{
background: #fff !important;
}If you want to display the posts of a specific category then you have to add the specific category_id in your blog page template. Such as:
<?php $wp_query = new WP_Query(); $wp_query->query( array ( 'cat' => 5, 'posts_per_page' => get_option( 'posts_per_page' ), 'paged' => $paged ) ); $more = 0; ?>
Forum: Themes and Templates
In reply to: [Simple Catch] [Theme: Simple Catch] Logo SizingSorry i was wrong. you have to change only in style.css of your theme.
Add in style.css:h1#site-title a img { max-height: 190px; //add the max-height a/c to you }
Forum: Themes and Templates
In reply to: Creativix menu barYou have to add the class in style.css of your theme.
The menu bar color :. navigation{
background: #eef !important;
}And the slider bar color:
#slide_wrapper{
background: #eef !important;
}Forum: Themes and Templates
In reply to: [Simple Catch] [Theme: Simple Catch] Logo SizingFirstly you have to commented the function ‘simplecatch_headerdetails();’ which define in header.php file of your theme . After this you can use this code in ‘header.php’ file to define the size of the logo. This code will be used after this class ‘layout-978’:
<div class="logo_wrap"> <span> <a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a> </span> </div>
And you also add the class in style.css of your theme :
/*add the logo class*/
.logo_wrap{
margin: 8px 0 15px 0;
float: left;
font-size: 30px;
line-height: 36px;
width: 169px;
height: 78px;
}
.logo_wrap a {
color: #000;
font-weight: bold;
text-decoration: none;
display: block;
width: 90px;
height: 89px;
text-indent: -999em;
background: url(images/logo.png) no-repeat;
}Forum: Themes and Templates
In reply to: Padding text sidebaryou have to add a class in style.css file of your theme. And add the padding & margin in the class:
.socialmedia-buttons{……}
Forum: Plugins
In reply to: how to create our own plugins for wordpressYou can create a plugin yourself using this link(create-wordpress-plugin). Also see this for a very basic plugin.
Forum: Themes and Templates
In reply to: [Themolio] Themolio- where do I edit the default font size?You have to edit the body font in style.css file of your theme. Do the following addition in style.css:
/*add here the font-family according to you*/
body
{
font-family: Tenor Sans;
}