-
AuthorPosts
-
October 16, 2017 at 9:18 pm #864944
I used the function:
( function after_head_image_func(){
echo “<div class=’custom_content’></div>”;}
add_action(‘ava_main_header’, ‘after_head_image_func’);I can manipulate via css but not for media query.
.custom_content{position: absolute;top: 20px;right: 400px;}@media only screen and (max-width: 736px)
{.custom_content{dipalay:none!important;}
}
Did not want to bother you , but cant figure it out. any help would be greatly appreciated.October 16, 2017 at 11:07 pm #865005Hey John,
Please add more context to the question. What exactly are you looking to accomplish?
Best regards,
Jordan ShannonOctober 16, 2017 at 11:23 pm #865013View this screenshot:
http://wyckoff.findsarasotarealtors.com/wp-content/uploads/2017/10/home-2-Real-Estate-Lawyer-Sarasota-Real-Estate-Lawyer-Bradenton-Business-Lawyer.png
The phone number is added using a solution provided in the forum by adding a function and then css to accomplish where it is located.
I am using “display:none;” for mobile media query because it covers the logo and other info in responsive mode.
i can not get it to “display:none” for media queryOctober 16, 2017 at 11:56 pm #865026Hi,
Please provide admin info so we can look in to this issue further.
Best regards,
Jordan ShannonOctober 18, 2017 at 4:12 pm #865779Checking in. I have not heard anything since i gave you credentials.
October 18, 2017 at 4:39 pm #865792Hi,
Apologies for the delay. Please ad this to quick css:
@media only screen and (max-width: 767px) { .custom_content{ display:none!important; } }
Best regards,
Jordan ShannonOctober 18, 2017 at 4:54 pm #865816added to child theme style.css (this is what i had before) Still not working. Also, tried to make mobile burger sticky and that did not work either.
October 18, 2017 at 4:56 pm #865819Hi,
Perhaps you have some broken custom css somewhere. Please remove or comment out your custom css, and just add what I gave you. Also, try putting it in quick css.
Best regards,
Jordan ShannonOctober 18, 2017 at 5:15 pm #865834Got it. thanks.
October 18, 2017 at 10:16 pm #865931Hi,
Did you need further help, or shall I close this topic?
Best regards,
Jordan ShannonOctober 19, 2017 at 4:35 pm #866294Yes. Thank You. You Guys do a great job and make this a wonderful theme to work with.
October 19, 2017 at 5:13 pm #866323Hi,
If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Custom Content for header media query’ is closed to new replies.