Collapsible Mobile Menu
Add to CSS section
/*change hamburger icon to x when mobile menu is open*/
#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before,
.et_pb_module.et_pb_menu .et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
content: '\4d';
}
/*adjust the new toggle element which is added via jQuery*/
ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
ul.et_mobile_menu li.page_item_has_children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.page_item_has_children .mobile-toggle {
width: 44px;
height: 100%;
padding: 0px !important;
max-height: 44px;
border: none;
position: absolute;
right: 0px;
top: 0px;
z-index: 999;
background-color: transparent;
}
/*some code to keep everyting positioned properly*/
ul.et_mobile_menu>li.menu-item-has-children,
ul.et_mobile_menu>li.page_item_has_children,
ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.page_item_has_children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children {
position: relative;
}
/*remove default background color from menu items that have children*/
.et_mobile_menu .menu-item-has-children>a,
.et-db #et-boc .et-l .et_mobile_menu .menu-item-has-children>a {
background-color: transparent;
}
/*hide the submenu by default*/
ul.et_mobile_menu .menu-item-has-children .sub-menu,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu {
display: none !important;
visibility: hidden !important;
}
/*show the submenu when toggled open*/
ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible {
display: block !important;
visibility: visible !important;
}
/*adjust the toggle icon position and transparency*/
ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle {
text-align: center;
opacity: 1;
}
/*submenu toggle icon when closed*/
ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after {
top: 10px;
position: relative;
font-family: "ETModules";
content: '\33';
font-size: 20px;
color: #be996f;
background: transparent;
border-radius: 50%;
padding: 3px;
}
/*submenu toggle icon when open*/
ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after {
content: '\32';
}
/*add point on top of the menu submenu dropdown*/
.et_pb_menu_0.et_pb_menu .et_mobile_menu:after {
position: absolute;
right: 5%;
margin-left: -20px;
top: -14px;
width: 0;
height: 0;
content: '';
border-left: 20px solid transparent;
border-right: 20px solid transparent;
border-bottom: 20px solid #ffffff;
}
/*adjust the position of the hamburger menu*/
.mobile_menu_bar {
position: relative;
display: block;
top: 1px;
bottom: 10px;
line-height: 0;
}
/*force the background color and add a rounded border*/
.et_pb_menu_0.et_pb_menu .et_mobile_menu,
.et_pb_menu_0.et_pb_menu .et_mobile_menu ul {
background-color: #ffffff !important;
border-radius: 10px;
}
Video Background Overlay
Add to Section > CSS > Before
content:"";
display: block;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.3);
z-index: 1;
Image as Background
Add to CSS section
#main-header {
background: url(/wp-content/uploads/2017/09/menu-background.jpg);
border-bottom: 1px solid #000000;
}
Single Post Page
Add to CSS section
.single .post {
padding-bottom: 0px !important;
}
.et_pb_post {
margin-bottom: 0px !important;
}
body.single-post #main-content>.container {
width: 100% !important;
max-width: 100% !important;
}
Posts Read More
Add to CSS section
.et_pb_posts a.more-link {
display: inline-block;
background-image: linear-gradient(to right, #be996f, #856b4d) !important;
color: #ffffff !important;
font-weight: 600;
font-size: 14px;
width: 120px;
text-align: center;
margin-top: 15px;
margin-bottom: 30px;
height: 30px;
padding: 3px 0px 3px 0px;
border-radius: 3px;
}
.et_pb_posts a.more-link:hover {
display: inline-block;
background-image: linear-gradient(to right, #856b4d, #be996f) !important;
color: #ffffff !important;
font-weight: 600;
font-size: 14px;
width: 120px;
text-align: center;
margin-top: 15px;
margin-bottom: 30px;
height: 30px;
padding: 3px 0px 3px 0px;
border-radius: 3px;
}
Posts Sidebar
Add to CSS section
.et_pb_widget ul li {
margin-top: 4px;
display: inline-block;
}
.wp-block-latest-posts__featured-image img {
border-radius: 4px;
}
.wp-block-latest-posts__featured-image.alignleft {
padding-right: 14px !important;
}
.et_pb_bg_layout_light .et_pb_widget li a {
color: #856b4d;
font-size: 16px;
font-weight: 600;
margin-left: 14px;
line-height: 1.3em;
display: flex;
}
.wp-block-latest-posts__post-date {
margin-left: 14px;
display: flex;
}
Secondary Menu
Add to CSS section
.et_secondary_nav_enabled #page-container #top-header {
background-image: linear-gradient(to right, #be996f, #856b4d) !important;
}
#et-info {
float: none !important;
text-align: right;
}
Custom Blog Layout
Insert in Code section
Blog > Advanced > CSS Class
left-blog-image
Social Links Target
Insert before closing </head> tag