Forums

[Thème: Minimatica] (7 posts)

  1. frenchflare
    Member
    Posted 9 months ago #

    Hi,

    I'd like to some help on the minimatica theme.

    My problem : I integrated a "like button" in the footer.php just here :

    <nav id="access" role="navigation">
     				<?php wp_nav_menu( array( 'theme_location'  => 'primary_nav', 'container_id' => 'primary-nav', 'container_class' => 'nav', 'fallback_cb' => 'minimatica_nav_menu' ) ); ?>
    <ul><div class="fb-like" data-href="http://www.facebook.com/FrenchflarePage" data-send="true" data-layout="button_count" data-width="450" data-show-faces="false"></div></ul>
    			</nav>

    As you can see on frenchflare.com the button appears way lower than the footer menu and not centered, but works fine.

    The thing is, i'd prefer to have it on the same line than the menu, but it seems to me that this piece of code looks for categories names.

    <div id="primary-nav" class="nav">
    		<ul>
    			<li><a href="<?php echo home_url(); ?>" rel="home"><?php _e( 'Home', 'minimatica' ); ?></a>
    
    </li>
    			<?php wp_list_categories( 'title_li=' ); ?>
    
    		</ul>
    	</div><!-- #primary-nav -->

    => So if someone has a solution to integrate it right after the last word of the menu, let me know
    => Second option would be to at least to center it and to reduce the space between those two.

    Thanks for your feedbacks.

  2. Andrew Nevins
    Volunteer Moderator
    Posted 9 months ago #

    You'll need to add some CSS but it looks like you have yet to create a child theme.
    http://codex.wordpress.org/Child_Themes

    Add the following styles to your child theme stylesheet

    .fb-like fb_edge_widget_with_comment.fb_iframe_widget{
     position: absolute;
     top: 4px;
    }
  3. frenchflare
    Member
    Posted 9 months ago #

    Thanks for the quick answer.
    I planned to build the child theme when i'd be done with my tunings... I guess if i don't update the theme in between it should work that way as well no ?

    If that's the only thing i had to do, I placed your new style on the existing minimatica stylesheet, but i don't see any change...

    Maybe it's just a matter of reloading cache, i'll wait a bit and let you know

  4. Andrew Nevins
    Volunteer Moderator
    Posted 9 months ago #

    Oops try this

    .fb-like.fb_edge_widget_with_comment.fb_iframe_widget{
     position: absolute;
     top: 4px;
    }
  5. frenchflare
    Member
    Posted 9 months ago #

    Works just fine! Thanks a lot.
    I just had to add a left shift, but that's exactly what i wanted.

    But now i found a good mentor, here's another of my issues :

    I want each post to be a pic gallery with the jetpack caroussel plugin.
    The thing is with minimatica you have to pick a thumbnail picture, so when i post a new article with a thumbnail this picture is duplicated.

    Do you know what to modify to disable the post of the thumbnail in the article ?

    => Subsidiary question : I found nothing about the Jetpack Comments VS Facebook compatibility. I already have a plugin that does the trick for general comments, but I found no way to link comments on pics from the caroussel to facebook.

    Thanks again

  6. Andrew Nevins
    Volunteer Moderator
    Posted 9 months ago #

    Sorry I am unfamiliar with this theme but I'm sure others more knowledgeable will help.

  7. frenchflare
    Member
    Posted 9 months ago #

    Great work on your website btw, looks really cool

Reply

You must log in to post.

About this Topic