Viewing 30 posts - 1 through 30 (of 34 total)
  • Author
    Posts
  • #1226142

    Hi again,
    here

    you may see a side bar on the right.
    I would like to have the first picture (the seahorse) higher, closer to the text “KOH LANTA BEST DIVE SITE”

    Thanks

    #1226493

    Hey phoenixdivers-kohlanta,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    #text-37 {
      margin-bottom: 0;
      padding-bottom: 0;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1226546

    Perfect Victoria, it worked.
    Should I like a bit more higher?
    I tried putting a higher value than -37 but didnt change the results got with -37

    Cheers

    #1226571

    Hi phoenixdivers-kohlanta,

    The 37 here is to identify the widget, not to change the value :)

    Please add this code:

    
    #nav_menu-2 {
      padding-top: 10px;
    }
    #text-37 {
      margin-bottom: 0;
      padding-bottom: 0;
    }
    

    Best regards,
    Victoria

    #1226580

    I am so stupid!
    ;-)

    By the way I added in quick and custom but it looks like your previous one

    #1226807

    Hi phoenixdivers-kohlanta,

    Please remove the part that I gave you before and just keep the code given in the last reply.

    Best regards,
    Victoria

    #1226823

    Yes I did.
    can you check whats happened to the page written in private.
    Side bar went kinda full section

    Cheers

    #1226846

    Hi phoenixdivers-kohlanta,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1226863

    Yep

    #1227318

    Now seems eveything ok.
    About sidebar, one more question:
    how to center the image on the page below in provate content?

    Moreover,
    there is a way to control sidebar and page layout in tablet portrait?
    I think I’ll open another post about this topic, since tablet portrait of my website is very random in layout and i dont know how to control it (page by page would be a nigthmare)

    Cheers

    #1227606

    Sorry Again
    this page has been behaving strange with side bar.

    Thanks

    #1229696

    Hi
    Can someone help me?
    Thanks

    #1229735

    Hi,
    Sorry for the late reply and thanks for the login, I took a look at your page and added this css in your WordPress > Customize > Additional CSS field:

    @media only screen and (min-width: 1440px) { 
    	#top.page-id-2524 #main > div.container_wrap_first.container_wrap > div {
    		width: 73% !important;
    		float: left !important;
            max-width: 1350px !important;
    	}
    	#top.page-id-2524 #main > div.container_wrap_first.container_wrap {
    		width: 90% !important;        
    		margin: auto !important;
    	}
    	#top.page-id-2524 #wrap_all #main .sidebar {
            width: 352px !important;
    	}
    	#top.page-id-2524 #main > div.container_wrap_first.container_wrap > div > main {
    		 width: 100% !important;
    	}
    }

    I also found that your inner page height didn’t match your content height so I added this script to your functions.php

    function custom_script(){
      ?>
      <script>
    (function($){
      $(window).load(function(){
          var s1 = $('#top.page-id-2524 #main > div.container_wrap_first.container_wrap > div ').height();
        var s2 = $('#top.page-id-2524 #main > div.container_wrap_first.container_wrap').height();
    
        if (s1 > s2)
            $('#top.page-id-2524 #main > div.container_wrap_first.container_wrap').css('height', s1 + "px");
        else
            $('#top.page-id-2524 #main > div.container_wrap_first.container_wrap > div').css('height', s2 + "px");
      });
      })(jQuery);
      </script>
    <?php
    }
    add_action('wp_footer', 'custom_script');

    please clear your browser cache and check.

    Best regards,
    Mike

    #1230310

    Sorry I did clear everything but still has some issues…

    #1230901

    Hi,
    Sorry for the late reply, I took another look at your page, but it seems ok to me. Please see the screenshot in Private Content area. Please explain what is wrong and which browsers you have tested with.
    If you could upload a screenshot with the error highlighted it would be helpful.

    Best regards,
    Mike

    #1231461

    Hi thanks again.

    I checked on safari and mozilla and it still wrong, same for mobile version (icon list very low).
    cache and history cleaned

    the strange is that only this page behaves like that, and since when I started this topic, before it was ok as well.

    #1231504

    Hi,
    Ok, looking at your /koh-haa-diving/ page for mobile I see the sidebar is very low with a large gap, so I adjusted the script to only work screens larger than 1440px.
    Please clear your browser cache and check.
    What is wrong with the desktop version?
    Please note that if testing on a desktop and resizing the window to simulate different device sizes you will need to reload the page for the window size to be recognized at each size you test. This doesn’t affect actual devices just resized desktop browsers.

    For future reference this is the updated script:

    function custom_script(){
      ?>
      <script>
    (function($){
      $(window).load(function(){
    	  var width = $(window).width()
          var s1 = $('#top.page-id-2524 #main > div.container_wrap_first.container_wrap > div ').height();
        var s2 = $('#top.page-id-2524 #main > div.container_wrap_first.container_wrap').height();
    
        if (s1 > s2 && width >= 1440) {
            $('#top.page-id-2524 #main > div.container_wrap_first.container_wrap').css('height', s1 + "px");
    	}  else {
            
    	}
      });
      })(jQuery);
      </script>
    <?php
    }
    add_action('wp_footer', 'custom_script');

    Best regards,
    Mike

    #1231879

    I attached privately screenshot of “koh haa” desktop page.
    As you can see you cant see the side bar on the right: it has been pushed lower.
    I attached also a screenshot of “hin daeng” page, where the side bar is normally positioned.

    SImilar problem in mobile version, the side bar is totally different fron “koh haa” and all the other “dive sites” pages.

    Sorry If I repeat that the strange is that only this “koh haa” page (from the “dive site” list) behaves like that, and since when I started this topic, before it was ok instead.

    #1232251

    Hi,
    Sorry, that is not how it looks to me, please see the screenshot in Private Content area.
    The two pages don’t look the same because on the other pages you have the top image in a color section, on the page it is just an image. I disabled the script from above since you said this was not an issue until it was added.

    Best regards,
    Mike

    #1232341

    Hi again,
    I think it is my fault that i am unable to be clear :-)

    1) it doesnt matter if top image colour section is present, check
    phoenixdivers-kohlanta.com/koh-lanta-dive-sites/anemone-reef-diving/
    and this it’s like “koh haa” should be.
    Your screenshot is actually ok but I am unable to see this page like that.
    (I tried 4 different laptops! )

    2) This issue didnt come after your script, it shows up before I opened this post.

    Thanks again.

    #1232587

    Hi,
    Thank you for the feedback, I now see that you have been using laptops so I imagine your screen width is about 1440px, and at about that width I see this error. My desktop is larger than this so I was missing it.
    What is your max screen resolution for your laptops?

    Best regards,
    Mike

    #1232612

    Hi Mike
    yes my laptop are max 1440.

    But the point is:

    Why ONLY “koh haa” page shows this issue?!?!
    ALL the other pages under the menu “our dive site” are ok.

    MOREOVER
    look koh haa in italian: that is fine (sidebar still in english at the moment). Only english is the problem
    (do not look other languages, still under construction)

    #1232926

    here attached screenshot of higher resolution laptop.
    Same problem and ONLY in English Koh Haa page.

    Cheers

    #1233227

    Hi,
    Thank you for your patience, I Enabled the Avia Layout Builder Debugger and evaluated your page code and found that you had a rouge </div> in the text element KOH HAA YAI DIVING SITE: THE CAVE. at the very end the Ocean.</div>
    Perhaps you copied the text from somewhere else and you didn’t see the rouge closing tag.
    So I removed it and now your page and sidebar load correctly.
    Please clear your browser cache and check.

    Best regards,
    Mike

    #1233546

    Great Mike!
    All good now!
    Just a little thing
    https://ibb.co/3Cg8ZX3

    I saw there is a white panning over the grey of the title. It was not like that “before”.
    Could you remove it?

    super thanks again

    #1233741

    Hi,
    Thanks for the screenshot, but I’m not sure what we are looking at, what is “white panning over the grey of the title”?
    Perhaps try this css:

    .html_header_top.html_header_sticky #main {
        padding-top: 46px !important;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1234577

    Hi
    didnt try yet your css but before this topic started there was no WHITE PART above the grey of the Title container.
    Also (but this is not a big deal) our logo on the left was stady big, without resizing down as it’s doing now.

    #1234597

    Hi,
    Thank you, Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    .html_header_top.html_header_sticky #main {
        padding-top: 46px !important;
    }

    Best regards,
    Mike

    #1234784

    It seemed nothing differs.
    But my question is:
    Why did it change behavior from before?

    #1234853

    Hi,
    I didn’t see it “before” but right now your “#main” top padding is set to the default 88px
    Please see the screenshot in Private Content area, in it the green color is the padding. The css above will correct this but you will need to add it and clear your caches, right now the css doesn’t seem to be added.
    Please include an admin login in the Private Content area so we can see why the css is not working, perhaps you have a missing bracket?

    Best regards,
    Mike

Viewing 30 posts - 1 through 30 (of 34 total)
  • You must be logged in to reply to this topic.