This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

CSS Editor: changing the height of an element

5 years ago · Last reply by Andrew Misplon 5 years ago

In the SiteOrigin CSS editor, I highlight an element named .wpdiscuz-post-rating-wrap.wpd-custom-field. A rectangular box is displayed in blue. Let’s say the height measures 3 inches.
These are the .wpd-custom-field declarations displayed in the editor:
display: table
border: 0

The element inside .wpd-custom-field is named .wpd-rating. If I highlight wpd-rating, now I see the same size rectangle, except there is a narrow aqua bar across the top and across the bottom. The center area for the .wpd-rating element is still blue.
These are the .wpd-rating declarations displayed in the editor:
display: flex
border: 0

Let’s say the top and bottom aqua bars measure 1/2 inch each and the blue center measures 2 inches (1/2+1/2+2=3 inches).

I want to eliminate this unnecessary 1/2 inch space above and below the data.

Using the CSS Editor, how can I decrease the height of the .wpd-custom-field element so it is the same height as the .wpd-rating element (2 inches)?

Here’s a link to the webpage: https://virtualrdn.com/banana-chocolate-chip-buckwheat-pancakes/

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Andrew Misplon Staff 5 years, 7 months ago

    Hi VirtualRDN

    Thanks for reaching out.

    Our free support scope covers basic usage and troubleshooting. We’re able to dive quite deep into issues like this within our premium support scope where we have the budget to do so. In this case, it’s a bit challenging to assist without completing the Custom CSS task. At a glance wpd-custom-field and wpd-rating are both 115px high. Part of the height of wpd-rating is a top and bottom margin. You can perhaps try setting the top and bottom margin of that div to zero and then increase the static height you’ve already assigned.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread