how to make new custom size for image in hover
-
Hi
i wonder if anybody could help with this stuff
i’m trying to customize menu of twenty fifteen theme with background image when hover mouse over it
like stripes in front occupying 100% of width of screenas in this link:
https://maviveloso.wordpress.com/2015/01/19/draftproject-for-menu/this effect is present in twenty fifteen theme in the “prev” and “next” nav buttons in the bottom of single posts, like here: https://twentyfifteendemo.wordpress.com/2014/10/28/sticky-post-with-a-featured-image/
i tried the following:
created a home page to be this big menu page enabling a third menu to be in home.php<?php /** * The template for displaying the home */ get_header(); ?> <?php wp_nav_menu( array( 'theme_location' => 'big-menu', 'container_class' => 'big-menu' ) ); ?> <?php get_footer(); ?>
and in function.php
//custom menu function register_my_menu() { register_nav_menu('big-menu',__( 'Big Menu' )); } add_action( 'init', 'register_my_menu' );
could anybody give some light/help on this?
thanks in advance
it would be amazing
??all the best
mavi
- The topic ‘how to make new custom size for image in hover’ is closed to new replies.