gfr77
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Forever] Forever Theme: Problem with slideNow it works
Forum: Themes and Templates
In reply to: [Spun] some change on css child theme in homepageThanks Caroline,
This code:
<article id="post-<?php the_ID(); ?>" <?php post_class( $postclass ); ?>> <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php echo $thumb; ?><?php the_title(); ?></a> </article><!-- #post-<?php the_ID(); ?> -->
It’s work very good, but i don’t now how to chenge in css the font-style, size, and position of this title in the circle.
Thanks a lot
Forum: Themes and Templates
In reply to: [Spun] some change on css child theme in homepageThanks Caroline,
My questions number 1 and 2 are now resolved thanks a lot!But i have some problems to put the post-title in front of the image.
I modify the content-home.php, this is the code that i introduce:
$thumb = get_the_post_thumbnail( $post->ID, 'post-thumbnail', array( 'title' => esc_attr( get_the_title() ) ) ) . '<span class="no-thumbnail">' . get_the_title() . '</span>';
Now all the content-home.php
<?php /** * @package Spun * @since Spun 1.0 */ /* * Get the post thumbnail; if one does not exist, try to get the first attached image. * If no images exist, let's print the post title instead. */ global $post; $postclass = ''; if ( '' != get_the_post_thumbnail() ) { /* $thumb = get_the_post_thumbnail( $post->ID, 'post-thumbnail', array( 'title' => esc_attr( get_the_title() ) ) ); */ $thumb = get_the_post_thumbnail( $post->ID, 'post-thumbnail', array( 'title' => esc_attr( get_the_title() ) ) ) . '<span class="no-thumbnail">' . get_the_title() . '</span>'; } else { $args = array( 'post_type' => 'attachment', 'numberposts' => 1, 'post_status' => null, 'post_mime_type' => 'image', 'post_parent' => $post->ID, ); $first_attachment = get_children( $args ); if ( $first_attachment ) { foreach ( $first_attachment as $attachment ) { $thumb = wp_get_attachment_image( $attachment->ID, 'post-thumbnail', false, array( 'title' => esc_attr( get_the_title() ) ) ); } } else { $thumb = '<span class="no-thumbnail">' . get_the_title() . '</span>'; $postclass = 'no-thumbnail'; } } ?> <article id="post-<?php the_ID(); ?>" <?php post_class( $postclass ); ?>> <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php echo $thumb; ?></a> </article><!-- #post-<?php the_ID(); ?> -->
But the home page not change, the name is not in front of the circle, what i’m doing wrong?
Thanks
Forum: Themes and Templates
In reply to: [Spun] Show post title over images during rolloverHello i use this code:
<?php /** * @package Spun * @since Spun 1.0 */ /* * Get the post thumbnail; if one does not exist, try to get the first attached image. * If no images exist, let's print the post title instead. */ global $post; $postclass = ''; if ( '' != get_the_post_thumbnail() ) { /* $thumb = get_the_post_thumbnail( $post->ID, 'post-thumbnail', array( 'title' => esc_attr( get_the_title() ) ) ); */ $thumb = get_the_post_thumbnail( $post->ID, 'post-thumbnail', array( 'title' => esc_attr( get_the_title() ) ) ) . '<span class="no-thumbnail">' . get_the_title() . '</span>'; } else { $args = array( 'post_type' => 'attachment', 'numberposts' => 1, 'post_status' => null, 'post_mime_type' => 'image', 'post_parent' => $post->ID, ); $first_attachment = get_children( $args ); if ( $first_attachment ) { foreach ( $first_attachment as $attachment ) { $thumb = wp_get_attachment_image( $attachment->ID, 'post-thumbnail', false, array( 'title' => esc_attr( get_the_title() ) ) ); } } else { $thumb = '<span class="no-thumbnail">' . get_the_title() . '</span>'; $postclass = 'no-thumbnail'; } } ?> <article id="post-<?php the_ID(); ?>" <?php post_class( $postclass ); ?>> <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php echo $thumb; ?></a> </article><!-- #post-<?php the_ID(); ?> -->
But the home page not change, the name is not in front of the circle, what i’m doing wrong?
Thanks
Forum: Themes and Templates
In reply to: [Spun] some change on css child theme in homepageThanks a lot!
I ultimately learn ??
How meny pixels are in the Spun theme?
Forum: Themes and Templates
In reply to: [Spun] some change on css child theme in homepageThanks,
I’ve some question about number 1
I need to modify style.css?In style.css i have some lines when apear .hentry can you help me?
Thanks a lot!!
Forum: Themes and Templates
In reply to: [Spun] Change image behavior on homepageThanks Caroline it works very good!!!
Thanks a lot!!!
Forum: Themes and Templates
In reply to: [Spun] Widget zoneThanks dbeja it works very good ??
Thanks a lot!
Forum: Themes and Templates
In reply to: [Spun] Widget zoneThanks Caroline it works good.
But now i need to change de font-family of
li in widget-zone is it possible.
Exemple:<ul> <li> <a href="https://www.elpanaderocasero.com/2013/02/12/como-perderle-miedo-al-pan-pan-facil/" title="Cómo perderle miedo al pan: Pan fácil">Cómo perderle miedo al pan: Pan fácil</a> </li> <li> <a href="https://www.elpanaderocasero.com/2013/01/24/pan-de-trigo-centeno-pasas-y-nueces/" title="Pan de trigo, centeno, pasas y nueces">Pan de trigo, centeno, pasas y nueces</a> </li> <li> <a href="https://www.elpanaderocasero.com/2013/01/16/pan-100-centeno-y-cilantro-borodinsky/" title="Pan 100% centeno y cilantro: Borodinsky">Pan 100% centeno y cilantro: Borodinsky</a> </li> <li> <a href="https://www.elpanaderocasero.com/2013/01/10/pan-de-espleta-y-avena/" title="Pan de espleta y avena">Pan de espleta y avena</a> </li> <li> <a href="https://www.elpanaderocasero.com/2012/12/19/plum-cake-de-calabaza-y-nueces/" title="Plum Cake de Calabaza y nueces">Plum Cake de Calabaza y nueces</a> </li> </ul>
I want to change de text of diferent “Categories”, diferent “recent entrys”, … not only the titles i want to change de font-family of the text in widget-zone.
Thanks a lot!
Eloy
Forum: Themes and Templates
In reply to: [Spun] Widget zoneYes of course:
https://www.elpanaderocasero.comThe elements that i want to change are all the widgets fonts
Thanks
Forum: Themes and Templates
In reply to: [Spun] Make header largerI also want to change the header image.
In this theme its 150×150 and i want to put an image that has 200×400I have a Child Theme to do my changes, but i don’t know how to change the image header.
What i have to do?
I have to create my own custom-header.php and change these lines:
function spun_custom_header_args( $args ) { $args = array( 'width' => 200, 'height' => 200, ); return $args; } add_filter( 'spun_custom_header_args', 'spun_custom_header_args', 999 );
Or I have to create a file called functions.php i put the same lines there
How to call from the main css spun-child.css to functions that are in function.php?
Forum: Themes and Templates
In reply to: [Spun] Widget zoneThanks dbeja it works!!
But now i have another little problem.
I want to change de font-family only in widget zone, but for me its imposible, widget-title works good but the other no!
i try to change it in:.widget { font-family: Amatic SC, Baskerville, font-size: 19px; } .one.widget-column { float: none; margin: 0 auto; font-family: Amatic SC; } .two.widget-column { float: left; margin: 0 13.5%; font-family: Amatic SC; } .three.widget-column { float: left; margin: 0 5%; font-family: Amatic SC; }
It doesn’t work, can you help me?
Thanks a lot!
Forum: Themes and Templates
In reply to: [Spun] Widget zoneThanks,
I use a child theme i think it’s better.
The Comments work very good!
But the icon “+” if i change the background works but i also wants to change the action when mouse is over “+” can i do it?
Thanks
Forum: Themes and Templates
In reply to: [Spun] Some questionsnoooooo ??
Now i try it!!
Thanks
Forum: Themes and Templates
In reply to: [Spun] Some questionsThanks Caroline!!
Another question:
I have a Child Theme but it doesen’t work.
On my server i have a folder ‘spun-child’
Inside this folder i have a field colled style.css like this:
/*
Theme Name: spun-child
Description: Cambio estilo tema spun
Author: Eloy Hernandez
Template: spun
*/@import url(“../spun/style.css”);
.site-title a{
color: #d22929;
}.main-navigation a {
color:#705b56;
display: block;
text-decoration: none;
}But it doesn’t work, the colors not change with the specifications of child theme.
What’s the problem?
Thanks a lot