Support » Plugin: SiteOrigin CSS » CSS Actions – moving, resizing areas, etc

  • Resolved Joshjj

    (@joshjj)


    Hi. I’m trying to edit this page https://cashmerestudio.000webhostapp.com/ to look more like this page (the original theme + demo content) https://wordpress.com/theme/pique.

    I am wondering if/how I can carry out the following actions with SO CSS? I have tried to pickup and drag around the outlines of the different areas of the page (whilst in CustomCSS) in order to resize things but I cant seem to. I want to be able to;

    -Resize height/width of a particular area on the page
    -Delete a specific area on the page or merge 2 areas together into one larger area (I want the background image to cover the entire page instead of just the header or mid section of the page)
    -Create/draw a new area to add a background colour, background image or text to.
    -Move different areas around on the page by dragging and dropping (kind of like how you can with content blocks in PageBuilder)

    • This topic was modified 1 year, 8 months ago by Joshjj.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support alexgso

    (@alexgso)

    Hi Joshjj,

    So some of the things you’re after are possible, but the vast majority will require a fundamental understanding of CSS due to the complexity of the adjustments you’re looking to make. If you do not know any CSS, SiteOrigin CSS may not be right for.

    -Resize height/width of a particular area on the page
    This is possible. Click the area and simply set and adjust the height as desired.

    -Delete a specific area on the page or merge 2 areas together into one larger area (I want the background image to cover the entire page instead of just the header or mid section of the page)
    You can hide (read: not delete) areas by selecting the area and setting them to display: none; Merging might be possible, but it’s a tad technical so you will need to use CSS to do this.

    -Create/draw a new area to add a background colour, background image or text to.
    This may, or may not be possible. It really depends on your markup. If your markup is set up in a way that allows you to separate this area from other areas, this is possible.

    -Move different areas around on the page by dragging and dropping (kind of like how you can with content blocks in PageBuilder)
    This isn’t directly possible at this time.

    Thanks Alex. No I dont understand CSS at present. I was under the impression SO CSS was a “drag & drop” visual UI for editing the CSS. It obviously is to an extent.

    Resizing Areas:
    Is seem like there are only 2 possible height settings for sections of the page. As soon as you go past the default setting the section snap to another specific location; https://drive.google.com/file/d/1z2Vz7amHDPssbefuo02ZoraChrfaRAQw/view

    Hide areas:
    Hide > setting them to display: none;
    Merging might be possible, but it’s a tad technical so you will need to use CSS to do this.

    Merging areas together:
    So eg, if i wanted to upload a background image that covered the entire page, could I effectively just hide the page header and footer areas and then increase the height of the middle area in order to cover the whole page – and then upload an image into that singular area?

    Creating new areas:
    How do I find out whether my markup is set up in a way that allows you to separate this area from other areas?

    • This reply was modified 1 year, 8 months ago by Joshjj.
    Plugin Support alexgso

    (@alexgso)

    Hi ,

    Resizing Areas:
    Unfortunately, I can’t see the linked image due to lack of permission. Regardless, the specific height setting I’m referring to is under the Layout tab.

    Merging areas together:
    This is partially possible. You will need to use some CSS (separate to what the interface will generate) to accomplish this.

    Creating new areas:
    This is going to sound weird, but basically – try what you wish to do. If it doesn’t allow you to separate things, it’s as a result of the structure.

    Thanks strange. This links permission is set to “Edit”;
    https://drive.google.com/file/d/1z2Vz7amHDPssbefuo02ZoraChrfaRAQw/view?usp=sharing

    Alternatively can you send me your email address so I can share permissions with you.

    I’m having the same issue with resizing my Logo. I’ve selected it and changed the Height and Width values but it only snaps between tiny and its original size. It doesn’t scale whilst I’m moving the values up and down.

    Creating new areas:
    But how would I actually create and insert a new area? I dont see a line or shape tool. Im not sure which tool I should be looking for to create a new area on the page.

    • This reply was modified 1 year, 8 months ago by Joshjj.
    Plugin Support alexgso

    (@alexgso)

    Hi,

    Thanks. I can see the video now. Okay, so what you’re seeing is correct. Negative heights aren’t valid/possible in CSS which is why it snaps back to what it was previously when to that value (rather than displaying nothing). The values you did try above 0 did appear to be working without issue. Keep increasing the size until you find one you’re happy with – try, for example, 100.

    Creating new areas:
    Basically, you’re making it seem as though this is a new area. You need to replicate what you’ve already done elsewhere on the page to do that. To be honest, you may not be able to do this without more familiarity with CSS as it will require copying/editing existing CSS elsewhere.

    .

    • This reply was modified 1 year, 8 months ago by Joshjj.

    Sorry I posted this original reply in the wrong forum;

    Thanks Alex. I misunderstood how it works. I thought moving up from the 0 value point would increase the height from the original height position – not take the height back to 0 before it scales up. Slightly unintuitive but I get it now.

    Unfortunately, I make the edit, I refreshed my live page, could see the correct height edition whist the page is loading but when the page is loaded it reverts to the original spacing present before the css edit. This occurred whilst trying to move the text content up further towards the menu bar on the homepage; https://cashmerestudio.000webhostapp.com/

    As you can see there is still a big gap between the menu and the text below it.
    Is there a reason my edits aren’t saving out?

    Also, regardless of how far past 100px I push my logo height/width, the logo does not enlarge. Is this a limitation with SO CSS in relation to logo size limits in my theme? I have tried entering the following code (and variants of) to try and increase the max logo size;

    .site-branding .site-logo-link img {
    max-height: 120px;
    }
    @media screen and (min-width: 768px) {
    .site-branding .site-logo-link img {
    max-height: 150px;
    }
    }

    I have another thread going regarding this here;
    https://wordpress.org/support/topic/resizing-logo-in-pique/#post-10286109

    • This reply was modified 1 year, 8 months ago by Joshjj.
    • This reply was modified 1 year, 8 months ago by Joshjj.

    bump

    Plugin Support alexgso

    (@alexgso)

    Hi joshjj,

    As you can see there is still a big gap between the menu and the text below it.
    Is there a reason my edits aren’t saving out?

    The CSS you used will actually increase the size of the logo. It doesn’t specifically target the spacing between the menu and the logo. You should instead target the content area (#pique-hero .pique-panel-content) rather than the logo as that’s what is actually adding the spacing. The movement on page load is due to your theme changing the padding-top applied to #pique-hero .pique-panel-contenton load. Please note that this change is inline so you’ll need to force your change (as it’s impossible to override via other means) or use negative margin (the latter may not work).

    Also, regardless of how far past 100px I push my logo height/width, the logo does not enlarge. Is this a limitation with SO CSS in relation to logo size limits in my theme?

    It’s due to you using max-height rather than height. Max-height will allow for the image to fill as much space as it needs, but it won’t exceed that need unless you specifically tell it to use height (max-height will limit height so you need to remove max-height first by removing the CSS you previously added).

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘CSS Actions – moving, resizing areas, etc’ is closed to new replies.