Home › Forums › WoodMart support forum › Size of header images
Size of header images
- This topic has 16 replies, 2 voices, and was last updated 7 years ago by Artem Temos.
-
AuthorPosts
-
November 4, 2017 at 3:40 pm #23238
turkaydParticipantHi, What is the preferred image size for small page title.
November 4, 2017 at 7:28 pm #23251
Artem TemosKeymasterHi,
It depend on your website, could you please send us a link where we can check it?
Thank you
November 4, 2017 at 8:35 pm #23256
turkaydParticipantThe link is below and one more thing the code you gave me to hide category submenu dropdown on pagetitle area didn’t work. The code was
.color-scheme-light .woodmart-product-categories .children {
display: none!important;
}November 4, 2017 at 9:10 pm #23261
Artem TemosKeymasterTry this code instead
.woodmart-product-categories .children { display: none!important; }
Try to upload 1200×160 image and set background size option to cover.
November 4, 2017 at 10:18 pm #23262
turkaydParticipantGreat that worked. By the way is it possible to have background color instead of header image on mobile
November 5, 2017 at 8:26 am #23273
Artem TemosKeymasterYes, you can override it placing the following code to the Custom CSS area for mobile devices in Theme Settins
.page-title { background: #efefef!important; }
November 6, 2017 at 8:07 am #23305
turkaydParticipantThanks it worked perfect. I have also problems with activating the shop filter widget area above the products. Although it is on the widget area is not visible. Also there is a problem with banner headings running off margin in mobile view. Lastly here in the forum there was a code to switch the place of category menu with main menu but it didn’t work. They do switch but loses functionality the code was for inc/template-tags.php (woodmart_header_block_mobile_nav)
November 6, 2017 at 8:08 am #23306
turkaydParticipantThe link to banner site is here
November 6, 2017 at 10:53 am #23318
Artem TemosKeymasterYou can enable filters area in Theme Settings -> Shop.
We suggest you to increase banners images size if you want to make them look better on mobile devices because all the content don’t fit well on small screens.Send us what code do you get in the result for the mobile menu?
November 6, 2017 at 3:57 pm #23380
turkaydParticipantThe code mentioned in the forum is on inc/template-tags.php
echo ‘<div class=”mobile-nav”>’;The code is:
replace this:-
<li class=”mobile-tab-title mobile-pages-title active” data-menu=”pages”><span><?php esc_html_e(‘Menu’, ‘woodmart’); ?></span>
<li class=”mobile-tab-title mobile-categories-title” data-menu=”categories”><span><?php esc_html_e(‘Categories’, ‘woodmart’); ?></span>with this:
-
<li class=”mobile-tab-title mobile-categories-title” data-menu=”categories”><span><?php esc_html_e(‘Categories’, ‘woodmart’); ?></span>
<li class=”mobile-tab-title mobile-pages-title active” data-menu=”pages”><span><?php esc_html_e(‘Menu’, ‘woodmart’); ?></span>
November 6, 2017 at 4:05 pm #23383
Artem TemosKeymasterAlso, you need move
active
CSS class frommobile-pages-menu
tomobile-categories-menu
.November 6, 2017 at 9:04 pm #23394
turkaydParticipantThis is what the code and it still won’t work
-
<li class=”mobile-tab-title mobile-categories-title active” data-menu=”categories”><span><?php esc_html_e(‘Categories’, ‘woodmart’); ?></span>
<li class=”mobile-tab-title mobile-pages-title” data-menu=”pages”><span><?php esc_html_e(‘Menu’, ‘woodmart’); ?></span></div>
<?php
echo ‘<div class=”mobile-categories-menu mobile-menu-tab”>’;$mobile_categories_menu = woodmart_get_opt( ‘mobile_categories_menu’ );
if( ! empty( $mobile_categories_menu ) ) {
wp_nav_menu(
array(
‘menu’ => $mobile_categories_menu,
‘menu_class’ => ‘site-mobile-menu’,
‘walker’ => new WOODMART_Mega_Menu_Walker()
)
);
} else {November 7, 2017 at 7:02 am #23405
Artem TemosKeymasterPlease, send us the whole PHP function that contains this code.
November 24, 2017 at 12:23 pm #25263
turkaydParticipantSorry for the late respons the complete code is:
November 24, 2017 at 12:25 pm #25266
Artem TemosKeymasterPlease, provide us your FTP access so we can check it.
November 25, 2017 at 11:17 am #25401
turkaydParticipantSoory but we can’t provide access to ftp for now
November 25, 2017 at 11:45 am #25408
Artem TemosKeymasterWe can’t check your code without FTP. Contact us when you will be ready with this. By the way, you can simply change positions of these two menus to achieve this.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register