Forum Replies Created
-
AuthorPosts
-
Hi Ismael,
thank you for your answer.
If I am not mistaken it is a “global” code which effects the global site.
Do you have a version wich will effect the “Home” only (Page ID 47) as we discussed it before?Zsolt
Hi Elliot,
thank you for your answer.Zsolt
Hi Ismael,
thank you. Yes that works great, it is added to the home page only.
Sorry if I was not clear: my proplem is that the menu background color is not #F2F2F2 at the top.
You can find here the screenshot:
https://dl.dropboxusercontent.com/u/30820584/Header_Menu_Color_when_scrolling_down.pngZsolt
Ok, thank you.
Zsolt
This reply has been marked as private.Hi Ismael,
thank you for your answer.
My client looks for a simple solution. Is it possible to change the background color of the header menu from white to #F2F2F2 onTHIS SPECIFIC PAGE ONLY?
Screenshot:
https://dl.dropboxusercontent.com/u/30820584/How_to_change_background_color_of_home_menu%20%27Home%20-%20DELRUS%20EUROPE%27%20-%20delruseurope_com_home.jpgThank you,
Zsolt
Hello Yigit,
thank you for the code. :-)
I changed the color code (because it was red) at the end of your code and it works.
The code with my change:
#top #header .avia_mega_div > .sub-menu > li > ul li.current_page_item > a > .avia-menu-text {
color: #2d5c88;
}Thank you for your help!
Zsolt
Hi,
01. Should I add this code to the functions-enfold.php or functions.php?
02. When you write “change 11 to the ID of that page” do you mean to write this number to the “Order” field at the “Page Attributes” section?
03. Yes, the home is hidden in the Bread crumbs: https://kriesi.at/support/topic/remove-home-from-breadcrumbs-2/
04. When you write “You may have to switch $trail[0] to $trail[1] ” you mean to use this in the functions-php:
if ( is_page(11) || 11 == $post->post_parent ) { $trail[1] = null; } ?Thank you,
Zsolt
Hi Eliott,
thank you for your answer. I applied the CSS and this problem is solved, but we have an other.
If I am on the Patient Monitor subpage, but the active menu is not blue, but it should be.
This same problem if I click on the “Capsule Endoscopy”. The other menu elements work great.
Find here the screenshot: https://dl.dropboxusercontent.com/u/30820584/mega_menu_active_not_blue_at_the_top.pngZsolt
It works, thank you!
Hello Ismael,
thank you for your answer. We are closer to the solution, but not 100%.
As I wrote it in my first post I want to do this change only on the homepage, which is here at the moment:
http://delruseurope.com/home/So I want to use the sticky header function on the entire site EXCEPT on this one: http://delruseurope.com/home/
Is there a solution?Thank you
Zsolt
Hello Yigit,
Thank you.
I made two screenshots:
01. With comment:
https://dl.dropboxusercontent.com/u/30820584/Home%20-%20DELRUS%20EUROPE%27%20-%20delruseurope_com_home.jpg02. A sample what I would like to see when I scroll down the home page:
https://dl.dropboxusercontent.com/u/30820584/Home%20-%20DELRUS%20EUROPE%27%20-%20delruseurope_com_home_without_menu_when%20scrolling_down.jpgZsolt
Hi,
it works fine with the second version of the CSS!
Thank you for your help.Zsolt
Hi Yigit,
thank you for your answer.I followed your insturctions but it does not work for me.
My steps were:
01. Added the line
add_theme_support(‘avia_template_builder_custom_css’);
at the end to the functions-enfold.php file. (I use the photograpy demo style and the functions.php already existed this extra line.)It worked, the Custom CSS Class field appeared.
02. Added to a text element the custom css class name: your-custom-class
03. Addet this code to the quick css at the general styling.But nothing happened.
The site is here: http://www.demotheme.carbonforexcentral.com/1-kezdje-itt/
The text is the firs section with the begining “This text should have the extra css class…”Hi Elliot,
thank you for your answer, it works fine.Zsolt
Hi Yigit,
thank you for your answer.
I pasted the css and it works. The logo does not appear, but the menu is not static.
I mean I want the menu static on this subpage:
The height of the menu is flexible now and it is always on the top of the screen, when I scroll down, but the menu should not have this
function on this subpage. It should behave like a normal page element: disappears when I scroll down.I hope it helps.
(Is it possible to attach a screenshot?)Zsolt
I found this code in your forum and it is working:
#footer .widgettitle { color: #ffffff; } /* color of widget titles */Thank you,
Zsolt
-
AuthorPosts