-
Search Results
-
Topic: Custom CSS not working
Take a look at this page on a site I am mocking up.
I have css in general staying which seems pretty much to only effect the color. There’s some css which auto generates.
.ref2{
font-weight: bolder;
text-align: center;
color: red;
font-size: 2em;
}.ref1{
font-weight: bolder;
text-align: center;
color: black;
font-size: 2em;
}on page:
<span class=”ref2″><span data-mce-type=”bookmark” style=”display: inline-block; width: 0px; overflow: hidden; line-height: 0;” class=”mce_SELRES_start”></span>a</span>
<span class=”ref1″>a</span>what I typed in was
<span class=”ref2″>a</span>
<span class=”ref1″>a</span>What’s the “bookmark” css that defaults into the css?
and why is text align and weights not working?Very confused must be a setting or something causing this?
ON a new page it auto fills in this css again:
<span data-mce-type=”bookmark” style=”display: inline-block; width: 0px; overflow: hidden; line-height: 0;” class=”mce_SELRES_start”></span>This is on a temporary url at siteground, will migrate when finished to a permanent url
Thanks so much, just don’t know what t make of this issue.
On this page, I am using this custom code to split the menu left and right of the logo, as per code I found from an enfold Form.
However, on large resolution ( 4k ) The first menu Mega Menu drop down, shows to the far right of the screen. At high resolution, the drop down is essentially half off the screen. Is there newer and better code I should be using?Current Code below:
/* Split menu around logo
—————-*/@media only screen and (min-width: 780px) {
/*In the below code nth-child(x) the value of x should be half the number of total menu items*/
#top #header .av-main-nav li:nth-child(3) {
/* Adjust the width of the logo */
margin-right:320px;
}#top #header_main > .container .main_menu .av-main-nav > li > a {
height: 166px !important;
line-height: 200px;
}#header {
height: 220px; /* Header Height */
}#header .main_menu {
width: 100%;
left: 48%;
transform: translateX(-50%);
}.av-main-nav-wrap {
left: 50%;
transform: translateX(-50%);
padding-top:55px;}
#header .logo {
left: 50%;
transform: translateX(-50%);
z-index:999;
}#header .logo img {
top: 50%;
transform: translateY(-50%);
max-width: 250px;
}
}#top #wrap_all .header_color.av_header_transparency {
background: rgba(255,255,255,.8)!important;
}.header_color div {
border:none !important;
}.logo
{
padding-top:10px !important;
}@media only screen and (max-width: 1375px) {
#header_main .avia-menu-text {
font-size: 16px !important;
font-family: atten-new,sans-serif;
font-weight: 400;
font-style: normal;
text-transform: uppercase;
}.av-main-nav > li > a {
padding: 0 0px;
}#top #header .av-main-nav li:nth-child(3) {
/* Adjust the width of the logo */
margin-right:250px;
}
}Topic: Resize H1 e H1 font
Hi,
on the site, I manually set the size of the H1 and H2.
Now, how can I reset the size of the H1 and H2 using CSS? Is it possible?Looking forward to hearing from you.
Best regards.
MSEnfold, I am working on a site currently at preucil.baslerdesign.com, probably my 15-20th site built on Enfold. I am getting pretty good at figuring things out, but I need help here.
Unfortunately, I am dealing with fairly lengthy secondary menu names: Preucil School of Music | Preucil Preschool | Music Together®
the length of these three items just does not work well on phone sizes. I reached out to your all some time back to help my with some code to increase the font size on these for phone break point:
/*—————————————-
// Increase the size of Secondary Menu text
//————————————–*/
#header_meta a, #header_meta span {
font-size:15px !important;
}This has worked fine. But, different devices are breaking the menu at different places. My iPhone 13 Max breaks after Preucil School of Music, dropping Preucil Preschool and Music Together to a second line.
Other Android Devices, a putting Preucil School of Music and Preucil Preschool on the first line and dropping just Music Together to the second line.
Given this, the behavior of the secondary menu dropdowns are wonky. My iPhone does a good job of keeping the dropdown content “on-screen” without cropping off the content at the left of the screen. My client’s iPhone is reportedly chopping off the dropdown content.
I am stumped. My first thought was that maybe they are changing text sizes through accessibility settings causing this. My other client is an Android user and is reporting the same thing.
I am wondering if breaking these secondary nav into three lines would work. The three lines would have some sort of break control where I could break each line predictably. This solution would be uglier than I would like but the reality is the “Preucil School of Music” item takes up one line at a reasonable size by itself.
And, if this can be done, it would be nice to have some sort of line-height control so that the spacing between lines is mobile friendly as each of these need to be clickable.
Any other thoughts?
Topic: Menu Sidebar Styling







