Okay
  Public Ticket #2743542
Portfolio custom css
Closed

Comments

  •  13
    Rodney started the conversation

    I am trying to apply custom css to certain portfolio items. (I do not want this to apply globally to all portfolio items.)

    Attached are two screenshots. One shows the custom css class (lighbox) that I have added to my portfolio item. The other shows the custom css that I have added to Salient > General > CSS / Script Related.

    How do I prepend the custom css I have set in Salient > General > CSS / Script Related so that only portfolio items with "lightbox" are targeted?

  •  8,402
    Tahir replied

    Hey Again,

    On which page URL can we view the Portfolio Page Element ?. 

    Thanks


    ThemeNectar Support Team 

  •  13
    Rodney replied

    Sorry, forgot to post that. Here is the URL: https://learn.homesteader.me/chicken-breed-directory

    If you look at any portfolio item, you will see that there is a portfolio placed inside the portfolio item.

  •  8,402
    Tahir replied

    Hey Again,

    Change

    .col

    to 

    .col.lightbox
    

    Thanks 


    ThemeNectar Support Team 

  •   Rodney replied privately
  •  8,402
    Tahir replied

    Hey Again,

    Did you try using these Metabox Options instead of Custom CSS ?.

    1430241069.pngClick To Open Larger Image.

    Also remove this category of special characters as it's causing the CSS to not work and check the thumb markup using the Inspector to write up custom CSS:

    1143923542.pngClick To Open Larger Image.

     Thanks 


    ThemeNectar Support Team 

  •   Rodney replied privately