Title: aian's Replies | WordPress.org

---

# aian

  [  ](https://wordpress.org/support/users/aian/)

 *   [Profile](https://wordpress.org/support/users/aian/)
 *   [Topics Started](https://wordpress.org/support/users/aian/topics/)
 *   [Replies Created](https://wordpress.org/support/users/aian/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/aian/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/aian/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/aian/engagements/)
 *   [Favorites](https://wordpress.org/support/users/aian/favorites/)

 Search replies:

## Forum Replies Created

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

1 [2](https://wordpress.org/support/users/aian/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/aian/replies/page/3/?output_format=md) [→](https://wordpress.org/support/users/aian/replies/page/2/?output_format=md)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Hueman] Bullets CSS won't change](https://wordpress.org/support/topic/bullets-css-wont-change/)
 *  Thread Starter [aian](https://wordpress.org/support/users/aian/)
 * (@aian)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/bullets-css-wont-change/#post-6364682)
 * Resolved, thanks
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Hueman] Bullets CSS won't change](https://wordpress.org/support/topic/bullets-css-wont-change/)
 *  Thread Starter [aian](https://wordpress.org/support/users/aian/)
 * (@aian)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/bullets-css-wont-change/#post-6364660)
 * I’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](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Hueman] Bullets CSS won't change](https://wordpress.org/support/topic/bullets-css-wont-change/)
 *  Thread Starter [aian](https://wordpress.org/support/users/aian/)
 * (@aian)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/bullets-css-wont-change/#post-6364655)
 * I 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](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Hueman] Bullets CSS won't change](https://wordpress.org/support/topic/bullets-css-wont-change/)
 *  Thread Starter [aian](https://wordpress.org/support/users/aian/)
 * (@aian)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/bullets-css-wont-change/#post-6364651)
 * On [this](http://greekvids.com/yiannis-ritsos/) 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](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Hueman] Bullets CSS won't change](https://wordpress.org/support/topic/bullets-css-wont-change/)
 *  Thread Starter [aian](https://wordpress.org/support/users/aian/)
 * (@aian)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/bullets-css-wont-change/#post-6364646)
 * I’m using the CSS Editor, which edits the child theme’s CSS.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Hueman] Split loop and add a section between posts on home page](https://wordpress.org/support/topic/split-loop-and-add-a-section-between-posts-on-home-page/)
 *  [aian](https://wordpress.org/support/users/aian/)
 * (@aian)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/split-loop-and-add-a-section-between-posts-on-home-page/page/2/#post-5497795)
 * Found it!
 * I removed the CSS entry completely
 *     ```
       .my-ad-widget {
         float:left;
       }
       ```
   
 * It now works perfectly.
 * Thank you so much!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Hueman] Split loop and add a section between posts on home page](https://wordpress.org/support/topic/split-loop-and-add-a-section-between-posts-on-home-page/)
 *  [aian](https://wordpress.org/support/users/aian/)
 * (@aian)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/split-loop-and-add-a-section-between-posts-on-home-page/page/2/#post-5497794)
 * I 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](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Hueman] Split loop and add a section between posts on home page](https://wordpress.org/support/topic/split-loop-and-add-a-section-between-posts-on-home-page/)
 *  [aian](https://wordpress.org/support/users/aian/)
 * (@aian)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/split-loop-and-add-a-section-between-posts-on-home-page/page/2/#post-5497793)
 * Here’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](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Hueman] Split loop and add a section between posts on home page](https://wordpress.org/support/topic/split-loop-and-add-a-section-between-posts-on-home-page/)
 *  [aian](https://wordpress.org/support/users/aian/)
 * (@aian)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/split-loop-and-add-a-section-between-posts-on-home-page/page/2/#post-5497792)
 * It is not working properly (because I’m definitely doing something wrong here).
 * If I follow the instructions in [this](https://wordpress.org/support/topic/how-to-show-adsence-ads-in-front-page-articles?replies=4)
   post, it all goes fine: the widget appears as follows:
 * Featured post
    post | post post | post post | post widget
 * But 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:
 * [http://oi58.tinypic.com/1jb8nk.jpg](http://oi58.tinypic.com/1jb8nk.jpg)
 * The widget reappears correctly like before
 * xxxxxx <<<<-error
    Featured post post | post post | post post | post widget <
   <<<<-here
 * What am I doing wrong?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Hueman] Split loop and add a section between posts on home page](https://wordpress.org/support/topic/split-loop-and-add-a-section-between-posts-on-home-page/)
 *  [aian](https://wordpress.org/support/users/aian/)
 * (@aian)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/split-loop-and-add-a-section-between-posts-on-home-page/page/2/#post-5497790)
 * If 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](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Hueman] Split loop and add a section between posts on home page](https://wordpress.org/support/topic/split-loop-and-add-a-section-between-posts-on-home-page/)
 *  [aian](https://wordpress.org/support/users/aian/)
 * (@aian)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/split-loop-and-add-a-section-between-posts-on-home-page/page/2/#post-5497788)
 * Sorry 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 | post
 * Is that possible?
    What should I change in bdbrown’s code above to get this?
 * Thanks in advance
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Hueman] Center mobile nav icon](https://wordpress.org/support/topic/center-mobile-nav-icon/)
 *  Thread Starter [aian](https://wordpress.org/support/users/aian/)
 * (@aian)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/center-mobile-nav-icon/#post-6259019)
 * Yes, 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](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Hueman] Center the header menu](https://wordpress.org/support/topic/center-the-header-menu-1/)
 *  Thread Starter [aian](https://wordpress.org/support/users/aian/)
 * (@aian)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/center-the-header-menu-1/#post-6259930)
 * Perfect! Thank you very much!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Hueman] Center mobile nav icon](https://wordpress.org/support/topic/center-mobile-nav-icon/)
 *  Thread Starter [aian](https://wordpress.org/support/users/aian/)
 * (@aian)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/center-mobile-nav-icon/#post-6259010)
 * Returning 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](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Hueman] Center mobile nav icon](https://wordpress.org/support/topic/center-mobile-nav-icon/)
 *  Thread Starter [aian](https://wordpress.org/support/users/aian/)
 * (@aian)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/center-mobile-nav-icon/#post-6258882)
 * That’s fantastic, thank you so much!

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

1 [2](https://wordpress.org/support/users/aian/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/aian/replies/page/3/?output_format=md) [→](https://wordpress.org/support/users/aian/replies/page/2/?output_format=md)