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

    Hi! I have a transparent home page. The desktop version is fine but the color on mobile version is not good.

    How do I make the color of the top bar blue on a transparent header on mobile device.

    My problem is only the homepage.

    Thanks!

    Joel

    #714584

    Hey Joel!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    @media only screen and (max-width: 767px) { 
    #header_meta * {
        color: #109bc5;
    }}

    Regards,
    Yigit

    • This reply was modified 8 years, 1 month ago by Yigit.
    #714586

    Got it. It worked. Thanks a lot.

    #714587

    One more thing though, the phone number is still in white color. How do we make it the same color as the others?

    #714589

    Hey!

    Does the issue happen on your phone? Please try adding following code to Quick CSS a well

    @media only screen and (max-width: 767px) { 
    .phone-info * {
        color: #109bc5!important;
    }}

    If that does not help, please try adding following code to functions.php file in Appearance > Editor

    function avia_turn_off_detection(){
    echo '<meta name="format-detection" content="telephone=no">';
    }
    add_action('wp_head', 'avia_turn_off_detection');

    Regards,
    Yigit

    #714590

    Yes. It’s only on the phone. It’s working now! Thanks a lot.

    #714594

    Last question, how do i change the top bar color (not the font) on a transparent background in mobile device because my other pages have a blue background on mobile device.

    #714596

    Hey!

    Please add following code to Quick CSS as well

    @media only screen and (max-width: 767px) {
    #header_meta {
        background: red !important;
    }}

    If that does not help, please elaborate on the changes you would like to make.

    Cheers!
    Yigit

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