WordPress.org

Ready to get started?Download WordPress

Forums

Spun
[closed] Created a custom page for category posts, circles got sloppy! (36 posts)

  1. Banjer
    Member
    Posted 7 months ago #

    This is what I mean

  2. Banjer
    Member
    Posted 7 months ago #

  3. Mag_ick
    Member
    Posted 7 months ago #

    Hi Amanda,

    I have looked at your site and you have the structure I want.
    A constantly visible heading ie no opacity/hover
    and I want my circles to go to pages rather than posts

    I have been trying to get the heading to change on and off for the past few weeks with no luck. I'm not sure if this is the "done" thing, but is it appropriate to ask for the code you have put in your child theme, so I can upload that? My current Style.css file is below, which I have put together from reading the style.css tutorial and copying code from forum posts.

    /*
    Theme Name:	spun child
     theme
    URI:	http://example.com/
    Description:	Child theme for spun theme
    Author:	 Magick
    Author URI:	http://example.com/about/
    Template:	spun
    Version:	0.1.0
    
    */
    @import url("../spun/style.css");
    
    */
     #masthead { opacity: 1; }
     #secondary { display: block; }
    
    .main-navigation a,
    #colophon,
    #colophon a {
     color: #999;
     font-family: sans-serif;
    }
    
    <?php /* Display Pages */ ?>
    
    			<?php query_posts('post_type=page'); ?>
    
    			<?php if ( have_posts() ) : ?>
    
    				<?php /* Start the Loop */ ?>
    
    				<?php while ( have_posts() ) : the_post(); ?>
    
    					<?php
    						/* Include the Post-Format-specific template for the content.
    						 * If you want to overload this in a child theme then include a file
    						 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
    						 */
    						get_template_part( 'content', 'home' );
    					?>
    
    				<?php endwhile; ?>
    				<?php /* Start the Loop */ ?>

    Any and all help welcome
    Magick

  4. ShaiRoelud
    Member
    Posted 7 months ago #

    Hi Amanda,

    I had a look at my CSS again and maybe if you try to copy everything I did that is related to my research page it might work. If it does work, you van delete stuff that you don't think you need. I think it's probably the .page-id-9 .hentry code.
    Just make sure you swap the id number in my code for the id number of your blog page:

    .page-id-9 #primary {
    	margin: 8em 13em 1.5em;
    	padding: 0;
    	width: 100%;
    }
    
    .page-id-9 #content {
    	margin:alignment-adjust:central;
    	width:40em;
    }
    
    .page-id-9 .hentry {
    height: auto;
    margin: 10px;
    padding: 0px;
    z-index: 10;
    float: left;
    width: 180px !important;
    }

    If this doesn't work, I'm afraid I have no clue how to help you unless I get a brilliant brain wave in the near future.

    Good Luck!

  5. amanduhb52
    Member
    Posted 7 months ago #

    That sort of worked. It moved my sloppy circles to the middle of the page. It's a start!

  6. arpit.comet
    Member
    Posted 2 months ago #

    Hi ShaiRoelud,

    I saw your website. And you create awesome theme, I need that theme. can you please sujjest me? or if possible to purchase theme?

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic