Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #674892

    How can I make some modifications to the Magazine element

    1. I would like to display just the month and year (not full date) above the listing.
    2. I would like to increase the font size of the listing itself.
    3. I would like to change the font color of the listing itself.

    Thanks in advance for your help.

    #675863

    Hey advteksol,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    .av-magazine .av-magazine-content-wrap .av-magazine-title {
        font-size: 16px;
        color: red;
    }
    

    Then please go to enfold/config-templatebuilder/avia-shortcodes/magazine.php file and find

    $time			= get_the_time(get_option('date_format'), $entry->ID);

    and change it to following

    $time			= get_the_time('F, Y', $entry->ID);

    Best regards,
    Yigit

    #675902

    The first works great. I tried the second by adding the magazine.php to my child theme and modifying it there, but it did not work. I tried the modified magazine.php file in ./wp-content/themes/enfold-child-asf and in a sub-directory of that folder (called avia-shortcodes) – neither places worked. I tried it in the parent theme location and it did work. Why is that and how do I make it so it takes it from the child theme?

    Thanks.

    #675911
    #675925

    That works great! Had forgot to add the section to the functions.php to tell it to look for the modified php file.

    One last question, how do I make the magazine title change color when I hover over it.

    Thanks.

    #676039

    Hey!

    Please add following code to Quick CSS as well

    .av-magazine-top-heading:hover {
        color: red!important;
    }

    Cheers!
    Yigit

    #676041

    Hi,

    Please add following code to Quick CSS

    .av-magazine-top-heading:hover {
        color: red!important;
    }

    Best regards,
    Yigit

    #676067

    Unfortunately, that does not work – but this does:

    .av-magazine-title:hover {
    color: red !important;
    }

    Thanks for all your help.

    • This reply was modified 7 years, 7 months ago by advteksol.
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Changes for Magazine Element’ is closed to new replies.