Forum Replies Created

Viewing 15 replies - 1 through 15 (of 21 total)
  • Thread Starter cuthza

    (@cuthza)

    Thanks, but is there a way to make it fluid? Eg. push down when it’s needed to, but when the top bar goes away, it slides back up again?

    Thread Starter cuthza

    (@cuthza)

    I’m using the sticky menu, but the Hello Bar still covers the sticky menu. I would like the sticky menu to appear below Hello Bar if possible.

    So it worked for me once my webhost temporarily disabled ModSecurity, if that helps anyone.

    I’m trying to get my web host to help, but they don’t seem to know what to do.

    Thread Starter cuthza

    (@cuthza)

    You are a star! Thank you this worked perfectly.

    Thread Starter cuthza

    (@cuthza)

    Thanks, will do so.

    Thread Starter cuthza

    (@cuthza)

    Nope, I deleted my child theme as it was super old.

    Here are the contents of the edits I had made in the child theme. If you can see what was causing the problem that would be so useful.

    Stylesheet

    /* Global */
    .mystyle {}
    
    /* Tablet - 800px, 768px & 720px */
    @media only screen and (min-width: 720px) and (max-width: 800px) {
    	.mystyle {}
    }
    
    /* Mobile - 480px & 320px */
    @media only screen and (max-width: 719px) {
    	.mystyle {}
    .search-expand {
            left: 55px !important;
            right: auto;
            top: 0 !important;
            width: 320px;
        }
    }
    
    /* Mobile - 320px */
    @media only screen and (max-width: 479px) {
    	.mystyle {}
    }
    
    /* Fonts */
    
    	.entry {
    		color: #222;
    		font-family: PT Serif, Latin-Ext;
    		font-size: 19px;
    
    }
    
    	.entry.excerpt {
    		color: #222;
    }
    
    /* Other */
    
    /* set topbar to fixed instead of scroll */
    
    .full-width #nav-topbar.nav-container {
        position: initial;
    }
    .full-width.topbar-enabled #header {
        padding-top: 0;
    }
    
    /* Byline Avatar Style */
    
    /* position avatar next to post byline */
    
    .single .byline-avatar {
        float: left;
        margin: 0 1px 12px 0;
        width: 64px;
        height: auto;
        position: relative;
    }
    
    /* make byline avatar a circle */
    
    .single .byline-avatar img {
        width: 80%;	/* adjust size of image if needed */
        height: auto;
        float: left;
        margin-right: 10px;	/* adjust space around image */
        border-radius: 50%;
        -webkit-shape-outside:circle();
        shape-outside:circle();
    }
    
    /* push byline down to center vertcally on avatar */
    
    .single .post-byline {
        margin-top: 22px;
    }
    
    /* move search box to navigation bar */
    .search-expand {
        right: 55px;
        left: auto;
        top: -50px;
        width: 320px;
    }
    .search-expand-inner {
        padding: 5px;
    }
    
    /* related posts settings */
    
    div#jp-relatedposts div.jp-relatedposts-items-visual .jp-relatedposts-post {
    	filter: alpha(opacity=100);
    	-moz-opacity: 1;
    	opacity: 1;
    }
    div#jp-relatedposts div.jp-relatedposts-items div.jp-relatedposts-post:hover {
    	filter: alpha(opacity=80);
    	-moz-opacity: 0.8;
    	opacity: 0.8;
    }
    
    #jp-relatedposts {
    	font-family: Arial;
    
    }
    
    #jp-relatedposts h3.jp-relatedposts-headline em {
    	font-size: 20px;
    
    }
    
    #jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title {
    	font-size: 16px;
    	padding-top: 5px;
    
    }
    
    /* white caption borders */
    
    .entry .wp-caption {
    	background: white;
    
    }
    
    /* caption text alignment */
    
    .entry .wp-caption-text {
    	text-align: left;
    	padding: 0 0 8px 8px;
    }

    Functions

    function featuredtoRSS($content) {
    global $post;
    if ( has_post_thumbnail( $post->ID ) ){
    $content = '<div>' . get_the_post_thumbnail( $post->ID, 'large', array( 'style' => 'margin-bottom: 15px;' ) ) . '</div>' . $content;
    }
    return $content;
    }
    
    add_filter('the_excerpt_rss', 'featuredtoRSS');
    add_filter('the_content_feed', 'featuredtoRSS');
    
    function no_self_ping( &$links ) {
    	$home = get_option( 'home' );
    	foreach ( $links as $l => $link )
    		if ( 0 === strpos( $link, $home ) )
    			unset($links[$l]);
    }
    
    add_action( 'pre_ping', 'no_self_ping' );
    
    ?>

    Single

    <?php get_header(); ?>
    
    <section class="content">
    
    	<?php get_template_part('inc/page-title'); ?>
    
    	<div class="pad group">
    
    		<?php while ( have_posts() ): the_post(); ?>
    			<article <?php post_class(); ?>>
    				<div class="post-inner group">
    
    					<h1 class="post-title"><?php the_title(); ?></h1>
    					<p class="byline-avatar"><?php echo get_avatar(get_the_author_meta('user_email'),'128'); ?></p>
    					<p class="post-byline"><?php _e('by','hueman'); ?> <?php the_author_posts_link(); ?> · <?php the_time(get_option('date_format')); ?></p>
    
    					<?php if( get_post_format() ) { get_template_part('inc/post-formats'); } ?>
    
    					<div class="clear"></div>
    
    					<div class="entry <?php if ( ot_get_option('sharrre') != 'off' ) { echo 'share'; }; ?>">
    						<div class="entry-inner">
    							<?php the_content(); ?>
    							<?php wp_link_pages(array('before'=>'<div class="post-pages">'.__('Pages:','hueman'),'after'=>'</div>')); ?>
    						</div>
    						<?php if ( ot_get_option('sharrre') != 'off' ) { get_template_part('inc/sharrre'); } ?>
    						<div class="clear"></div>
    					</div><!--/.entry-->
    
    				</div><!--/.post-inner-->
    			</article><!--/.post-->
    		<?php endwhile; ?>
    
    		<div class="clear"></div>
    
    		<?php the_tags('<p class="post-tags"><span>'.__('Tags:','hueman').'</span> ','','</p>'); ?>
    
    		<?php if ( ( ot_get_option( 'author-bio' ) != 'off' ) && get_the_author_meta( 'description' ) ): ?>
    			<div class="author-bio">
    				<div class="bio-avatar"><?php echo get_avatar(get_the_author_meta('user_email'),'128'); ?></div>
    				<p class="bio-name"><?php the_author_meta('display_name'); ?></p>
    				<p class="bio-desc"><?php the_author_meta('description'); ?></p>
    				<div class="clear"></div>
    			</div>
    		<?php endif; ?>
    
    		<?php if ( ot_get_option( 'post-nav' ) == 'content') { get_template_part('inc/post-nav'); } ?>
    
    		<?php if ( ot_get_option( 'related-posts' ) != '1' ) { get_template_part('inc/related-posts'); } ?>
    
    		<?php if ( ot_get_option('post-comments') != 'off' ) { comments_template('/comments.php',true); } ?>
    
    	</div><!--/.pad-->
    
    </section><!--/.content-->
    
    <?php get_sidebar(); ?>
    
    <?php get_footer(); ?>
    Thread Starter cuthza

    (@cuthza)

    Thanks, I’m just concerned there is something I’m doing wrong with my website.

    Would it be a good idea then to manually submit the page in webmaster tools?

    Bing seems to index it fine.

    Thread Starter cuthza

    (@cuthza)

    I am using Yoast SEO. I have the sitemap of that disabled and I am using the Google XML Sitemap plugin by Arne Brachhold.

    Thread Starter cuthza

    (@cuthza)

    I don’t think it does.

    Thread Starter cuthza

    (@cuthza)

    Awesome. Thanks for your help! I will mark this as resolved.

    Thread Starter cuthza

    (@cuthza)

    Thanks for your help. They seem to be appearing in search results now.

    Should I include tags in my sitemap or just categories?

    Thread Starter cuthza

    (@cuthza)

    Cool, that seemed to work fine. If I submit my homepage to the index will it drawl all the other posts on the site too, or do I need to submit them individually?

    Thread Starter cuthza

    (@cuthza)

    I have my sitemap setup in Webmaster tools. I’m using Yoast. How would I manually submit a post and do I need to keep doing that?

    Thread Starter cuthza

    (@cuthza)

    Fantastic! I really need to up my CSS game, I find it fascinating.

    You have been extremely helpful, I really appreciate it.

Viewing 15 replies - 1 through 15 (of 21 total)