Forum Replies Created

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • in reply to: Full Width Easy Slider titles on mobile #568761

    Thanks a lot Elliot. That made the titles visible, they just needed to be moved down a bit more. Below is the final custom CSS code:

    @media screen and (max-width: 500px) {
    .slideshow_align_caption { padding: 0px !important;
    bottom: -8px;}
    }

    Thanks again!

    in reply to: Custom fonts in Chrome – make smoother (or disable)? #411222

    Worked great. Thanks guys! Hope the Chrome issue can be fixed eventually – it’s a shame to have the fonts look different on different browsers.

    in reply to: Custom fonts in Chrome – make smoother (or disable)? #410741

    Thanks again! Sorry didn’t notice the tag on the heading; I removed it and it still looks quite bad in Chrome.

    I tried your Quick CSS code to deactivate Avenir for all headers in Chrome only, but it worked across all browsers.

    Here’s the code I tried – any way to have it activate only in Chrome?:

    .avia-chrome h1, h2, h3, h4, h5, h6 {
    font-family: ‘Helvetica’, ‘Arial’, sans-serif !important;
    }

    Thanks again!

    in reply to: Custom fonts in Chrome – make smoother (or disable)? #409644
    This reply has been marked as private.
    in reply to: Custom fonts in Chrome – make smoother (or disable)? #408912

    Thanks for the quick response! On my Mac I’m using a remote desktop connection for Windows (which ironically looks better than on a PC). My colleagues are using Windows 7 and it looks quite bad. Chrome is version 40 (or Version 40.0.2214.115 m to be more specific).

    in reply to: Custom fonts working only in Safari #403052

    Thanks Andy. I referred back to MyFonts.com (where I bought the fonts initially) and got it to work finally.

    I added their included “MyFontsWebfontsKit.css” file into the main CSS folder, edited it to show the absolute path to the font files, and added a separate code into both custom.css and header.php:

    <link rel=”stylesheet” type=”text/css” href=”http://www.mywebsite.com/wp-content/themes/enfold/css/MyFontsWebfontsKit.css&#8221; />

    I didn’t need any of the font face codes, etc as described by many other sources. Odd. But it works now!

    in reply to: Custom fonts working only in Safari #401062

    Just an update here, I’ve been changing up the font face URLs, font file locations, etc…still not working. Here is my current info:

    The following is in my custom.css file (font file names are correct):

    @font-face {
    font-family: ‘AvenirNextLTPro-Medium’;
    src: url(‘fonts/2D45D700.eot’);
    src: url(‘fonts/2D45D700.eot?#iefix’) format(’embedded-opentype’);
    src: url(‘fonts/2D45D700.woff2’) format(‘woff2’);
    src: url(‘fonts/2D45D700.woff’) format(‘woff’);
    src: url(‘fonts/2D45D700.ttf’) format(‘truetype’);
    src: url(‘fonts/2D45D700.svg#AvenirNextLTPro-Medium’) format(‘svg’);
    font-weight: normal;
    font-style: normal;
    }

    @font-face {
    font-family: ‘AvenirNextLTPro-Demi’;
    src: url(‘fonts/2D45D710.eot’);
    src: url(‘fonts/2D45D710.eot?#iefix’) format(’embedded-opentype’);
    src: url(‘fonts/2D45D710.woff2’) format(‘woff2’);
    src: url(‘fonts/2D45D710.woff’) format(‘woff’);
    src: url(‘fonts/2D45D710.ttf’) format(‘truetype’);
    src: url(‘fonts/2D45D710.svg#AvenirNextLTPro-Demi’) format(‘svg’);
    font-weight: normal;
    font-style: normal;
    }

    I currently have my fonts in three places on the back end:
    – in the main webroot folder (in a folder called “fonts”)
    – in the enfold theme folder (in a folder called “fonts”) – the WordPress files are in a subfolder of my webfoot folder called “new” as I’m building the new landing page in a subdirectory of my main site
    – in the enfold/css folder (in a folder called “fonts”)

    And finally, I have the following code in Quick CSS:

    h3, h4, h5 {
    font-family: ‘AvenirNextLTPro-Medium’, ‘Helvetica’, ‘Arial’, sans-serif !important;
    font-weight: normal;
    font-style: normal;
    }

    h1, h2 {
    font-family: ‘AvenirNextLTPro-Demi’, ‘Helvetica’, ‘Arial’, sans-serif !important;
    font-weight: bold;
    font-style: normal;
    }

    The Avenir font is showing up fine in Safari on my computer only. All other browsers and Safari on other computers default to Helvetica/Arial. I’m hoping an answer can be extracted from this – again, thanks for all the help!

    in reply to: Custom fonts working only in Safari #400362
    This reply has been marked as private.
    in reply to: Custom fonts working only in Safari #399857
    This reply has been marked as private.
    in reply to: Easy Slider caption alignment on mobile #399163

    Thanks again. The captions still had a large left margin but I was able to tweak your code to solve the problem:

    @media only screen and (max-width: 768px) and (min-width: 481px) {
    .avia-caption { bottom: -10px; left: -18px;}
    h2.avia-caption-title {
    margin-bottom: -5px!important;
    }}

    Thanks again!

    in reply to: Easy Slider caption alignment on mobile #398275

    Thanks Yigit. A couple issues happening now:

    – When viewed on mobile at a normal vertical orientation, the caption titles now get cut off at the bottom. Note that I also have a Quick CSS code to remove the subtitles from captions when the screen size is below 480px (I found it was obstructing the image at small sizes). So essentially the subtitles should appear when the phone is rotated 90 degrees to a horizontal view.

    – When the phone is rotated 90 degrees the captions and subtitles did move down, but:
    1. There is still a large gap between the caption and subtitles (can we move only the caption title down towards the subtitle?)
    2. There is still a large margin on the left (bottom margin looks great however).

    Any help would be appreciated. Thanks again!

    in reply to: Side-by-side fields in footer contact form? #395424

    Worked like a charm. Thank you!

    in reply to: Custom fonts for headers #395402

    Thanks a lot guys, that seems to work.

    in reply to: Custom fonts for headers #393346

    Thanks a lot Elliott, that seems to do the trick! Just a couple small things I noticed:

    1. Now my footer widget headers suddenly became very bold and I’d like them to be Avenir Medium as well. I browsed the forums and tried this code in Quick CSS:

    #footer .widgettitle {
    font-family: “AvenirNextLTPro-Medium”, Helvetica, Arial, sans-serif;
    }

    Also tried adding “!important” behind “AvenirNextLTPro-Medium” but nothing changed. Any tips?

    2. Every time I try to add a “fallback” font option (for mobile, etc) in Quick CSS, the Avenir reverts back to a default font. So for example I tried adding Arial and sans-serif:

    h1, h2, h3, h4, h5 {
    font-family: ‘AvenirNextLTPro-Medium’ !important, “Arial”, sans-serif;
    font-weight: normal;
    font-style: normal;
    }

    And now Avenir changes back to a default font. Any ideas there?

    Thanks again!

    • This reply was modified 9 years, 10 months ago by Nomodic.
Viewing 14 posts - 1 through 14 (of 14 total)