Forum Replies Created

Viewing 30 posts - 31 through 60 (of 101 total)
  • Author
    Posts
  • in reply to: How to include fonts within child theme? #502998

    And now I try to update my live site and it doesn’t work…

    Its working on staging, not on live.

    This is my code in Quick CSS, and the fonts are in enfold-child/fonts:

    /* -- FONT CHANGES -- */
    @font-face {
        font-family: 'trade_gothic_lt_stdregular';
        src: url('/wp-content/themes/enfold-child/fonts/tradegothicltstd-webfont.eot');
        src: url('/wp-content/themes/enfold-child/fonts/tradegothicltstd-webfont.eot?#iefix') format('embedded-opentype'),
             url('/wp-content/themes/enfold-child/fonts/tradegothicltstd-webfont.woff') format('woff'),
             url('/wp-content/themes/enfold-child/fonts/tradegothicltstd-webfont.ttf') format('truetype'),
             url('/wp-content/themes/enfold-child/fonts/tradegothicltstd-webfont.svg#trade_gothic_lt_stdregular') format('svg');
        font-weight: normal;
        font-style: normal;
    }
    
    @font-face {
        font-family: 'trade_gothic_lt_stdbold';
        src: url('/wp-content/themes/enfold-child/fonts/tradegothicltstd-bd2-webfont.eot');
        src: url('/wp-content/themes/enfold-child/fonts/tradegothicltstd-bd2-webfont.eot?#iefix') format('embedded-opentype'),
             url('/wp-content/themes/enfold-child/fonts/tradegothicltstd-bd2-webfont.woff') format('woff'),
             url('/wp-content/themes/enfold-child/fonts/tradegothicltstd-bd2-webfont.ttf') format('truetype'),
             url('/wp-content/themes/enfold-child/fonts/tradegothicltstd-bd2-webfont.svg#trade_gothic_lt_stdbold') format('svg');
        font-weight: normal;
        font-style: normal;
    }
    
    h1,h2,h3,h4,h5,h6 {font-family: trade_gothic_lt_stdbold !important;}
    .avia-content-slider .slide-entry-wrap {margin-bottom: 5px !important;}
    .modern-quote .av-special-heading-tag {font-family: trade_gothic_lt_stdbold;}
    #top .main_menu .menu li, #footer .widgettitle, .avia_widget_section .widgettitle {font-family: trade_gothic_lt_stdregular !important; text-transform:uppercase;}
    h3.av-special-heading-tag, #top .alternate_color.title_container .main-title a {font-family: trade_gothic_lt_stdregular;}
    /* -- END FONT CHANGES -- */

    Any ideas?

    • This reply was modified 9 years, 2 months ago by atrixdave.
    in reply to: How to include fonts within child theme? #502988

    Woohoo looks like full URLs worked! Thank you!

    • This reply was modified 9 years, 2 months ago by atrixdave.
    in reply to: How to include fonts within child theme? #500686

    Ok maybe you can help more because its not working…

    I now have this in my QuickCSS:

    /* -- FONT CHANGES -- */
    @font-face {
        font-family: 'trade_gothic_lt_stdregular';
        src: url('tradegothicltstd-webfont.eot');
        src: url('tradegothicltstd-webfont.eot?#iefix') format('embedded-opentype'),
             url('tradegothicltstd-webfont.woff') format('woff'),
             url('tradegothicltstd-webfont.ttf') format('truetype'),
             url('tradegothicltstd-webfont.svg#trade_gothic_lt_stdregular') format('svg');
        font-weight: normal;
        font-style: normal;
    }
    
    @font-face {
        font-family: 'trade_gothic_lt_stdbold';
        src: url('tradegothicltstd-bd2-webfont.eot');
        src: url('tradegothicltstd-bd2-webfont.eot?#iefix') format('embedded-opentype'),
             url('tradegothicltstd-bd2-webfont.woff') format('woff'),
             url('tradegothicltstd-bd2-webfont.ttf') format('truetype'),
             url('tradegothicltstd-bd2-webfont.svg#trade_gothic_lt_stdbold') format('svg');
        font-weight: normal;
        font-style: normal;
    }
    
    h1,h2,h3,h4,h5,h6 {font-family: trade_gothic_lt_stdbold;}
    .avia-content-slider .slide-entry-wrap {margin-bottom: 5px !important;}
    .modern-quote .av-special-heading-tag {font-family: trade_gothic_lt_stdbold;}
    #top .main_menu .menu li, #footer .widgettitle, .avia_widget_section .widgettitle {font-family: trade_gothic_lt_stdregular !important; text-transform:uppercase;}
    H3.av-special-heading-tag, #top .alternate_color.title_container .main-title a {font-family: trade_gothic_lt_stdregular;}
    /* -- END FONT CHANGES -- */

    And I uploaded the fonts to the enfold-child folder.

    The fonts aren’t displaying correctly. Any ideas why?

    in reply to: How to include fonts within child theme? #498580

    Hi Basilis,

    Thanks for the reply. I’m only using a custom font for certain headers. I’ll show you how I have it configured currently and maybe there’s a better way?

    This is what I have in my Quick CSS:

    h1,h2,h3,h4,h5,h6 {font-family: trade_gothic_lt_stdbold;}
    .avia-content-slider .slide-entry-wrap {margin-bottom: 5px !important;}
    .modern-quote .av-special-heading-tag {font-family: trade_gothic_lt_stdbold;}
    #top .main_menu .menu li, #footer .widgettitle, .avia_widget_section .widgettitle {font-family: trade_gothic_lt_stdregular !important; text-transform:uppercase;}
    H3.av-special-heading-tag, #top .alternate_color.title_container .main-title a {font-family: trade_gothic_lt_stdregular;}

    And I have this in my custom.css file in the main Enfold folder (not Enfold Child):

    @font-face {
        font-family: 'trade_gothic_lt_stdregular';
        src: url('tradegothicltstd-webfont.eot');
        src: url('tradegothicltstd-webfont.eot?#iefix') format('embedded-opentype'),
             url('tradegothicltstd-webfont.woff') format('woff'),
             url('tradegothicltstd-webfont.ttf') format('truetype'),
             url('tradegothicltstd-webfont.svg#trade_gothic_lt_stdregular') format('svg');
        font-weight: normal;
        font-style: normal;
    
    }
    
    @font-face {
        font-family: 'trade_gothic_lt_stdbold';
        src: url('tradegothicltstd-bd2-webfont.eot');
        src: url('tradegothicltstd-bd2-webfont.eot?#iefix') format('embedded-opentype'),
             url('tradegothicltstd-bd2-webfont.woff') format('woff'),
             url('tradegothicltstd-bd2-webfont.ttf') format('truetype'),
             url('tradegothicltstd-bd2-webfont.svg#trade_gothic_lt_stdbold') format('svg');
        font-weight: normal;
        font-style: normal;
    
    }

    And I have those fonts uploaded to the css folder within the Enfold folder (not Enfold Child).

    Can I include the changes above into Enfold Child somehow so I don’t have to modify these each time I update the theme?

    Thank you for your help!

    Dave

    Hello,

    Yes, please take a look! Check the Home Test page. Login credentials included…

    Hi Josue,

    They were able to view the video on YouTube but not through the site. Any other ideas?

    in reply to: Posts not displaying on Tags page #453235

    Awesome that worked! Thank you!

    in reply to: Posts not displaying on Tags page #452703

    Ok, yes I would definitely like to use a child theme for this. Should I just add the archive.php contents to the end of tag.php? Or should I insert them somewhere specific?

    in reply to: Posts not displaying on Tags page #451326

    Yes that fixed the issue! Thank you! Will this affect anything else? Also, is there any way to avoid making this change each time the theme is uploaded?

    in reply to: Posts not displaying on Tags page #450726

    Thank you Josue,

    It appears that Relevanssi is causing the issues. When the plugin is enabled, no posts show on the tag pages.

    I found this post on your forum that discusses the same issue: https://kriesi.at/support/topic/post-tags-not-working-if-relevanssi-is-enabled-another-try/

    Do you know if there is any way to keep Relevanssi active and fixing this issue?

    Thanks so much for your support.

    Dave

    in reply to: Posts not displaying on Tags page #450373
    This reply has been marked as private.
    in reply to: Posts not displaying on Tags page #450286
    This reply has been marked as private.

    You were right Ismael! Thank you!

    Thanks Rikard….I’m checking the site on Screenfly and still see the heroSpace color section at resolutions lower than 375…

    http://quirktools.com/screenfly/#u=http%3A//patriotenergy.com&w=320&h=568&a=37&s=1

    Any ideas why?

    in reply to: How to change link style only in main content area #422696

    Thank you Yigit…this ended up working for me:

    `#main .content p a {text-decoration:underline !important; color: #ca333a !important;}

    in reply to: Bug on Media Entries Page #405577

    Woohoo awesome thank you Ismael!!! Once again amazing support! You guys are the best

    in reply to: Bug on Media Entries Page #405408

    This worked, but now the title bars on regular pages are blank:

    http://www.crude.com/newsroom/

    in reply to: Bug on Media Entries Page #404709

    I think I understand why this is a unique issue to me. I forgot that I had added that filter code into my functions.php file, so that the category of a single portfolio page would display on the title bar. In turn, it also made the most recent portfolio item title display on the CATEGORY archive pages.

    Does that make sense?

    Is there any way to make it so that the category pages show “Archive for: [Category]” in the title bar, and the individual portfolio item title bar displays the portfolio category?

    in reply to: Bug on Media Entries Page #402301
    This reply has been marked as private.
    in reply to: Bug on Media Entries Page #401051

    PS – I switched it back because all headers lost their titles

    in reply to: Bug on Media Entries Page #401049

    Thank you Ismael, but it looks like it removed the title completely now. Any ideas how to get the Category title to display in the title bar?

    in reply to: How to change title bar header to h3? #397741

    Looks good…must have been a cache issue on my end. Thanks guys!!

    in reply to: Bug on Media Entries Page #397247

    Hi Ismael,

    Yes I have these two in my functions.php file:

    //* CHANGE HEADER ON TITLE BAR TO H4 *//

    add_filter( ‘avf_title_args’, ‘enfold_customization_change_title_heading’ );
    function enfold_customization_change_title_heading( $args ) {
    $args[‘heading’] = ‘h4’;
    return $args;
    }

    //* DISPLAY PORTFOLIO CATEGORY ON TITLE BAR *//

    add_filter(‘avf_title_args’, ‘avf_portfolio_title_args’, 10, 1);
    function avf_portfolio_title_args($args) {

    $title = get_the_title($id);

    if(is_singular(‘portfolio’)) {
    $terms = get_the_terms( $id, ‘portfolio_entries’ );
    }elseif(is_singular(‘post’)){
    $terms = get_the_terms( $id, ‘category’ );
    }

    if(is_singular(array(‘portfolio’, ‘post’))) {
    $portfoliocat = array();
    foreach ( $terms as $term ) {
    $portfoliocat[] = $term->name;
    }
    $args[‘title’] = $portfoliocat[0];
    } else {
    $args[‘title’] = $title;
    }

    return $args;
    }

    in reply to: How to change title bar header to h3? #397095

    Thank you Elliott! That worked, except for this page: http://www.crude.com/blog/

    How can I change that Title bar to h4?

    in reply to: How to hide header & navigation on a single page #386526

    You’re the man Yigit! Thank you!

    in reply to: How to hide header & navigation on a single page #385819

    Yigit? :)

    in reply to: How to hide header & navigation on a single page #384611

    Thanks Yigit…that changed the container wrap…but I was referring to the full background (the one that’s displaying in #222222 right now on this page): http://www.crude.com/op-email-ebook-page/

    How do I change that color?

    in reply to: How to hide header & navigation on a single page #384047

    THANK YOU! You guys are the best. Yigit, what CSS would I use to set a different background color for an individual page?

    in reply to: How to disable instant search? #349098

    Thank you Yigit! This did the trick :) Is there a way to stop the “wheel from spinning” over the Search button icon when characters are entered in the search box?

Viewing 30 posts - 31 through 60 (of 101 total)