aian
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Hueman] Bullets CSS won't changeResolved, thanks
Forum: Themes and Templates
In reply to: [Hueman] Bullets CSS won't changeI’m using the cache engine of Wordfence plugin.
I will clear the cache right away for you, just to make sure.If you check the font with Firebug, it shows up as Open Sans.
But if you look at it, it looks like Times New Roman.
Is that the case for you too?Forum: Themes and Templates
In reply to: [Hueman] Bullets CSS won't changeI removed it temporarily so that you could see the initial CSS.
Now it’s back on.
The answer to your question is yes, it’s still there.To clarify, Chrome seems to be working fine, but Firefox doesn’t.
Maybe that helps somehow?Forum: Themes and Templates
In reply to: [Hueman] Bullets CSS won't changeOn this page, I change the CSS from:
.entry ol, .entry ul { margin: 0 0 15px 30px; }
to
.entry ol, .entry ul { color: #777; font-family: Open Sans; font-size: 16px; margin: 0 0 15px 30px; }
but after saving, it doesn’t change to Open Sans
Forum: Themes and Templates
In reply to: [Hueman] Bullets CSS won't changeI’m using the CSS Editor, which edits the child theme’s CSS.
Forum: Themes and Templates
In reply to: [Hueman] Split loop and add a section between posts on home pageFound it!
I removed the CSS entry completely
.my-ad-widget { float:left; }
It now works perfectly.
Thank you so much!
Forum: Themes and Templates
In reply to: [Hueman] Split loop and add a section between posts on home pageI think I found (part of) what’s wrong.
The code needs to be in php tags
<div class="pad group"> <?php echo '<div class="my-ad-widget">'; // create the widget div dynamic_sidebar('sidebar-ads1'); // show the widget echo '</div>'; // close the widget div ?> <?php get_template_part('inc/featured'); ?>
Now the widget appears, but it also shows a massive gap between the bottom of the widget and the first two regular posts, and it hides the featured post completely.
Almost there…
Forum: Themes and Templates
In reply to: [Hueman] Split loop and add a section between posts on home pageHere’s the code, if it may be of any help
<?php get_header(); ?> <section class="content"> <?php get_template_part('inc/page-title'); ?> <div class="pad group"> echo '<div class="my-ad-widget">'; // create the widget div dynamic_sidebar('sidebar-ads1'); // show the widget echo '</div>'; // close the widget div <?php get_template_part('inc/featured'); ?> <?php if ( have_posts() ) : ?> <?php if ( ot_get_option('blog-standard') == 'on' ): ?> <?php while ( have_posts() ): the_post(); ?> <?php get_template_part('content-standard'); ?> <?php endwhile; ?> <?php else: ?> <div class="post-list group"> <?php $i = 1; // initialize the post counter echo '<div class="post-row">'; // create the post-row div while ( have_posts() ): the_post(); ?> <!-- while we have posts --> <?php get_template_part('content'); ?> <!-- display the post --> <?php if ($i % 2 == 0) { // if we've shown 2 posts echo '</div>'; // close this post-row div // BEGIN insert my custom widget after 6 posts if ($i % 6== 0) { // if we've displayed 6 posts echo '<div class="my-ad-widget">'; // create the widget div dynamic_sidebar('sidebar-ads1'); // show the widget echo '</div>'; // close the widget div } // END insert my custom widget echo '<div class="post-row">'; // create the next post-row div } $i++; // increment the post counter endwhile; echo '</div>'; // close the trailing post-row div ?> </div><!--/.post-list--> <?php endif; ?> <?php get_template_part('inc/pagination'); ?> <?php endif; ?> </div><!--/.pad--> </section><!--/.content--> <?php get_sidebar(); ?> <?php get_footer(); ?>
Forum: Themes and Templates
In reply to: [Hueman] Split loop and add a section between posts on home pageIt is not working properly (because I’m definitely doing something wrong here).
If I follow the instructions in this post, it all goes fine: the widget appears as follows:
Featured post
post | post
post | post
post | post
widgetBut after I move the code you mentioned last in your post above it doesn’t work properly. Here’s what I see in the site:
https://oi58.tinypic.com/1jb8nk.jpg
The widget reappears correctly like before
xxxxxx <<<<-error
Featured post
post | post
post | post
post | post
widget <<<<<-hereWhat am I doing wrong?
Forum: Themes and Templates
In reply to: [Hueman] Split loop and add a section between posts on home pageIf I wanted to do this without the use of dynamic sidebars, would I still use the code in the last part of your reply, or is it a differnt code for that?
Forum: Themes and Templates
In reply to: [Hueman] Split loop and add a section between posts on home pageSorry to revive this old thread.
I would like to have a similar setup:widget 1
Featured post
post | post
post | post
widget 2
post | post
post | post
widget 2
post | post
post | postIs that possible?
What should I change in bdbrown’s code above to get this?Thanks in advance
Forum: Themes and Templates
In reply to: [Hueman] Center mobile nav iconYes, I saw this thread as resolved and I thought it wouldn’t be monitored any longer so I opened a different one. Apologies for that and thank you for your time.
Forum: Themes and Templates
In reply to: [Hueman] Center the header menuPerfect! Thank you very much!
Forum: Themes and Templates
In reply to: [Hueman] Center mobile nav iconReturning to ask, can the same be done with the menu as well?
I mean, when not in mobile view, is there a way to center the menu instead of having it aligned to the left?
Using a child theme.
Forum: Themes and Templates
In reply to: [Hueman] Center mobile nav iconThat’s fantastic, thank you so much!