-
Search Results
-
Hi, can you tell me what I did wrong?
with a full screen the icons are small, by reducing it they enlarge until they become small again when I reach the minimum resolution
/* Styles for desktop */
@media only screen and (min-width: 1024px) {
.responsive #top .avia-icon-circles-icon {
2 height: 120px !important;
width: 120px !important;
line-height: 120px !important;
font-size: 75px !important;
margin: -60px
}
}/* Styles for tablets */
@media only screen and (min-width: 767px)and (max-width: 1023px) {
.responsive #top .avia-icon-circles-icon {
height: 80px !important;
width: 80px !important;
line-height: 80px !important;
font-size: 60px !important;
margin: -40px;
}
}/* Styles for mobile devices */
@media only screen and (max-width: 766px) {
.responsive #top .avia-icon-circles-icon {
height: 50px !important;
width: 50px !important;
line-height: 50px !important;
font-size: 30px !important;
margin: -25px;
}
}second question: can I also set the font size of the description within these parameters?
tnxTopic: 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;
}
}
