-
AuthorPosts
-
March 3, 2022 at 4:55 pm #1343031
Hi,
I would like in the first tab of the section tab the last image to be full screen wide.
Now I have inserted a column with the image in the background, but it is not full screen.
How can I do this?
I attach an image of what I would like to do: https://monosnap.com/file/undefined
Thanks for the support.March 3, 2022 at 7:30 pm #1343046.
- This reply was modified 2 years, 9 months ago by famarinu.
March 4, 2022 at 1:50 am #1343080Hi famarinu,
Thanks for giving us admin access.
It’s not possible with the current setup, the only workaround that I think should work is to have those image on the bottom to be placed outside of the Tab Section and put it inside a Grid Row, then maybe add a Custom ID to it, then add a few javascript codes.
Can you give us FTP access? so we can try to add some js codes.Best regards,
NikkoMarch 4, 2022 at 7:07 pm #1343178This reply has been marked as private.March 6, 2022 at 2:49 am #1343317Hi,
Thanks for your patience and the login, I believe that you want the column at the bottom of tab one, with the image and button to be full-width and only show when tab one is active
To test I created a new test page, linked below, and moved the column outside of the tab section, then I added this css to your child theme stylesheet:#top.page-id-13305 #after_tab_section_1 > .container { max-width: 2500px; padding: 0; }
and this script to your child theme functions.php
function custom_script() { ?> <script> (function($){ setTimeout(function(){ if ($('#top.page-id-13305 #av-tab-section-1 .av-tab-section-tab-title-container').children('a[aria-controls="av-tab-section-1-1"].av-active-tab-title').length === 0) { $('#top.page-id-13305 #after_tab_section_1').css({"display": "none"}); } },500); $('#top.page-id-13305 #av-tab-section-1 a.av-section-tab-title').on('click', function() { setTimeout(function(){ if ($('#top.page-id-13305 #av-tab-section-1 .av-tab-section-tab-title-container').children('a[aria-controls="av-tab-section-1-1"].av-active-tab-title').length > 0) { $('#top.page-id-13305 #after_tab_section_1').css({"display": "block"}); } else { $('#top.page-id-13305 #after_tab_section_1').css({"display": "none"}); } },500); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_script');
both of wich will only work on the test page page-id-13305
please clear your browser cache and check if this helps.Best regards,
MikeMarch 6, 2022 at 8:17 pm #1343376HI,
thank you for your answer.
How you can see in the screenshot: https://monosnap.com/file/0tX0dzSvPJTvg3Jtie9xzIGcRWSqZI
I don’t see the image full width. Is it my problem?March 6, 2022 at 9:43 pm #1343387Hi,
Please try clearing your browser cache following these steps for Safari and note step 4 where you will Clear the History.
It is showing full width for me, please see the screenshot in the Private Content area.Best regards,
MikeMarch 8, 2022 at 10:16 am #1343586Sorry, Mike, I cleared the cache and now I see the image at full width.
But that’s not what I want.
Because these full-width-images will not always be in the page footer, they may even be in the middle of the page/tab.
For example, if you see in tab two “our method” the image that should be full screen is in the middle of the page ( https://monosnap.com/file/VuoCsJBEBnPPRYnyozExjgXR4aXQ4e )
How do I do in this case?
Thank you for your support,
ManuelaMarch 8, 2022 at 2:05 pm #1343628Hi,
If the images that you want full-width must be inside the tab section, then you would need to make the whole tab section full width, please clear your browser cache and check the test page below.
Now if you want the text areas “boxed” like before we can set a max-width for them, but for the 8 columns they can not be nested inside another column so we would need to convert them into shortcode and place them inside a code block, but since you are not done editing them yet it probably would not be easy for you in the future.
So the option is to use the whole tab section full width like on the test page below (clear your cache) or finish your image columns so they can be converted into shortcode for a code block section.Best regards,
MikeMarch 8, 2022 at 4:16 pm #1343664Hi Mike,
I cleared the cache, but maybe something went wrong.
Is all shifted to the right and the text is not well readable. Here: https://monosnap.com/file/GIoyavumExqtQBqsI6utqnqRhrLfTC is what I see.
Be warned, I had the page open from earlier and saved it. I think I deleted your changes, SORRY.
Thank you for your support,
ManuelaMarch 9, 2022 at 1:22 pm #1343835Hi,
Thanks, I’m not sure what happened but I saved the page again and now it is full width again. Please clear your browser cache and check.Best regards,
MikeMarch 9, 2022 at 2:37 pm #1343849Hi Mike,
Yes now it works, thank you.
Mike, I didn’t understand this part:
“but for the 8 columns, they can not be nested inside another column so we would need to convert them into shortcode and place them inside a code block.”
Do you mean that I have to: “the parts that are not full-width put into a code block as a shortcode”? Which of course I can only do when the whole page is complete.
But how do we give it the size of the box?
If you want to try it, tab 3 “Our story” is complete and all goes into box nothing at full width.
Thank you for your support,
ManuelaMarch 10, 2022 at 2:12 am #1343927Hi,
For example, I took the shortcode of the contains of tab 3 and placed it in a code block element with the custom classinner-tab-section-width
and added this css to your child theme stylesheet.#top.page-id-13305 #full_width_tab_section .inner-tab-section-width { max-width: 1200px; margin: auto; }
Please clear your browser cache and check.
You can use the same custom classinner-tab-section-width
for all of your tabs contents that you want to be “boxed”Best regards,
MikeMarch 10, 2022 at 9:38 am #1343974Oh yes, that’s great!
Trank you Mike.
Once I finish the content in the other tabs as well then I will create the short code and put it in the “code block”.
Thank you so much for help me in this part.
ManuelaMarch 10, 2022 at 1:04 pm #1343989March 10, 2022 at 5:00 pm #1344034Hi Mike,
If it’s possible I would leave it open until I finished the page.
Because inside the tabs I will have to insert collumns and according.
And I could use your help again.
Thank you for your support.
ManuelaMarch 10, 2022 at 5:58 pm #1344042Hi Mike, sorry..
Exactly as I said.
I have to insert an according in which it contains columns.I have created the templates
AccordionMethod and LEAMETHOD to facilitate the creation of the shortcodeHere a screen: https://monosnap.com/file/kDbXJ9eRW6ap83YxjndRKy80IayyXr
The correct output should be a 3 colunms.
I add this class in quick CSS:
.inner-colum-3{
margin-left: 6%;
width: 29.333333333333332% !important;
}
But the code not works.
Thank you for your help.Manuela
March 11, 2022 at 2:39 am #1344077Hi,
Your class is targeting the inner column, but you really want to target the outer column, try this css:#top.page-id-13305 #av-tab-section-1-2 .sc-av_one_third { margin-left: 3%; width: 29.333333333333332% !important; }
After applying the css, please clear your browser cache and check.
Best regards,
MikeMarch 16, 2022 at 1:17 pm #1344737Sorry again Mike.
I was making content changes to the page and the images that were supposed to be full screen came back in “boxes” again
I checked all the code in “Quick CSS”, in the style.css file and in function.php and everything is as before.
I don’t understand why everything is back to the basics.
First tab: https://monosnap.com/file/veVhAa5cziSWhYGh15NT8ruTt6Pc95
Second tab: https://monosnap.com/file/GsrTO0QhUwudRmRA0hm3xH8xWO0K8WThank you for your help
March 17, 2022 at 12:58 pm #1344865Hi,
I’m not sure what was changed but I adjusted the css to this:#top.page-id-13305 #full_width_tab_section .av-layout-tab > .av-layout-tab-inner > .container { max-width: 2500px; padding: 0; }
and now the full width images are full width again, but you will still need to change the image columns and shortcode to a code block to set the “boxed” width as we talked about earlier.
Best regards,
MikeMarch 17, 2022 at 1:21 pm #1344870Thank you very much Mike.
I recommend closing the tread only when I have completed the page.
Thank you for your constantly support,
ManuelaMarch 25, 2022 at 9:22 am #1345973Hi,
how do I insert 4 columns with images in the box and not full width?
In this image as it should come ( https://monosnap.com/file/7W77qsbGGBeoWWuSXcoxMRsLizEeqp )
I tried to insert the code of the images ( https://leagrowingpeople.com/all-coach-lea/ ) in a “Code block” and inserted the class: “inner-tab-section-width” but it doesn’t work.
The page is always the same https://leagrowingpeople.com/all-coach-lea/
Thank you,
ManuelaMarch 25, 2022 at 1:50 pm #1346006Hi,
Thanks for the screenshots and example, the issue was that all of the columns were in a color section, in this case the columns need to be inside the code block as the wrapping div and not nested.
I corrected it for you, please clear your browser cache and check.Best regards,
MikeMarch 25, 2022 at 4:03 pm #1346022Hi Mike,
oh sure I hadn’t thought about that.
Thanks, very kind as always
ManuelaMarch 26, 2022 at 2:03 am #1346097Hi,
Very good, this thread is getting quite long, shall we close this then?Best regards,
MikeMarch 31, 2022 at 3:26 pm #1346751Sorry Mike, I can’t close this thread yet. Every time I insert a small new part something doesn’t work.
Now I should add the team photos in the first tab. If I insert the first two I have no problem with the accordion I have in the second tab.
As you can see in image 1a ( https://monosnap.com/file/DQI8Fd6RSESLfEAD1sBbWhvUVqgqYV ) and 1b ( https://monosnap.com/file/FfPvpQK13VhDWbPEELEw823bBfnGcn )
But if I insert more than two people in the first tab, in the second tab I will have a problem with columns, as you can see in image 2a (https://monosnap.com/file/N1XT4m11KFYjWPnngnxyvFYGo9tpxj ) and 2b ( https://monosnap.com/file/hKlEmZo0lrs8x1ZcumAZeOaCgyzRr8).The problem is in the second tab that the columns inside the accordion lose their formatting as you can see in image 2b .
Because? How can I solve the problem?
Thank you for your support,
ManuelaApril 2, 2022 at 9:16 pm #1347019Hi,
I couldn’t find the page you took the screenshots from so I tried adding the elements to the test page and it seems to work well, please check.
This element really wasn’t designed to work with the layout that you are trying to achieve, as you recall at the beginning of this thread we wrote a script to try to achieve this, but since you are having such trouble with this, perhaps a different layout is in order?Best regards,
MikeApril 13, 2022 at 12:05 pm #1348216Hi Mike,
I would like to have the full screen capability on the live page of the site and not on the test page.
I looked for the function that you kindly wrote me in the post of “March 6, 2022 at 2:49 am” but I do not understand why but it is not there in the file “functions.php” of the child theme. Absurd!!!
But everything on the test pages seems to work.The ID of the live page is 1239:
https://leagrowingpeople.com/who-we-are/ Not finding your function in the file “function.php”, I thought to copy it and change the page ID with the live page. But it doesn’t work.Thanks for the continued support and hope to finish this page soon.
April 13, 2022 at 12:49 pm #1348229for your starting topic :
why don’t you use a full-width slider with one slide – without captions.
Big advantage – it is responsive by default.April 13, 2022 at 12:50 pm #1348230 -
AuthorPosts
- The topic ‘section full width’ is closed to new replies.