capitaine_moyen
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Twenty Seventeen] Brak zdj?? przewijanych na stronie g?ównejForum: Themes and Templates
In reply to: [Twenty Seventeen] Brak zdj?? przewijanych na stronie g?ównejSalut,
Changing the header image in twenty seventeen
Hi, no fix for me but i do that in custom css and now is fixed : –>(15, 15, 15, 0);
.entry-content a, .entry-summary a, .widget a, .site-footer .widget-area a, .posts-navigation a, .widget_authors a strong {
-webkit-box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 0);
box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 0);
-webkit-transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
transition: color 80ms ease-in, box-shadow 130ms ease-in-out;
transition: color 80ms ease-in, box-shadow 130ms ease-in-out, -webkit-box-shadow 130ms ease-in-out;
}
.entry-content a:hover, .entry-summary a:hover, .widget a:hover, .site-footer .widget-area a:hover, .posts-navigation a:hover, .widget_authors a strong {
-webkit-box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 0);
box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 0);
-webkit-transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
transition: color 80ms ease-in, box-shadow 130ms ease-in-out;
transition: color 80ms ease-in, box-shadow 130ms ease-in-out, -webkit-box-shadow 130ms ease-in-out;
}Forum: Plugins
In reply to: [Advanced Twenty Seventeen] Remove image hover underlinesame but resolved with custom css (15, 15, 15, 0);
.entry-content a, .entry-summary a, .widget a, .site-footer .widget-area a, .posts-navigation a, .widget_authors a strong {
-webkit-box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 0);
box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 0);
-webkit-transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
transition: color 80ms ease-in, box-shadow 130ms ease-in-out;
transition: color 80ms ease-in, box-shadow 130ms ease-in-out, -webkit-box-shadow 130ms ease-in-out;
}
.entry-content a:hover, .entry-summary a:hover, .widget a:hover, .site-footer .widget-area a:hover, .posts-navigation a:hover, .widget_authors a strong {
-webkit-box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 0);
box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 0);
-webkit-transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
transition: color 80ms ease-in, box-shadow 130ms ease-in-out;
transition: color 80ms ease-in, box-shadow 130ms ease-in-out, -webkit-box-shadow 130ms ease-in-out;Forum: Themes and Templates
In reply to: [Oren] How does the portfolio home page decides to randomize?hi, of with a child theme in template-home.php :
~line 139
‘orderby’ => ‘menu_order’,
‘order’ => ‘ASC’,
change for —>
‘orderby’ => ‘date’,
‘order’ => ‘DESC’,
of others –>
https://codex.www.ads-software.com/Class_Reference/WP_Query
en check –> Order & Orderby ParametersForum: Plugins
In reply to: [WP Mobile Menu - The Mobile-Friendly Responsive Menu] Hidden Page NavDamn dot …
Perfect !
Thanks
Forum: Themes and Templates
In reply to: [Oren] oren menu and footer problemsHi, thanks
I noticed that by adding custom class css options in the wordpres menus, the display problem was also present (class=”last-menu … etc”)
and with a child theme the css font for the h2 title on the portofolio’s thumbnails is not working, it looks like it takes only the bootstrap css (30px blue)
same for menu css with child theme (body: 16px/26px not working, but body bootsratp css 14px)
Forum: Hacks
In reply to: Embedding Recent Posts Outside of WordPresswithout php I do not think that is possible
for your iframe this is cool:
<script type="text/javascript"> /* iFrame SSI IV - iframe auto-resize height script * ?2008 John Davenport Scheuer * This notice must remain for legal use. */ function sizeFrame(){ if(document.getElementsByTagName('frameset').length||!document.getElementsByTagName('iframe').length) return; var frEls=document.getElementsByTagName('iframe'), s='scrollHeight', frObs=window.frames, o='offsetHeight', b='body', de='documentElement'; for (var cs, hb, hd, d='document', i = frEls.length-1; i > -1; --i){ if(frObs[i][d][b].style.overflow) cs=frObs[i][d][b].style.overflow; frObs[i][d][b].style.overflow='hidden'; frEls[i].height=10; frEls[i].height=Math.max(frObs[i][d][b][o], Math.max(frObs[i][d][de][o], (hd=frObs[i][d][de][s]) != (hb=frObs[i][d][b][s])? Math.max(hd, hb):0))+ (frEls[i].height==frEls[i].offsetHeight&&frEls[i].getAttribute('frameborder',0)!=='0'?4:0); frObs[i][d][b].style.overflow=typeof cs=='string'? cs : ''; }; if(!sizeFrame.setup){ for (var i = frEls.length-1; i > -1; --i) sizeFrame.loadup(frEls[i]); sizeFrame.setup=true; }}; sizeFrame.loadup=function(o){ if ( typeof window.addEventListener != "undefined" ) o.addEventListener( "load", sizeFrame, false ); else if ( typeof window.attachEvent != "undefined" ) o.attachEvent( "onload", sizeFrame ); else { if ( o.onload != null ) { var oldOnload = o.onload; o.onload = function(e) { oldOnload(e); sizeFrame(); }; } else o.onload = sizeFrame; }}; if(document.getElementsByTagName&&window.frames) sizeFrame.loadup(window); </script>
Forum: Hacks
In reply to: wp query/loop et du saucissonOK resolved by :
here the code :
<?php $args = array( 'parent' => 3 // for my ); $cats = get_categories( $args ); $posts = array(); $query = new WP_Query(); foreach ($cats as $cat){ $query->query( 'posts_per_page=1&cat=' .$cat->term_id ); if ($query->have_posts()) { $query->the_post(); $posts[] = get_the_ID(); } } wp_reset_query(); $ids = array($posts[0],$posts[1],$posts[2],$posts[3],$posts[4]); // for my 5 sub-cat, warning your reading options, the pages should display at most: also 5 query_posts(array('post__in' => $ids)); while (have_posts()): the_post(); ?> <li> <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a><?php comments_popup_link('0 commentaire', '1 commentaire', '% commentaires', 'comments-link', 'Les commentaires sont fermés'); ?></h3> <p class="bmtimeo"><?php the_time('j F Y'); ?> par <?php the_author(); ?> | catégorie: <span class="home_cat_title_black"><?php the_category(', '); ?></span></p> <?php the_excerpt(); ?> </li> <?php endwhile; ?>