• Resolved woodenhouseupnorth

    (@woodenhouseupnorth)


    Using Card 1, the plugin is all setup and working great. I’m just showing the current weather in a small box. No historical data shown.

    But I can’t see how to remove the title “Current”. I wanted to remove the title to make the entry more compact and because the title is redundant in my use case.

    I don’t see an obvious setting, but I can see from the example sites that other people have removed it. What would be the best way to do this? Should I define a custom template or is there something simpler I have missed?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Uwe Jacobs

    (@uwejacobs)

    Hi,
    Below CSS code should bring you close to your desired layout. Enter it in the Weather post settings under the Layout tab. It hides the “Current” header and pulls the info card all the way to the left.

    .fs-3.opacity-75.mt-3 {
      display: none;
    }
    
    .owmw-current-infos.card {
      margin-right: 0;
      margin-left: 0;
    }

    I’ll add more options for these in one of the next releases.

    Thread Starter woodenhouseupnorth

    (@woodenhouseupnorth)

    Ah custom CSS section. Awesome, that worked great.

    In case anyone in the near future sees this and is doing the same thing, I ended up adding the following also to squeeze it all together.

    table.owmw-infos-text td { padding:0; }
    table.owmw-infos-text { margin-top:0 !important; }
    Plugin Author Uwe Jacobs

    (@uwejacobs)

    Thanks for confirming and posting your CSS.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Best way to remove “current” title?’ is closed to new replies.