Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #269456

    Hello,

    1) I have 250x250px images and I’d like to know if there is a way I can specify the border and padding around each image. Right now when I add images it’s creating this HUGE padding and border around each one it looks awful! My test site is nash.hungrylemur.com. You can see the issue I’m having.

    2) Also, I’d like to be able to add my own custom fonts.I added them to the child theme fonts directory. They are OTF. I added the code below to the style.css in the child theme. The section right above the masonry gallery that says “MEN OF NASH”, I am trying to change the font to the one that I just added. I tried overriding it in the style.css child theme, but I guess I’m doing something wrong?

    Any help would be appreciated.

    @font-face{
    font-family:Gotham Black;
    src:url('fonts/GothamHTF/GothamHTF-Black.otf');
    }
    
    // This is the class I'm trying to override with my custom font, but even attempting to override the letter-spacing doesn't seem to work.
    .template-page .entry-content-wrapper h1, .template-page .entry-content-wrapper h2{
    // code to override here
    }
    

    3) The advanced layout editor isn’t appearing for post pages. Anything we can do to get that working because it’s a little difficult with the shortcodes.

    Besides that, I love the theme!

    Thanks,

    Luis

    • This topic was modified 9 years, 11 months ago by luismc83.
    #269565

    It just looks like the style.css changes aren’t being reflected. When I view it in firebug, it’s empty. When I paste the code in there, it works fine. I cleared the cache a bunch of times so I’m not sure why it’s not working.

    #269889

    Hey!

    Thank you for using the theme.

    1.) We will need to see the actual page where the image is located. Please post the page url here.

    2.) Please try to specify the absolute url where the font is located. and make sure that you have access to all the font format. For example, you can try this:

    @font-face {
    font-family: 'Gotham Black';
    src: url('http://www.mywebsite.com/wp-content/themes/enfold/fonts/GothamHTF/GothamHTF-Black.otf')
    src: url('http://www.mywebsite.com/wp-content/themes/enfold/fonts/GothamHTF/GothamHTF-Black.eot?#iefix') format('embedded-opentype'),
    url('http://www.mywebsite.com/wp-content/themes/enfold/fonts/GothamHTF/GothamHTF-Black.woff') format('woff'),
    url('http://www.mywebsite.com/wp-content/themes/enfold/fonts/GothamHTF/GothamHTF-Black.ttf') format('truetype'),
    url('http://www.mywebsite.com/wp-content/themes/enfold/GothamHTF/GothamHTF-Black.svg#GothamHTF-Black') format('svg');
    font-weight: normal;
    font-style: normal;
    }

    3.) The advance layout builder doesn’t support posts. Please watch this video: https://vimeo.com/64996057

    You need to edit config-templatebuilder > avia-template-builder > config > meta.php, find this code:

    array( 'title' =>__('Avia Layout Builder','avia_framework' ), 'id'=>'avia_builder', 'page'=>array('portfolio','page'), 'context'=>'normal', 'priority'=>'high', 'expandable'=>true ),
    

    Replace it with:

    array( 'title' =>__('Avia Layout Builder','avia_framework' ), 'id'=>'avia_builder', 'page'=>array('portfolio','page', 'post'), 'context'=>'normal', 'priority'=>'high', 'expandable'=>true ),
    

    We won’t be able to provide support for any related issues that may occur if you add the advance layout builder to posts.

    Cheers!
    Ismael

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