Jump to content

Archived

This topic is now archived and is closed to further replies.

h0bd0b1in

Changing the position of an iBox

Recommended Posts

h0bd0b1in

Had a look around the forum but I couldn't find any thread with an issue similar to mine.

 

I have an iBox section on a page with 4 boxes. I have 3 boxes on the top row and the fourth box is on the bottom row. That's fine. What I want to do, however, is to change the fourth box so it occupies the middle column of the second row and is therefore centered on the page. I attempted to use the iBox Class option to shift the box to .span5 (from .span4) but that didn't work since I presume span4 takes preference (when I analyze in Chrome Dev Tools it shows the span4 class preceding the span5 class).

 

What custom CSS can I inject to get this fourth box to occupy span5?

Share this post


Link to post
Share on other sites
Danny

Hi,

 

Trying to do this in the method you describe above, would be a royal pain in the backside. The simplest thing to do would be to just use two iBox sections one on top and one on bottom. The one on top shows three iboxes and the bottom one displays one iBox. For the second iBox (bottom one) use the option to 12/12 and remove all iBoxes except for one and this should be in the center.

 

https://cloudup.com/c8SMMoQF9Pc


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
h0bd0b1in

Thanks Danny.

 

I did consider this myself last night, but I was interested to see if there was actually a way to do it using CSS anyway.

 

I generally like to do things the hard way. :p

Share this post


Link to post
Share on other sites
Danny

OK, well it can probably be achieved with CSS, but it is will require extensive changes, which isn't something we can provide support for unfortunately.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
h0bd0b1in

No worries, I'll use two iBoxes. Thanks for the answer!

Share this post


Link to post
Share on other sites
Danny

No problem.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • Michael Kummer
      By Michael Kummer+
      Hi guys!
      I have noticed that my primary sidebar becomes intermittently invisible when browsing through various blog articles on michaelkummer.com/blog.
      See:
      https://www.dropbox.com/s/z646sgoa3mfjl1j/Screenshot 2018-07-12 15.57.46.jpg?dl=0 and https://www.dropbox.com/s/vdledzzgginvwgv/Screenshot 2018-07-12 15.57.57.jpg?dl=0
      Upon refresh, the sidebar appears. I have been using the following CSS code to hide the sidebar on mobile without any issues. 
      @media only screen and (max-width: 993px) {
      /* hide sidebars */
           .plsb {
              display: none !important;
          }
      }
      I tried to add the following CSS to force the sidebar to show on screens that are wider than 994 pixels but to no avail. Any clue what could be causing this issue?
    • Michael Kummer
      By Michael Kummer+
      Hi guys!
      I am using the LESS/CSS Pagelines extension and tried to add the following code to make use of FontAwesome:
      a.c2a:before {
          content: "\f07a\00a0";
          font-family: "Font Awesome 5 Pro";
          Font-weight: 900;
          font-style: normal;
          font-weight: normal;
          text-decoration: inherit;
          padding-left: 4px;
      }
       
      The issue is that as soon as I have the CSS via the Custom Styling text box, Pagelines (or the extension) strips out the backslashes (\). As a result, I had to abandon the CSS/LESS extension and instead add all my CSS code to a separate .css file.
      Is there a fix or workaround for this?
      Thanks
      Michael
    • glyph.marketing
      By glyph.marketing+
      Hello, I am having a problem similar to that experienced by Michael Kummer here. We have pages that show this automatic scrolling issue (examples here and here) and it is sufficiently annoying that we have seen customers bounce while trying to convert. Strangely, it only happens at specific resolutions, so it can be difficult to reproduce. In general we can only consistently reproduce it on a 4k resolution with a browser width between 1517 and 1536px. 
      Thanks to Michael Kummer's help we were able to set the overflow-anchor property to none in the entire body, which fixed the issue as far as we can tell, but also obviously disabled scroll anchoring for the whole site. I tried applying it to the specific element that looked like it was being reloaded, which was the PL Meganav extension, but that was unsuccessful. 
      Can anyone help us figure out which element or ID we can apply this property to, so that we can fix the scrolling issue but not disable scroll anchoring for the entire site?
      Thank you - 
      Glyph Language Services
    • chamois_blanc
      By chamois_blanc+
      Hello,
      Shouldn't the image PL5 component be using the srcset/picture css directives to pick the correct size for an image? or it does already and I don't know how to use it? Thank you for any advice or enlightenment.
    • stijnxo
      By stijnxo+
      Is there a way to disable the responsive function of your iBoxes?
      I do not want all iBoxes underneath each other on mobile, is there a way to fix columns or group boxes?
      I use them for small links and want them to stay next to each other, see attachment
      Please let me know.



×