[Support request] even and odd parameters in the css theme file

Home Forums Support [Support request] even and odd parameters in the css theme file

Home Forums Support even and odd parameters in the css theme file

  • This topic has 1 reply, 2 voices, and was last updated 4 years ago by Leo.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #834066
    Vadim

    We have set in the theme’s settings > Layout > Top panel > align > right.
    We expect that all the widgets in Top panel will be aligned to the right side of the website.
    But they do not!!!
    Because there is the next code In GP’s file style.min.css:

    .top-bar-align-right .inside-top-bar>.widget:nth-child(even), .top-bar-align-left .inside-top-bar>.widget:nth-child(odd) {
    float: left;
    margin-right: 10px;
    }

    Can you explain why so?

    GeneratePress 2.2.2
    GP Premium 1.7.8
    #834191
    Leo
    Staff
    Customer Support

    Hi there,

    Just the way we try to split the top bar area by default.

    A lot of our users use two top bar widgets and the majority of them actually want one on right and the second on the left.

    We are happy to help with the CSS if you need though. Looks like you already figured out?

    Let me know 🙂

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