I am relatively new to wordpress so please do forgive any incorrect terminology or silly questions as I am still learning and eager to do so.
I have a jewellery website (running Kallyas premium) which I have a row of banner icons inbetween the header and rev slider.
top banner icons
The problem is when viewing the site on reduced screen size or mobile view I want to replace this row of icons with one single icon/slider which displays my banner icons one at a time eg. Lowest Prices, A* customer service so on and so on.
A good example of what I'm trying to achieve is on the Watchshop.com homepage when viewed in mobile view.
watchshop.com slider effect
I can't seem to find a plugin that does this and I can't seem to achieve this with rev slider, maybe it needs some code?
Any help will be gratefully received.
Thanks
Dan
you would need to add some css media querys to show and hide certain things depending on screen size, for example you want to hide the nav links at mobile:
try something like this:
#media only screen and (min-width: 768px) {
.your_class_her_or_id_here {
display:none;
}
}
this would hide the nav links when viewed at screen size less than 768px,
you could do the same for the slider, so it only shows at a certain size otherwise its not shown. Hope this helps.
Related
I’ve a WooCommerce site and on mobile we’re getting strange empty spaces on product category pages. It seems to be ok on other archive pages though.
I’m thinking it could possibly be linked to the number of lines on a product title, but I don’t see why that should break it, or why it wouldn’t affect other pages.
I’ve go into Developer Mode (mobile) on browser and tried a few things – If I reduce the product title to two lines (same as other products on the same line) it fixes the gap. Alternatively, when I add clear:both to some of the product divs, it helps fix it.
Could it be that the template isn't specifying rows?
Example of the issue can be seen here on mobile: https://fusionworkwear.ie/product-category/softshelljackets/
I'm at the end of my tether on this one so any help would be hugely appreciated.
Set the min-height to 48px for class name product-title
Here is the screenshot of your site when I set min-height ,
But, still the space will be added under title. Or else you can add this code in your css file.
.row.products div:nth-child(4n+1) {
clear: left;
}
It works !
I'm experiencing a weird problem in my website that I haven't been able to solve myself so far: My site www.20watt.nl displays the normal navigation menu in all resolutions above 958 pixels, while my plugin "wp responsive menu" takes over for resolutions below 768. But between a resolution of 768-958, my site shows no menu at all (can be tested easily using screenfly)
My question: Where / how do I specify the resolution where my mobile menu takes over / i.e. becomes responsive? I've changed it in the plugin-settings, but that does not seem to help.
I'd like to have my mobile menu take over exactly at 958 pixels (because that's where the "normal" menu seems to end)
Many thanks & regards,
In your stylesheet responsive.css (http://www.20watt.nl/wp-content/themes/Foliowhite/css/responsive.css), the following line is hiding your menu:
#site-navigation ul { display: none; }
You will want to remove that from the max-width:959px media query block and add it to the max-width:767px block.
I have 2 pages for my site. One a forum, another is my homepage. I have the homepage all setup, but the forum will require a bit of modification to the nav bar. I have the nav bar from the homepage mirrored to the forum so that the styles match nicely, but I made the forum wider because the forum needs more space for content and tables. I have tried numerous times to do this, to no avail.
Since the forum is not a static page, I have put the homepage on JSBin instead. They both use the same exact nav bar. This is Bootstrap 3, by the way.
Here is what I want it to look like (sorry for not embedding in post, need 10 rep): http://i.imgur.com/dlXaOZ8.png
Here is the JSBin: http://jsbin.com/fexowifica/1/
I just need to know how to make that extend out wider like seen in the image, but it won't actually be applied to the homepage nav bar, it will be applied to the forum nav bar that is seen in the image.
Thanks!
just update your css
CSS
#media screen and (min-width:768px){
.container{
width:100%;
}
I have 2 pages for my site. One a forum, another is my homepage. I have the homepage all setup, but the forum will require a bit of modification to the nav bar. I have the nav bar from the homepage mirrored to the forum so that the styles match nicely, but I made the forum wider because the forum needs more space for content and tables. I have tried numerous times to do this, to no avail.
Since the forum is not a static page, I have put the homepage on JSBin instead. They both use the same exact nav bar. This is Bootstrap 3, by the way.
Here is what I want it to look like (sorry for not embedding in post, need 10 rep): http://i.imgur.com/dlXaOZ8.png
Here is the JSBin: http://jsbin.com/fexowifica/1/
I just need to know how to make that extend out wider like seen in the image, but it won't actually be applied to the homepage nav bar, it will be applied to the forum nav bar that is seen in the image.
Thanks!
Just seems that your nav.navbar is restricted to a 960px width, make that as wide as the content of the page (.container) and it should fill out. Since I do not have the url to the actual page it is just a best guess.
The site I am maintaining has bugs in the header and widget blocks. How do I change this?
Search bar is out of alignment with nav menu.
News and Events widgets overextends if too much text is displayed.
a. The news widget is from an automatic feed.
http://cafes.calpoly.edu
One error only shows in Chrome browser. In Safari I at least don't see the News widget over extending but the search bar in the main header navigation menu appears to have a distorted div in all browsers.
I am new to Drupal but am pretty familiar with Wordpress.
Is there a module I can download to enable me to fix this? If so, what code snippet could I use to establish the proper parameters for these blocks?
1) Option one reduce li font size if client is ok with it
font-size: 0.75em;
This worked for me and you the search bar was fixed.
2) Second option is to trim the text length. There is only so much u can fit in those tight cells.
abt the news widget I don't see anything wrong.
There is no "CSS" module in Drupal. To fix the issues you've mentioned you need to make small changes in the css files. To fix the search box aligment you should reduce the font-size of the menu items.
You will need at least ftp access to the site.