Site logo

Archived topic

wider header widget

15 replies · Started by Matt on March 23, 2016

Viewing posts 1–15 of 16

Hi Tom
I have a site m building that only has a small header image. I want to add more text up next to it but can't make the header widget wider. I tried a few things but can't only make it wide enough to meet the header image.
Thanks
Matt

Thanks
That worked a treat

On mobile the widget is almost right of the screen and you can only read first letter, is that a simple fix.

Can I just turn the header widget off on mobile?
I have this but not working
@media (max-width: 768px) {
.header-widget {
display:none;
}

That should work - can you link me to your site?

Hey Tom
Don't worry I think its my iphone or something with the cache, it works on android.
Thanks
Matt

Awesome :)

One more thing is there a way to make menu on mobile open by default and in two columns side by side.
I have a picture menu and they are all circle shaped, I want if possible to have all 6 of them stacked 3 high 2 wide.
Hope that makes sense
Thanks
Matt

Hey Tom
add_filter( 'generate_navigation_class', 'generate_mobile_menu_toggled');
function generate_mobile_menu_toggled( $classes )
{
$classes[] = 'toggled';
return $classes;
}
Cant get the menu to open by default dose that code just go in custom css?

And
.toggled .main-nav .sf-menu > li {
float: left;
width: 50%;
clear: none;
}
gets it to float left but not in two columns.
Here is link to site http://91b.96d.myftpupload.com/ if that helps
Also header widget is still showing up on my iPhone , not sure if its my phone or what any ideas
Thanks heaps
Matt

ok figured out the iPhone problem, but not the menu

Sorry yes done all that, they now sit side by side (very nice)
But cant get them to open by default
I installed plugin generate-simple-php/custom.php and added code there but still no luck.
Unfortunately I am using godaddy to use and edit wordpress (never again). Do you think that could be the problem? It was the reason my iPhone was being cached

This archived topic is closed to new replies.