Jump to content
You are viewing a curated collection of the most significant posts in this topic.

Featured Replies

Posted
  • Community Expert
  • Management

Yes, it's that time of the week where I spend 20-30 minutes of my life thinking of a terrible pun on a number.

Our weekly beta release is here!

200.gif?cid=5b03a0deysian97qtoi8zlvdlwz1

We have a bunch of fixes for you, along with a tidy up of the new tag page and an update to the editor drop down menus to make it clearer what everything does and to make it a bit better on mobile.

Let us know what you think!

  • Replies 63
  • Views 3.1k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • There might be an issue with the patch system, so just update these files. Any cloud customers can just PM me their URL and I can push the updated files from our end. Patch.zip

  • Oh yeah. I didn't press a button. I pressed it now. It should appear.

  • /* Menütags */ li[data-navapp="blog"] span:nth-child(2)::after { content: "Pro"; display: inline-block; background: #FFB343; padding: 2px 5px; font-size: 10px; text-transform:

Posted Images

The patch not showing up.

image.thumb.png.81d3ae66f947c2831ce61c58b446345f.png

  • Author
  • Community Expert
  • Management

There might be an issue with the patch system, so just update these files.

Any cloud customers can just PM me their URL and I can push the updated files from our end.

Patch.zip

 

Nice customization. Would be a good feature request to set that directly in the Menu Manager. 

I agree, that would be great! 🙂 

 

It would be better if you told us now how to do it😃

You can use your browser's dev tools to copy my custom CSS from my site. 

Ok I'll make it easy:

li[data-ips-hook="navColumnItem"]:nth-child(6) span:nth-child(2)::after {
    content: "Pro";
    display: inline-block;
    background: #FFB343;
    padding: 2px 5px;
    font-size: 10px;
    text-transform: uppercase;
    border-radius: 4px;
    color: black;
    font-weight: bold;
    margin-left: 10px;
	letter-spacing: 0em;
}

li[data-ips-hook="navColumnItem"]:nth-child(5) span:nth-child(2)::after {
    content: "New";
    display: inline-block;
    background: #00cc66;
    padding: 2px 5px;
    font-size: 10px;
    text-transform: uppercase;
    border-radius: 4px;
    color: black;
    font-weight: bold;
    margin-left: 10px;
	letter-spacing: 0em;
}

There may be a more elegant selector than li[data-ips-hook="navColumnItem"]:nth-child(), which breaks the relationship if you edit your menu, but this is just something I quickly hacked to see what it would look like. 

Edited by David N.

/* Menütags */
li[data-navapp="blog"] span:nth-child(2)::after {
    content: "Pro";
    display: inline-block;
    background: #FFB343;
    padding: 2px 5px;
    font-size: 10px;
    text-transform: uppercase;
    border-radius: 4px;
    color: black;
    font-weight: bold;
    margin-left: 10px;
    letter-spacing: 0em;
}

li[data-navapp="gallery"] span:nth-child(2)::after {
    content: "Neu";
    display: inline-block;
    background: #00cc66;
    padding: 2px 5px;
    font-size: 10px;
    text-transform: uppercase;
    border-radius: 4px;
    color: black;
    font-weight: bold;
    margin-left: 10px;
    letter-spacing: 0em;
}

I did this for my testsite... here you control which app it should affect

 

 

It would be better if there was an option to select the application directly, where this selection changes based on the user's permissions, I found that it appears to the visitor on another name😂

If you want to do this for the mobile view... Here is a solution. 

document.querySelectorAll('.ipsOffCanvas__label').forEach(label => {
    if (label.textContent.trim() === "Blogs") {
        label.insertAdjacentHTML(
            'afterend',
            `<span style="
                display: inline-block;
                background: #FFB343;
                padding: 2px 5px;
                font-size: 10px;
                text-transform: uppercase;
                border-radius: 4px;
                color: black;
                font-weight: bold;
                margin-left: 10px;
            ">Blogs</span>`
        );
    }
    if (label.textContent.trim() === "Downloads") {
        label.insertAdjacentHTML(
            'afterend',
            `<span style="
                display: inline-block;
                background: #00cc66;
                padding: 2px 5px;
                font-size: 10px;
                text-transform: uppercase;
                border-radius: 4px;
                color: black;
                font-weight: bold;
                margin-left: 10px;
            ">Downloads</span>`
        );
    }
});

But this is not a CSS Code, you have to add this into the Design Area --> JavaScript 

image.png.3bee90ed3a0b147f915cc66ddfb94e07.png

Recently Browsing 0

  • No registered users viewing this page.