Shop Categories

X

Title edit

Home Forums Agama Pro Title edit

Topic Resolution: Resolved
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #18636
    Anton
    Participant

    Dear moderators
    I want to add smaller text under the main title on the slider. How can I do this without editing php files or, if not possible, in php files
    Looking forward for your reply

    #18638
    Zex
    Moderator

    Hello Anton!

    Insert the next code into Customizing->General->Additional CSS:

    #agama_slider .slide-1 h2.slide-title::after{
        font-size: 3vw;
        content:" \A Your Text Here ";
        white-space: pre;    
    }

    -Change the number of the slide in the first row (slide-2, slide-3 … slide-10) depending on which slide you want to display additional text on.

    -Replace the “Your Text Here” with your text.
    -Change the font-size value according to your needs.

    Regards

    #18640
    Anton
    Participant

    Thanks a lot!
    Regards

    #18641
    Anton
    Participant

    In line “white-space: pre;” it is an error – expected RBRACE at line 4, col 13.

    #18642
    Zex
    Moderator

    Probably you missed a bracket at the end.

    Make sure you copied the whole code.

    Regards

    #18643
    Anton
    Participant

    I’m very sorry. Checked code, missed ; after your text here

    #18644
    Zex
    Moderator

    No problem. 🙂

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