sb0n
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Add a footer image to my sidebar widgetHum.., I guess there is a mistake (or two..) but I don’t the logic :
Functions.php (the change is :
'after_widget' => "</aside>", "<image-footer>",) :register_sidebar( array ( 'name' => __( 'Sidebar 2', 'yoko' ), 'id' => 'sidebar-2', 'description' => __( 'An second sidebar area', 'yoko' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => "</aside>", "<image-footer>", 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) ); }Style.css :
aside.widget image-footer { background-image: url(images/sidebar-footer.png); }Forum: Themes and Templates
In reply to: Add a footer image to my sidebar widgetOh ok ! so this is the css limit then, thank you !
I tried changing the functions.php earlier but I’m not sure how to do that from this ?register_sidebar( array ( 'name' => __( 'Sidebar 2', 'yoko' ), 'id' => 'sidebar-2', 'description' => __( 'An second sidebar area', 'yoko' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => "</aside>", 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) ); }Forum: Themes and Templates
In reply to: Add a footer image to my sidebar widgetSo, I tried that :
aside.widget{padding-bottom:45px;border-bottom:none;background:transparent url(http://samatman.net/wrk/wordpress/wp-content/themes/yoko/images/sidebar-footer.png) right bottom no-repeat;}It’s working (not sure to understand why the image should be wider ?) !
But with that method I’m losing the background color though, could I keep it and add the background image footer ?Forum: Themes and Templates
In reply to: Add a footer image to my sidebar widgetI just saw your comment alchymyth, I’m gonna try that. Thanks!
Forum: Themes and Templates
In reply to: Add a footer image to my sidebar widgetNB : The complete aside.widget entry in the css is :
aside.widget { margin: 0 0 30px 0; padding: 0 0 30px 0; font-size: .8em; border-bottom: 1px solid #ddd; background-color: #777; padding: 10px; background: url("images/sidebar-footer.png") no-repeat bottom; }Forum: Themes and Templates
In reply to: Add a footer image to my sidebar widgetActually I tried that but it’s not working because when its set as a background, I lose the actual background (#777) and the position is not right.
On another wordpress thread someone was changing the sidebar.php file and then the .css could that be the good direction to go ?
Forum: Themes and Templates
In reply to: Add a footer image to my sidebar widgetForum: Themes and Templates
In reply to: Add a footer image to my sidebar widgetSorry it’s not visible on the worpdress preview, there is a demo with the sidebars.
Forum: Themes and Templates
In reply to: Add a footer image to my sidebar widgetThe image is here.
And I’m using the yoko theme.
Thanks !