biasilveira
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Resonar] help with menuAll done! Thanks Kathryn!
Forum: Themes and Templates
In reply to: [Resonar] help with menuHi Kathryn,
I should have just done a whole new theme, but I’m still new, so I thought I’d start small. That is not quite working out, as you’ve seen lol.
I did what you suggested, but it didn’t work. So I went into Chrome’s Element Inspector and started digging. Found that the problem I’m having is with the sidebar-toggle element. That, even when not in use, it takes up space, bumping the menu items towards the left, no matter what I do. Is there a workaround for that, or am I stuck with it?
Forum: Themes and Templates
In reply to: [Resonar] Help with masonry footer – CSSThat’s fine Kathryn, managed to learn a lot in the process. Thanks.
Forum: Themes and Templates
In reply to: [Resonar] Help with masonry footer – CSSManaged to resolve this.
Forum: Themes and Templates
In reply to: [Resonar] Help with masonryYES!!! It worked, thank you!!!
Forum: Themes and Templates
In reply to: [Resonar] Help with masonryStephencottontail, did all that… masonry still not working. Can you point me to a masonry-for-dummies post by any chance? the code i used is from a lynda.com class I took, maybe I got it wrong…
Btw, thanks for the help!Forum: Themes and Templates
In reply to: [Resonar] Help with masonryThis is the message I get when trying to access functions.php through host’s file manager:
Fatal error: Call to undefined function get_template_directory() in /home/u572054420/public_html/wp-content/themes/mirtilo/functions.php on line 13
Also, did the alteration you suggested, thanks.
Forum: Themes and Templates
In reply to: [Resonar] Help with masonryThis is the functions.php file, where I believe the error is – I get notice its on line 13, but don’t know enough to fix it.
<?php
/**
* Mirtilo functions and definitions
*
* @package Mirtilo
* @since Mirtilo 1.0
*//**
* Mirtilo only works in WordPress 4.1 or later.
*/
if ( version_compare( $GLOBALS[‘wp_version’], ‘4.1-alpha’, ‘<‘ ) ) {
require get_template_directory() . ‘/inc/back-compat.php’;
}add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );wp_enqueue_style( ‘mirtilo-masonry’, get_template_directory_uri() . ‘/js/masonry-settings.js’, array(‘masonry’), ‘20140401’, true );
}/**
* Register widget area.
*
* @link https://developer.www.ads-software.com/themes/functionality/sidebars/#registering-a-sidebar
*/
function mirtilo_widgets_init() {
register_sidebar( array(
‘name’ => __( ‘Footer Widgets’, ‘mirtilo’ ),
‘id’ => ‘sidebar-2’,
‘description’ => __( ‘Add widgets here to appear in your footer area.’, ‘mirtilo’ ),
‘before_widget’ => ‘<aside id=”%1$s” class=”widget %2$s”>’,
‘after_widget’ => ‘</aside>’,
‘before_title’ => ‘<h2 class=”widget-title”>’,
‘after_title’ => ‘</h2>’,
) );
}
add_action( ‘widgets_init’, ‘mirtilo_widgets_init’ );?>
This is the .js file https://goo.gl/a1sBnh
Forum: Themes and Templates
In reply to: [Resonar] Removing border-bottom on linksHad the same problem, worked for me. Thanks!