• Resolved bababoom

    (@bababoom)


    Hi ??

    I have 5 images aligned horizontally, when the fields are empty they’re hiding.

    The problem is I keep the position of the hidden images instead of having them to be completely centered whatever how many images are hidden, is it possible?

    Best,
    Simon

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author rtowebsites

    (@rtowebsites)

    Hello bababoom,

    we are sorry to tell you we don’t understand your issue. Maybe u can just post a codepen example or make some screenshots of the issue and the result you need.

    [ Signature deleted ]

    Thread Starter bababoom

    (@bababoom)

    Hello ??

    Sorry if I wasn’t understandable in my last message.

    I sell music records & I have artist pages with links for 5 social networks (facebook/twitter/instagram/..).
    Each social network is represented by an image, all aligned horizontally.

    ..(x)-(x)-(x)-(x)-(x)..

    But since some of my artists have their 5 social networks, and some of them have only 2 or 3, I made a condition that way:

    > If the custom field of the social network is empty then the image shouldn’t be displayed, and it works.

    But since they’re aligned horizontally, I’m still having a blank space for the hidden widget.

    Example: For an artist that have only 3 social network custom fields filled, instead of having them that way:

    ……(x)-(x)-(x)……

    I have this:

    ..(x)-(x)-( )-( )-(x)..

    The problem is the div of the image is still present even if the image is not displayed, I may miss something, maybe an easier way to do it..?

    Best,
    Simon

    Thread Starter bababoom

    (@bababoom)

    Wops! nevermind!

    My problem was just silly ^^

    I fixed that easily with CSS..

    Great plugin! Wonder why they did not implement already such function!
    Best,
    Simon

    Plugin Author rtowebsites

    (@rtowebsites)

    Nice to hear you fixed your Problem ??

    We will mark the issue as resolved.

    If you like the Plugin we would be happy about a Rating and Feedback.
    Thank you.

    • This reply was modified 6 years, 3 months ago by rtowebsites.

    Hi !
    I’ve the same problem and I would like to know what’s the solution ?

    @ehlmora it’s probably changing the CSS of the element to display:none;

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘display: none; instead of hiding’ is closed to new replies.