Forum Replies Created

Viewing 22 posts - 31 through 52 (of 52 total)
  • Author
    Posts
  • in reply to: Remove Highlighting from Main Menu Link for Posts #1072788

    I added the code at the end of the functions-enfold.php file in the Editor and copied the CSS into General Styling and added the category to the post, but it doesn’t seem to be working. I pretty much copied as is. Is there something else I need to do?

    // add category class on single post page
    add_filter( ‘body_class’, ‘add_category_class’ );
    function add_category_class( $classes ) {
    if( is_single() && has_category(‘destinations’) ) $classes[] = ‘destinations-cat’;
    return $classes;
    }

    in reply to: Remove Highlighting from Main Menu Link for Posts #1072442

    Thank you, Mike. That code works great. Is there a way for me to change the code so that only specific posts will show up in the Destinations tabs. Understandably, not all posts will be about destinations. As in, is there a way for me to go into the Dubai post and change some setting around so it only shows up for Destinations? I was only able to assign parents for pages and not posts.

    in reply to: Remove Highlighting from Main Menu Link for Posts #1071470

    Oh, I see. It’s to be inputted into the Editor. Hmmm, I’m not sure I want to do that actually, because it seems to be fundamentally altering the theme itself.

    Actually, is there a way to make it so the Dubai post appears in the “Destinations” tab as you did for the United Arab Emirates page? I think that might be simpler if we can work with the custom CSS to be inputted into the General Styling section. I understand that can be tricky since the United Arab Emirates is a page whereas Dubai is a post. I’m wondering if it is possible.

    My apologies for the complications and thank you for assisting.

    in reply to: Remove Highlighting from Main Menu Link for Posts #1071041

    Thank you, Mike. The Destination highlight works perfectly. Was there a reason why it did not work by default? I certainly set the Destination page as the parent.

    The other set of code to remove the highlighting did not work, however. Is there something else?

    in reply to: Remove Highlighting from Main Menu Link for Posts #1070486

    Thank you for responding, Mike.

    As for not changing it, the Theme Options –> Where to Display –> Blog is currently the setting (I set it as Blog). If I do NOT set it as Blog, then it will not be the parent (and it will not highlight). However, I am afraid that might interfere with the email RSS campaign feed. Furthermore, the posts do not display correctly when Blog is NOT assigned as a parent.

    Is there another way to do this? I know for sure that the “Destinations” tab is the parent to the “United Arab Emirates” page, but the Destinations tab does not get highlighted when the United Arab Emirates page is clicked. Is there any particular reason why it does not highlight in this case? I might actually prefer it if it actually highlighted in this case and not the other.

    Thank you

    in reply to: Catalogue Element Hover #1035878

    Nevermind. I figured it out. My apologies.

    This reply has been marked as private.
    This reply has been marked as private.
    This reply has been marked as private.

    It’s at the bottom of the post on this page.

    I just dragged and dropped Mailchimp Signup’s element and edited it with the code below

    .avia_ajax_form .first_form {
    clear: none;
    margin-left: 15px;
    width: 30%;
    }

    Is this what you wanted?

    I would also like to know how to change the color of the form’s background as well. When I was playing with one of the demos, the socket background changed the background of the contact form, but it isn’t working for me.

    Oh, all the subscription forms and Mailchimp issues are good to go. It’s the Enfold Contact Form that needs fixing. If you go to this section of the site (provided below), you can see that it’s arranged differently. It’s like this because I chose to arrange Enfold’s Mailchimp signup form with the following code. Again, that signup form is fine, but I believe the code altered both forms.

    .avia_ajax_form .first_form {
    clear: none;
    margin-left: 15px;
    width: 30%;
    }

    I was wondering if you can help me set the above code to just the mailchimp form, or provide an alternative option to fix the contact form specifically.

    Thank you

    Thank you so much, Victoria. That worked wonderfully.

    To be honest, I felt like my request was kind of a long shot. The Optin form isn’t even part of Enfold. I am very impressed.

    If it’s not too much trouble, could you show me how you figured out the code? It will help me troubleshoot on my own in the future. The two sets of code provided by you and Rikard are quite different. For instance, Rikard’s code had a period in front of everything and the “a” before the word hover. Yours had neither. When do I use the period versus the hashtag? Also, am I to assume that, should I add a second form, it would be #optinforms-form2-button:hover? I managed to figure out the avia button on my own, but this optin form was very tricky.

    .ace-button a:hover {
    background:red;
    color:white;
    }

    #optinforms-form1-button:hover {
    background-color: aqua !important;
    }

    Thank you

    Hello, Rikard. The button says “Sign Me Up.” It’s in red and it’s on the homepage. I was wondering if you can somehow help me with the hover state on this. This button was created with the Optin Form Plugin, and that form has a custom css section. I want to hover over it and change the color.

    I just want to clarify that the “sign me up” button (on the homepage) and the Enfold button (on the testing page) are two different types of button. The “sign me up” button was created using the Optin Form plugin while the button on the testing page is a button provided by Enfold.

    I am also not exactly sure what you mean by custom class. Can you clarify what this custom class is that you are talking about? The furthest I’ve gotten is the code below, but that doesn’t help me with the hover state for these types of buttons either.

    .avia-button {
    background-color:#109bc5!important;
    color: #ffffff!important;
    }

    Thank you

    Hello, Rikard.

    It shows that everything is activated in the Layout Builder.

    Also, the code provided did not actually affect anything. Is there another code I can use? I still want to change the hover state of the subscribe button on the aceadventurer.com homepage.

    This reply has been marked as private.
    in reply to: Font-family defaults and priority #1004450

    Thank you, Vinay.
    To confirm, if I go to Advanced styling and set the text to Roboto, then the priority will be Roboto; ‘Open Sans’,’HelveticaNeue’,’Helvetica Neue’,Helvetica,Arial,sans-serif; by default?

    Or do I have to manually set it?

    body {
    font-family: Roboto; ‘Open Sans’,’HelveticaNeue’,’Helvetica Neue’,Helvetica,Arial,sans-serif;
    }

    in reply to: Removing the Separation Borders in the Header #977660

    Can you explain the function of these lines of code? I don’t notice any changes.
    #top .avia-search-tooltip input[type=”text”]::-moz-placeholder {
    color: #000 !important;
    }
    #top .avia-search-tooltip input[type=”text”]:-ms-input-placeholder {
    color: #000 !important;
    }
    .header_color .ajax_search_image {
    color: #fff !important;
    }

    The code below doesn’t seem to be working for me. The margins are still thick for some reason.
    .avia-search-tooltip #searchform>div {
    margin: 0px !important;
    }

    1) There also is this strange effect when you click into the placeholder region. It shows some kind of error. I was wondering if that could be eliminated somehow.

    2) How do I eliminate the “view all results tab at the bottom.” It effectively takes me to a search page again. The submit button no longer directs me, but the “view more results” does.

    Thank you very much for the help, Mike. I couldn’t have done this without you.

    in reply to: Removing the Separation Borders in the Header #977339

    My apologies. I have another question. I added a search box and ran into some complications. It seems that most of the problems come from the simple fact that I chose to reverse the colors (black background and white words). I figured out what Quick CSS was necessary to solve most of my problems. The Quick CSS is below.

    .header_color .avia-tt {
    background-color: #11a3bd;
    }
    .header_color .ajax_search_title {
    color: #000000;
    }
    .header_color .ajax_search_excerpt {
    color: #000000;
    }
    #searchform div input {
    color: #000000 !important;
    }

    However, I ran into 3 problems I was wondering if you could help me with.
    1) How do I change the outline of the search box? When I click on it, it has this rather thick border. I’d like to know how to edit the size of it (to make it smaller)
    2) Once I click on the search icon, the search box opens below, but the SECONDARY search icon (magnifying glass) to the right of the search box is just a black square (the search icon doesn’t show up until I hover over it). The black background is black (likely mirroring the header). The search icon is black as well, and that’s why I can’t see it. I’d like to know how to edit this search icon and the background of it as well (or have the ability to take it out the secondary search icon)
    3) The SECONDARY search icon opens up a new page if I click it. How do I control this (prevent this or be able to edit the contents the page that the search button opens up?

    My apologies for the questions. I didn’t think a simple color reversal would cause this many complication, but I am learning quite a bit in the process, so I am very satisfied.

    in reply to: Removing the Separation Borders in the Header #977220

    The code you provided worked excellently.

    I am curious why custom CSS is necessary for this? This was something I changed in the settings within Enfold itself. I even tried taking out all custom CSS and it still was completely black on ONLY the mobile devices (the site worked fine on desktops). Strangely, if I had left the background a lighter color (like white), then the site worked fine on mobile devices. It’s just something about the color black and the mobile version of the site.

    Thank you very much for your help, Mike. I really do appreciate you taking the time to help me.

    in reply to: Removing the Separation Borders in the Header #977098

    It works well now. Thank you very much.

    I have a minor issue with opening the site up on a phone though (i’ve even cleared the cache). Nothing shows up in the header section. It’s just a black background, and the words do not show up until you click somewhere. I was wondering if you knew anything about this.

    in reply to: Removing the Separation Borders in the Header #977077

    Essentially, I’m trying to put a border around the text

    a: hover {border: 1px solid #ffffff; border-radius:100px}
    a: active {border: 1px solid #ffffff; border-radius:100px}

    However, the issue is I have to go into “Advanced Styling” to set up the border for the Main Menu Links, because the color overrides my Quick CSS. But, if it set it to white, then those vertical lines appear again. They appear on the left as you scroll through the header selections. I was wondering if I could somehow fix this so that only the border (and not these vertical lines appear)
    Additionally, my active CSS isn’t working at all. The hover state works decently, but the active state is completely nonfunctional. I was wondering if you knew how to fix this.

    Thank you

Viewing 22 posts - 31 through 52 (of 52 total)