Main Page Widgets CSS Customization

  • Unknown's avatar

    Hello, I am using the Triton Lite theme and i would like to know if there’s a snippet for the following.

    At the bottom of the main page there’s 4 widgets. is there a snippet to make the 4th widget which is the one that has the two logos of teams, be placed underneath the music player? so those two widgets be aligned center?

    The blog I need help with is: (visible only to logged in users)

  • I noticed this was marked as resolved, are you all set?

  • Unknown's avatar

    Still hasn’t been resolved, hopefully there’s a snippet for that request.

  • It doesn’t seem possible to move the two widgets one below the other, but here is a workaround I tried on a test site:

    1. Remove both the logos image widget and the music player widget.

    2. Add a text widget in between the two remaining image widgets.

    3. In your new text widget, add this code to display the music player and logos image:

    [playlist ids="18266"]
    
    <img src="https://vlogazul.files.wordpress.com/2017/01/jornada-5.png">

    Let me know it goes!

  • Unknown's avatar

    It worked perfectly by the way you told me to.

    Would there be a snippet to put dividers between the categories in the main navigation bar?

  • It worked perfectly by the way you told me to.

    Excellent.

    Would there be a snippet to put dividers between the categories in the main navigation bar?

    You can give something like this a try:

    .menu > li > a::after {
         color: #ffffff;
         content: "•";
         margin-left: 10px;
    }
    .menu > li > a {
         margin-left: -10px;
    }
    
    .menu > li:last-of-type > a::after {
         content: "";
    }

    Replace the bullet in content with whatever character you like – it could be a | for example.

  • The topic ‘Main Page Widgets CSS Customization’ is closed to new replies.