• Resolved axelibarroule

    (@axelibarroule)


    Hello there.
    Is there a way to change the search result “title style”?
    At the moment they are defined as H3 (heading 3) and I would like to change them to H6.
    Thank you very much

    • This topic was modified 7 years, 2 months ago by axelibarroule.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author wpdreams

    (@wpdreams)

    Hi,

    Well, not without touching the actual plugin code.

    Do you want to change the layout (color, font size etc..) of the titles? Because for that a custom CSS code would be much better, and persistent between plugin updates.
    Something like this:

    h3 a.asl_res_url {
        color: red !important;
        font-size: 18px !important;
    }

    Best,
    Ernest M.

    Thread Starter axelibarroule

    (@axelibarroule)

    Ernest, thank you so much for your answer.
    Actually, I need to avoid the h3 results from counting. I assigned counters to my heading.
    Like this:

    
    h3:before {counter-increment: my3counter; content:counter(my3counter)".\0000a0"; counter-reset:my4counter}
    
    h3.nocount:before {
            content: none;
            counter-increment: none;
    }
    
    h3 {
        font-size: 14px;
        color: #000;
    	  text-decoration: underline;
    	text-transform:lowercase;	
    }
    

    The problem is that my search plugin’s results are also counting. So the results titles are preceded by 1., 2., 3. I was wondering if I could easily avoid that from happening.

    thanks again!

    • This reply was modified 7 years, 2 months ago by axelibarroule.
    Plugin Author wpdreams

    (@wpdreams)

    Hi!

    Sure, I believe this custom CSS will help:

    .asl_content h3:before {
      content: none !important;
      counter-increment: none !important;
    }
    Thread Starter axelibarroule

    (@axelibarroule)

    Brillant! It worked. Thanks a lot.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Title style’ is closed to new replies.