Forum Replies Created
-
AuthorPosts
-
Actually Mike – can I ask one more thing?
Here is the code I’m using:
@media only screen and (max-width: 767px) {
.flip-mobile .flex_column_table {
display:flex !important;
flex-direction:column-reverse;
}
.flip-mobile .flex_column_table .flex_column {
flex:0 0 auto;
}
}
I am placing 2 x 50% wide columns in a color section and giving the color section a custom class of flip-mobile.
The only thing I don’t lioke is that, in the mobile view (or on a browser with width less than 767px) I am getting too much white space below the first 2 images. I think this is probably the spacing between the columns – but I don’t know how I could close that down a little.
You can see the effect by narrowing the browser at the link provided.
If you can suggest a solution that would be great.Thanks Mike – I did actually get it to work on another thread – https://kriesi.at/support/topic/row-collapse-order-2/
Seemed a simpler way around it.Hi again – I did a search on your CSS and came up with a forum entry I’d failed to see before – the solution there actually worked!
So on this subject I’m finally sorted!
Thank youThanks Victoria
I originally tried something with a custom CSS class in the columns which didn’t work. I have now added a custom ID to each column – where would that go in your CSS please?I’m very happy thank you! Please close as resolved.
Hey Rikard – I have just found the ‘style as button (colored) ‘ option in the menu!!
How I didn’t see that before I’ll never know – it was not through a lack of looking.
I even found the option to give it a border radius :)
The only issue I am facing now is to be able to reverse the collapse order of the 2 50% wide columns for mobile display – I have another thread running for that.
Thanks for your help!Hi Rikard
The only thing I can see is to add css to a menu option and style it as a button – is that what you mean? It’s only I item I want to look like a button and I had some success with this, but my problem was that, with the logo left, menu right option, I couldn’t see how to stop the background color stretching the height of the logo – making the button too tall – and also overriding the menu font settings – plus the underline that appears in the button. So it was close, but would not be acceptable to the client. Was there something I was missing?
I appreciate the help.There is another thread I have been looking at #1022098
In there Ismael offers a couple of code snippets – the first I can’t seem to make work at all, it just breaks the display and the second reverses the rows on the page from top to bottom. He also links to a page about the Flex options, which do seem that row-reverse and column-reverse are standard features but I’m not clever enough to implement them. Could either if them look again at the issue as I think it should be a simple solution. I’d be really grateful, as I have spent hours on a site and it’s looking like if I can’t get the rows to collapse this way on mobile I will lose the job or have to start over with another theme.I found this post in a search and thought it would solve my problem – however there is an option to hide on mobile but not the reverse. On another theme I use there is a row by row reverse option.
So, on a bigger screen, it’s nice to alternate image left, text right and the other way – but on mobile it makes sens to collapse text first image after – or the other way. Reversing the collapse order of alternate rows.
It does seem like a missing option in an otherwise amazing theme!Thank you Victoria – that worked a treat.
Sorry – I made the site live and activated a secure cert so things were pointing in a new direction by the time you got there. It was only a little problem!Sorry guys – it seems that the drop-down font weight is now only affected on the page with ID 3 – can you help me to resolve that? On the rest of the pages it’s fine!
Thank you – perfect! I am always learning…
Hi Mike
I did change to http but it didn’t seem to make a difference. Wasn’t sure if you above reply was to me or not…Thanks Mike – I tried that (cleared cache etc.) however the outcome is the same. I made a separate small change to the layer slider to prove that I was seeing a modified version but still the same.
I can only assume it’s chrome being security fussy. A bit annoying really.Yeah. Surface pro 4 win 10
Hi – I have tried that, but the same thing happens.
The layer slider loads, the other layers play out, but the video, which is set as a background video does not run, although it displays a play icon, that does not work either.
This works fine on Firefox and edge but not Chrome.
Any other thoughts?Please go ahead and close it, thank you.
That’s what I wanted to hear :) I told my client as much – think he needed a 2nd opinion.
CheersThanks Vinay – that certainly works. I have emailed the client to be sure they are happy – I know I am!
Thanks Victoria – that’s done it!
One last question – I tried following up on a couple of posts about replacing the ‘burger’ with an image of the word ‘Menu’ which was a request from the client. I didn’t manage to make that work either – is this something that should be simple to do?
Thanks again everyone for helping me.Hi Victoria
That solved that! It was Vinay who gave me that code in the first reply in this thread. I saw it was a class when the theme mentioned an ID. Oh well, should have tried that before. Thank you.
I have one last issue – the code above which makes the burger menu display on the iPad at 1024px or below – it works perfectly with portrait mode but in landscape the burger is on the left on top of the logo which is why I thought it wasn’t there – but now I see it overlapping the logo. How will I restore it to the right side?I can’t see how to send attachments so I will describe.
On the homepage at http://www.solid-steelband.com/wordpress there is a layer slider below which is an image placed in a color section with custom class which is supposed to hide it above 1024px but it doesn’t.
Also, the burger menu does not show up on iPad landscape – it does on portrait. So I have no menu at all on iPad landscape.
The full CSS is descrived below.
(how do I send attachments?)
—————————————————–
CSS in General Styling:
——————————————————
#top #header_meta .phone-info {font-size:16px; color:black;}
@media only screen and (max-width: 990px) {
.av-main-nav > li > a { padding: 0 5px; }
}
.main_menu ul:first-child > li > a { font-size: 15px; }
#top #wrap_all .av_header_transparency .main_menu ul:first-child > li > a:hover .avia-menu-text{
color: #c3512f !important;
}
.avia-menu-fx {
bottom: 10px;
}@media only screen and (max-width: 1024px) {
#mobile-advanced, #advanced_menu_toggle, #advanced_menu_hide { display: block; }
nav.main_menu { display: none; }}—————————————
CSS in child theme styles.css:
——————————————–
@media only screen and (min-width: 768px) and (max-width: 1024px){
.responsive #top .av_mobile_menu_tablet .av-main-nav .menu-item-avia-special,
.html_header_top .av_bottom_nav_header .av-logo-container .main_menu {
display: block;
}
}
/*—————————————-
// CSS
// Toggle view
//————————————–*//* Desktop */
.mobile-only{
display: none;
}
.desktop-only{
display: block;
}
/* Mobile */
@media only screen and (max-width: 767px) {
.mobile-only{
display: block!important;
}
.desktop-only{
display: none!important;
}}Hello again
I could really use some help here – the more I fiddle the worse it gets.
Perhaps I can ask to try and fix one thing.
I have a color section with an image and custom class you gave me of .mobile-only
This has the following CSS you gave me:
/*—————————————-
// CSS
// Toggle view
//————————————–*//* Desktop */
.mobile-only{
display: none;
}
.desktop-only{
display: block;
}
/* Mobile */
@media only screen and (max-width: 767px) {
.mobile-only{
display: block!important;
}
.desktop-only{
display: none!important;
}}
——————————————————-
This does not stop it appearing on desktop view above 1024.
Can you help me fix that?Good morning
Thanks – that’s fixed the burger menu and now it’s all fine on tablet and phone.
One last thing I cannot fix is losing the image which replaces the layer slider on desktop.
I was given this CSS:
/*—————————————-
// CSS
// Toggle view
//————————————–*//* Desktop */
.mobile-only{
display: none;
}
.desktop-only{
display: block;
}
/* Mobile */
@media only screen and (max-width: 767px) {
.mobile-only{
display: block!important;
}
.desktop-only{
display: none!important;
}}
I have added the class .mobile-only to the color section holding the image but it displays on desktop size too.
What have I missed?Hi – I did that, mostly – but the layer slider won’t sit inside a layout element and so I don’t know where to place the custom class.
There are 2 issues currently – removing the layerslider for iPad and below and gettingthe hamburger to show up on the iPad in landscape orientation.
It’s just not switching right.
In Layer Slider > Settings > Mobile I have it set to hide under 1025 – which seems to work OK – but ther custom CSS on the fixed image that replaces it doesb’t hide on desktop view – so I get both the layer slider and the alternative image.
I can make the switch work by using the screen options, but then it won’t show the image on iPad landscape, as it’s 1024 and the screen options is 900px.
I’ve put my complete CSS below as there may be something causing an issue.Sorry, should have realised. The site is really just a testing ground – I have it working again, but updating the theme seems to break it. Please have a look first at the Videos page where I have set 3 MP4 videos (all the smae file). Ideally I’d like to see it work a bit like your documentation videos, or to pop up in a lightbox.
Link in the box below.Another comment
Please see below.
Hi Vinay
I tried both the video element and the image link but neither seem to trigger the lightbox.
With an MP4 file I can place it in a video element and it plays, but I cannot see how I can make it larger – I wanted to make a grid, like a video gallery, and have them pop out lightbox style – but no bigger than the screen size or the maximum width – but that doesn’t seem to work.
I even tried linking a YouTube video to an image, but that didn’t trigger the lightbox either. Where am I going wrong?Well, it’s a different question, but I am wondering how to fit all the requested menu items on screens that are narrower than 1920 but not tablet/phone size. I’ve hacked it a bit, but unless there’s a tidy way of wrapping the menu items before they overlap the logo I’m not sure what to do. I’ve suggested to the client he nests some of them – would you be able to wrap them – without the indicator I think – at the point before they clash with the logo if you see what I mean?
If this should go elsewhere, just close the thread and I’ll see how it evolves.
Thanks. -
AuthorPosts