Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1171969

    The green area is what I’m trying to remove (or shrink).
    Needing a little primer on how to make my own custom css

    I’ve tried several variations of the following custom CSS, but my problem is that I’m only pretending to be a web developer — I understand the basics of the language, I have memorized many of the verbs and nouns, but when it comes to stringing together coherent sentences, I am kind of lost.

    #main.content.av-content-full.alpha.units {
    display: none;
    }

    In this example, I know I have to tell that green box to hide. What I don’t understand is how to accurately address that green box, and which instruction will cause it to hide.

    So I’m really asking for 2 things:
    1. the right Custom CSS code to use
    2. either a little tiny lesson on how to correctly parse the code you’re giving me or a link to a good explanation/lesson.

    Thank you.

    #1172061

    Hey Thomas,

    Please try the following in Quick CSS under Enfold->General Styling:

    .template-single-blog .content {
      padding-top: 0 !important;
    }

    Best regards,
    Rikard

    #1177355

    Hi Rikard,

    Can you please take one more look? I had to make a change to the post types.
    Thank you.

    page: https://jorvik.press/books/sex-and-violence-in-tibetan-buddhism-the-rise-and-fall-of-sogyal-rinpoche/

    #1177829

    Hi steed,

    Best regards,
    Victoria

    #1177856

    Hi Victoria,

    Whoops! I’m so sorry. Try this shorter one.

    #1178039

    Hi,

    Please try this as well:

    .template-single-blog .content {
        padding-top: 10px;
    }

    Best regards,
    Rikard

    #1178050

    Hi again,
    Your second QuickCSS looks almost the same as the first one, and neither are working on the page I’m testing on:

    I must be missing something. Thanks for helping me understand.

    #1178277

    Hi,

    Please leave the CSS we are giving you in there, otherwise we can’t see the problem. The last piece of CSS is not applying at all for instance, are you selecting to delete the old CSS and JS files under Enfold->Performance before checking the results?

    Best regards,
    Rikard

    #1180073

    Hi Rikard,

    I think you might have looked in on my issue when I was working on another one and had removed all the QuickCSS as an experiment. Sorry about that!

    I have changed several things in the last few days, so I’d like to ask you to take yet another quick look, and I have a question about your previous suggestions.
    You first said to try this:

    .template-single-blog .content {
      padding-top: 0 !important;
    }

    …then later you said “Please try this as well:”

    .template-single-blog .content {
        padding-top: 10px;
    }

    I am unclear whether you want me to replace the first quickCSS with the second one, or add include second one in addition to the first.

    I want to reduce the height of the white space at the top of my pages — product pages and regular pages — (see the green area in my screenshot above) by half.

    Thank you.

    #1180302

    Hi steed,

    Please remove the code given added before and add this one:

    
    #top #wrap_all #main .content {
        padding-top: 10px;
    }
    

    Best regards,
    Victoria

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