Forum Replies Created
-
AuthorPosts
-
Hi Victoria,
I’ve first used the code mentioned above, that was working fine. Adding a page the transparent header ws already selected. So I went searching in functions-enfold.php for glassy and found an ID. Changing this gives me the following code:
add_action( 'after_setup_theme', 'enfold_customization_product_switch' ); function enfold_customization_product_switch(){ add_filter('avf_builder_elements', 'avf_builder_elements_mod'); } function avf_builder_elements_mod($elements) { $counter = 0; foreach($elements as $element) { if($element['id'] == 'header_transparency') { $elements[$counter]['std'] = 'header_transparent header_with_border '; } $counter++; } return $elements; }Unfortunately the code didn’t work anymore with the change of ‘header_with_border’.
So, if you can help me with this, that would be great.
Regards,
Erwin
Hi,
I’m sorry, linked the wrong topic on your support-forum. The right topic is this. In this topic Ismael is giving the code for a glassy header by default. This is still working great, have tested it. I’m only looking for the right id for the transparant header with border. See the given code below.add_action( 'after_setup_theme', 'enfold_customization_product_switch' ); function enfold_customization_product_switch(){ add_filter('avf_builder_elements', 'avf_builder_elements_mod'); } function avf_builder_elements_mod($elements) { $counter = 0; foreach($elements as $element) { if($element['id'] == 'header_transparency') { $elements[$counter]['std'] = 'header_transparent header_glassy '; } $counter++; } return $elements; }Regards,
Erwin
Hi,
Ismael, thank you for your post, this works great! I’ve copied the code also for use beneath 950px.
Would it be possible to align the blog-meta in the center, if beneath 950px? The same should be happening with the read-more on the blog-page. Would be great if possible!
Regards,
Erwin
October 22, 2017 at 8:09 pm in reply to: If responsive start entry-title beneath featured image #867296Hey Mike,
Works great! Thank you, you can close the topic.
Regards,
Erwin
Hi Mike,
Thank you, it’s working fine now.
Regards,
Erwin
Hi Mike,
Thanks for your reply. I’ve removed the code, but that doesn’t change anything. It was there as an attempt of me trying to ge the element up.
Can you think of anything else?
Regards,
Erwin
Hi,
I’m sorry, perhaps I wasn’t clear enough. I ment beneath 767px. Above is working fine.
Regards,
ErwinHi,
It are featured images, so there is no alignment-option.
Regards,
Erwin
Hi Jordan,
No apologies needed! You’re trying to help.
For the posts I’m using the default editor. On the page which contains the posts, I’m using the ALB to display the posts form the category.
Regards,
Erwin
Hi Jordan,
Thank you for the very quick reply. Works great! You can close this topic.
Hi Ismael,
This is another way of approach. Works fine, thank you, just changed the values a bit.
You can close this topic.
Regards,
Erwin
Hi Mike,
Thought I tried this one, probably not. It’s working fine.
Thank you, you may close this topic.
Regards,
Erwin
Hi Victoria,
This code is working. Thank you. You can close the topic.
Regards,
Erwin
Hi John,
Adding #top .main_color did it. Thank you. You can close the topic
Regards,
Erwin
Hi,
I’ve tried again, changed the values at the media-query, but it still doesn’t work. Can you think of anything which can override this code?
Regards,
Erwin
Hi Rikard,
Thank you for your reply. I’ve added the code, but nothing changes. Can you think of something else?
Regards,
Erwin
Hi Victoria,
Works great. Thank you! You can close this topic.
Regards,
Erwin
Hi John,
Works great. Thank you! You can close this topic.
Regards,
Erwin
August 23, 2017 at 11:09 pm in reply to: Different background-color contactform on different pages #843318Hi Victoria,
Works perfect! Thank you.
You can close this topic.Best regards,
Erwin
August 23, 2017 at 3:32 pm in reply to: Different background-color contactform on different pages #843072Hi Victoria,
Thank you! That works fine for the text-field, now I have to edit the text-area, how can I do that?
Regards,
Erwin
August 23, 2017 at 8:45 am in reply to: Different background-color contactform on different pages #842922Hi John,
Thank you for looking into it. Unfortunately it doesn’t change a thing. Do you have other suggestions?
Regards,
Erwin
Hi Rikard,
That works fine. Thank you, you can close this topic.
Regards,
Erwin
Hi Ismael,
Thank you for looking at my problem.
What I want is a contactform at the homepage with a white background and green text within the field, so the placeholder has to be green. On other pages the background has to be light-green and the text must have the darker green color. So, there are two forms with a slightly different layout. So I’ve bin trying somethings, from that there’s the css-modification.
Question, how can I separate both forms, tried it with page-id without succes, and give them the right color’s for background and placeholder.
Hope you can follow me.
Regards,
Erwin
Hi Rikard,
You can close the topic.
Regards,
Erwin
Hi,
I thought there was a moment that it didn’t react as expected, I see now it does. That resolves the shrinking part.
But the placeholder-part isn’t resolved, somehow I’m not able to change the text-color of this. On different pages I need a different text-color. Tried it with the standard form included in the ALB and with contact form 7. With the last form I’m able to colorize text-color within input area’s, but not when I place the text as an placeholder. See the link in the private part.
Hope you can help me out.
Regards,
Erwin
Hi Rikard,
Created some more arguments and it’s working good enough.Thank you.
Regards,
Erwin
-
This reply was modified 8 years, 7 months ago by
Erwin.
Hi,
That could work for me. Can you help me with that? I’m having problems with the size of the background. It seems that I can’t change this with css. Also noticing that the triangle creates a margin-top when in responsive mode. If you can help me with those two items, I would be thankful.
Regards,
Erwin
Hi Nikko,
Of course I can, see the private content. I thought it was a more general question…
regards,
Erwin
Hi Victoria,
Sorry, the link is in the private part.
Regards,
Erwin
Hi Victoria,
Sorry for the delay, I added the credentials in the private section. Please be aware of the fact that this is a live site!
Regards,
Erwin
-
This reply was modified 8 years, 7 months ago by
-
AuthorPosts
