[Resolved] necesito un css

Home Forums Support [Resolved] necesito un css

Home Forums Support necesito un css

  • This topic has 6 replies, 2 voices, and was last updated 7 months ago by Jesus.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #2316926
    Jesus

    En mi WEB https://www.coachdrogas.eu/ arriba del todo , en color azul oscuro tengo el menu secundario, en la segunda fila el ultimo en otro color pone coach para adictos adictas y alcoholicos. justo la anterior pone lo mismo pero en vez de coach reuniones para alcoholicos, adictos, adictas, pues esta tambien queria un color fuerte que la destaque como la otra pues son las paginas esenciales de mi WEN. un color muy diferente claro y letras tambien grandes. Si vais a la WEB lo ven. Gracias

    jesus z.m

    #2316945
    Ying
    Staff
    Customer Support

    Hi there,

    You are using this CSS to style the last menu item:

    .secondary-navigation .main-nav > ul > li:last-of-type > a {
        background: rgb(20,150,152);
        background: linear-gradient(90deg, rgba(20,150,152,1) 0%, rgba(175,32,32,1) 100%);
        font-weight: 700;
        color: #eeeeee;
        border: solid 2px #f22bfc;
    }

    Try to add an additional CSS class to the second last menu item, eg. highlight-menu-item.
    https://sevenspark.com/how-to/how-to-add-a-custom-class-to-a-wordpress-menu-item

    Then you should be able to style it with something like this:

    .secondary-navigation .main-nav > ul > li.highlight-menu-item > a {
        background: rgb(20,150,152);
        background: linear-gradient(90deg, rgba(20,150,152,1) 0%, rgba(175,32,32,1) 100%);
        font-weight: 700;
        color: #eeeeee;
        border: solid 2px #f22bfc;
    }
    #2317673
    Jesus

    Lo he intentado hacer y mis conocimientos no llegan a tanto, lo he hecho con mucho miedo por que veia me cargaba la WEB y bueno lo he puesto seguramente de una forma incorrecta, pero no hizo ningún cambio y otra vez no me atrevo por que veo me cargo la WEB, vamos que la estropeo

    jesus z.m

    #2317791
    Ying
    Staff
    Customer Support

    Let me know if there’s anything unclear.

    #2318244
    Jesus

    Mi nivel de conocimientos no es tan avanzado, dejalo muchas gracias

    jesus z.m

    #2318596
    Ying
    Staff
    Customer Support

    You are welcome 🙂

    #2318653
    Jesus

    acabado

    jesus z.m

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