I am new to WordPress and do not know much code.
]]>I am new to WordPress and do not know much code.
]]>Over the years I collected a lot of css scripts that I acquired either from the forum or from Roman.
I tried applying each one at a time to try to correct the issues I am now experiencing.
I will first list the troubleshooting for which I need help and then I will show the CSS that I have in the Additional CSS.
Troubleshooting needs:
1) I want to get the navbar further up.
2) Menu text color:
The following CSS is not changing the text color
/////////////////////////////////////////////
/////////////////////////////////////////////
/* Menu background color before hover */
#mainnav{
background-color: #040500;
}
///////////////////////////////////////////////
//////////////////////////////////////////////
/* Menu text color before hover */
#mainnav ul.menu > li > a{
color: #effa45 ;
}
/* Menu text color during hover */
#mainnav ul.menu > li > a:hover{
color: #ff0000;
}
I went through the customizer to find if
I can change the text color and background
color with no success.
3) <I AM TEMPORARILY USED THE MARGINS in ELEMENTOR
FOR THE HEADER SECTION TO CREATE SPACE BETWEEN IT AND
THE MENU>
In mobile mode, the screen is a little to
wide. There appears to be a little overflow.
Part of the telephone number runs to the
next line.
I am using Elementor.
I used an Inner Section inside of a section for
the “Joshua Davis Video Resume Extension.”
Here is the code I used in the text box:
<p style=”font-size: 50px;”>Joshua Davis Video Resume Extension</p>
<p style=”font-size: 30px;”>201-396-2569, [email protected]</p>
======> Here is the entire CSS that is in the “Additional CSS”<=====
/*Hide page title*/
.page.hentry .title-post {
display: none;
}
@media only screen and (max-width: 1024px) {
.site-header,
.site-header.fixed {
position: absolute !important; }
.btn-menu {
float: right; /* align the menu to the right*/
line-height: 0px; /* I modified this line*/
padding-top: 0px !important;
padding-bottom: 0px !important;
margin-top: 0px !important;
margin-bottom: 0px !important;
}
}
.site-header {
background-color: transparent !important;
padding-top: 0;
}
header#masthead div.col-md-4.col-sm-8.col-xs-12,
header#masthead img.site-logo {
margin-bottom: 0;
margin-top: 0;
}
.page header.entry-header {
display: none;
}
.page-header {
display: none;
}
.site-title {
visibility: hidden;
}
.site-description {
visibility: hidden;
}
/* Menu text color before hover */
#mainnav ul.menu > li > a{
color: #effa45 ;
}
/* Menu text color during hover */
#mainnav ul.menu > li > a:hover{
color: #ff0000;
}
/* Menu background color before hover */
#mainnav{
background-color: #040500;
}
.the-top-menu{
width: 100%;
}
.page-wrap {
padding: 1px 0 1px;
clear: both;
margin-top: 0px;
}
.panel.widget,
.panel-grid-cell section {
padding-top: -10px;
padding-bottom: -10px;
}
.so-panel.widget {
padding: 0;
}
.table-container
{
width: 100%;
overflow-y: auto;
_overflow: auto;
margin: 0 0 1em;
}
table.center {
margin-left:auto;
margin-right:auto;
}
@media only screen and (max-width: 767px){
.btn-menu {
float: right;
margin: -40px 15px 0 0;
}
#mainnav-mobi {
top: 20px;
}
}
.content-wrapper {
padding-top: 0px;
}
—————————–
4) I want to get the logo further to the left
in desktop and tablet mode.
I hope you can help me resolve this problem.
Thank you,
Joshua Davis
]]>.main-navigation .main-menu > li > a {
margin-right: 1.5rem;
}
without results.
Help.
]]>I would like to center the top menu, thank you in advance!
]]>Can anyone help me with this? I’m quite new to CSS…
Thanks!
]]>(disclaimer: I just learned using inspector and adding custom css at a basic level)
I am using free elementor with the layers theme and I got the following issue:
I need those 4 menu elements in this shop menu but on mobile it pushes the fourth element into a second row. Which is uncanny as hell.
I tried everything and I googled it many times but I could not find the parameter to add to my additional css to make them move together inside the row.
I tried both
display: inline-block;
white-space: nowrap;
and nothing does the job.
My recent custom css addition for the menu is:
@media only screen and (max-width: 700px) {
.nav-horizontal ul#menu-shop-menu-1.menu{
display: inline-block;
padding: 10px;
height: auto;
}
}
i’d be veeeery grateful for a solution (:
best regards,
kosta
I am trying to make my main navigation menu spread from the far left to the far right of the screen, with the items spaced evenly across the screen no matter the size.
I am using the Neve theme and only seem to have the option to use px to determine the width between items which is useless as it means as soon as the screen size changes the menu looks awful!
I have tried various css options from the web but none of them have worked.
Help please!
]]>2. How to increase the size of the site title on that menu?
It was added there by going to Layout Menus > Layout for Primary Menu > Add Site Title to Left of Primary Menu
Thanks very much.
]]>When you drop down a menu from the header, there is no spacing or separator between each item on the menu. It makes it extremely difficult for the reader to distinguish between items on the drop down. When you hover over the list, the items do change color, which helps.. But is there a way to adjust the spacing set on the menu itself?
See an example:
Thank you!!
]]>