Hi,
Thank you for that. I have changed your custom css so that it works different on the homepage masonry and the portfolio page masonry, this is what your code now looks like:
@media only screen and (min-width: 766px) and (max-width: 1023px) {
#top.home .av-masonry-entry .av-masonry-entry-title {
font-size: 9px!important;
}
}
@media only screen and (min-width: 766px) and (max-width: 1130px) {
#top.portfolio-template-default .av-masonry-entry .av-masonry-entry-title {
font-size: 9px!important;
}
}
Please clear your browser cache and check.
Best regards,
Mike
Don’t Change Nothing…
But I must to Insert something here? /* Add your Mobile Styles here */
Thanks
Here my Complete CSS code:
@media only screen and (max-width: 767px) {
.responsive .logo img { max-height: 40%; top: 0px; }}
@media only screen and (max-width: 1024px) {
/* Add your Mobile Styles here */
.logo {
margin-top: -10px;
margin-left: -10px;
}
}
.weather {
position: relative;
float: right;
top: -10px;
right: 110px;
}
#top .sub_menu>ul {
float: left;
margin: 0;
right: -40px;
position: relative;
}
@media only screen and (max-width: 767px) {
.weather {
top: -30px;
}
.responsive #header_meta .sub_menu ul{
text-align:right!important;
color:#000!important;
}
}
.header_color .weather { color: black; }
#top .av_header_transparency #header_meta {
border-bottom: none! important;
}
.logo {
margin-top: -20px;
margin-left: -10px;
}
.header-scrolled .logo { margin-top: 0; }
.inner_sidebar {
margin-left: 30px;
}
.main_color table,
#top .main_color .avia-data-table.avia_pricing_minimal th {
background: transparent;
}
#top.page-template-default.page.stretched #main .container:before {
content: ‘ ‘;
display: block;
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 1;
opacity: 0.2;
background-image: url(https://residenzeparadiso.com/wp-content/uploads/2017/12/chaplet-2489637_1920.jpg);
background-repeat: no-repeat;
background-size: cover;
}
#top.page-template-default.page.stretched #socket .container:before {
background-image: url(https://residenzeparadiso.com/wp-content/uploads/2018/01/whitebackground.png) !important;
background-repeat: repeat;
}
#top.page-id-61 .inner_sidebar {
font-style: normal!important;
}
@media only screen and (max-width: 767px) {
.responsive #top #wrap_all .container {
width: 100%!important;
max-width: 100%!important;
padding-left: 25px!important;
padding-right: 25px!important;
}}
Hello,
with the last update the header and the menu entries move slightly when the page loads.
The final display of the page layout is drawn correctly but on load the header moves visibly and the menu fonts quickly become bigger untill they are displayed in the correct size.
What could cause this strange behaviour?
Hey dittefrandsen,
Please try the following in Quick CSS under Enfold->General Styling:
@media only screen and (max-width: 479px) {
.single-portfolio #av_section_1 h1.av-special-heading-tag {
font-size:30px !important;
}
}
Best regards,
Rikard
Hi,
Can you try to check your child theme, there seems to be an unclosed font tag:
<font style="font-family:comfortaa;font-size: 13px; color:#55565b;">
try fixing this up, since it’s showing everywhere in the inspector (screenshot in private content). Also can you try to post the content of functions.php in https://pastebin.com/ (post the link here so we can inspect the content).
Best regards,
Nikko
All font-sizes inherited the size from body. Maybe you can manage your desired result by using a screen-width dependent value
f.e.
body {font-size: 1.5vw}
but from that there will be more problems to come from than to solve one.
i think this is the clue – that on responsive design the containers width and their positioning is changed – and font-size stayes more readable
-
This reply was modified 8 years, 2 months ago by
Guenni007.
Hey elvirais,
Thanks for submitting your question. Sorry you’re having an issue. Please try adding this to quick css:
#avia-menu a .avia-menu-text{
font-size:30px!important;
}
Best regards,
Jordan Shannon
Hi
I would like to change the size of de H1 headline to 30 on phone screens, but only those in the color sections at the top of each portfolio page. Is that possible?
Best regards, Ditte
Hi,
In your custom css, it looks like your code is this:
@media only screen and (max-width: 1130px) {
.av-masonry-entry .av-masonry-entry-title {
font-size: 9px!important;
}
}
Please try changing to:
@media only screen and (min-width: 766px) and (max-width: 1130px) {
.av-masonry-entry .av-masonry-entry-title {
font-size: 9px!important;
}
}
Please note that you are adding “and (min-width: 766px)” to your code, so it will stay the same for tablets and allow the default font size show for mobile.
Best regards,
Mike
Hey canalecatcher,
Find this code in includes > helper-main-menu.php:
/*
* display the main navigation menu
* modify the output in your wordpress admin backend at appearance->menus
*/
above it add this php code:
$output .= '<div class="the_tagline">My Tagline</div>';
just replace My Tagline with the tagline you want to use then add this css code in Quick CSS (located in Enfold > General Styling):
.the_tagline {
font-size: 12px;
line-height: 1;
position: absolute;
bottom: 6px;
}
Hope this helps :)
Best regards,
Nikko
Hey J.C.,
Try adding this css code in Quick CSS (Located in Enfold > General Styling):
.avia-promocontent p {
font-size: 1em;
}
Hope this helps :)
Best regards,
Nikko
Hi,
I have added this css code in Quick CSS (located in Enfold > General Styling):
#top #header_main > .container .main_menu .av-main-nav > li > a,
#top #header_main #menu-item-shop .cart_dropdown_link {
height: auto !important;
line-height: 3 !important;
padding-top: 12px;
}
#header #avia-menu span.avia-menu-fx {
display: none !important;
}
#avia-menu ul.sub-menu {
display: block !important;
opacity: 1 !important;
visibility: visible !important;
background: transparent;
position: relative;
width: 170px;
border: 0 !important;
}
#top #avia-menu ul.sub-menu a {
padding-top: 0;
padding-bottom: 0;
background: transparent;
border: 0 !important;
font-size: 11px;
line-height: 1;
}
Let us know if you need further assistance :)
Best regards,
Nikko
Hey Nikko,
Yes, that got it – thank you!
To increase the size of the “Nothing found” header and “Sorry, no matching results found” lines above that part, I also added the following (leaving this for anyone else who may need it):
.entry-content {
font-size: 16px;
}
Thanks so much for your help! :)
Hi,
You’re welcome :) try adding this css code:
.search-no-results .search_not_found {
font-size: 16px;
}
Best regards,
Nikko
Hey Julie,
Try adding this css code in Quick CSS (located in Enfold > General Styling):
.search-no-results #search-fail p.entry-content {
font-size: 18px;
}
Hope this helps :)
Best regards,
Nikko
Hi there,
What is the best way to match the Promo Box text with the default body text?
See:
TX!
still having problems…
I think I pretty much have the font weight problem solved…
but the main issue now is responsiveness…
I’ve added css to ‘quick css’, as well as the ‘built-in css editor’
html { font-size: 100%; }
body { line-height: 1.6875; font-family: ‘Lato’, arial, helvetica, sans-serif; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: ‘lato’, arial, helvetica, sans-serif; font-weight: 900; margin-top: 0; line-height: 1.1; }
h1 { font-size: 200%; }
h2 { font-size: 180%; }
h3 { font-size: 160%; }
h4 { font-size: 120%; }
h5 { font-size: 100%; }
h6 { font-size: 80%; }
p { color: #000000; font-size: 100%; font-weight: 500; margin-bottom: 5%; }
@media (min-width: 768px) {
body { font-size: 80%; }
}
@media (min-width: 992px) {
body { font-size: 100%; }
}
@media (min-width: 1200px) {
body { font-size: 120%; }
}
essentially, I’m trying to emulate https://gusto.com/ how they do their fonts… but with Lato as the font family…
I’m not having a whole lot of success at this point…
we’re having some serious issues with the responsive text… it’s massive…and the line spacing is wack….
help me, obi-wan…you’re our only hope!
-
This topic was modified 8 years, 2 months ago by
tkingsbu.
Hello,
I got great help here employing this code to change the Heading 1 font size:
#top.page-id-29 .post-entry-29 h1 {
font-size: 50px !important;
}
Now I have a couple of follow up questions.
1) Is there a way to make the font size grow and shrink depending on the size of the viewer’s display? I’ll give an example of what I mean in the private space.
2) I noted in your code that in order to deploy this on a given page, you referenced page-id-29. If I want to do this on other pages, where can I see the page id number? I know that I’ll need to deploy similar solutions on other pages within my web site.
Best regards,
Tim
just tried changing it to:
}
html { font-size: 100%; }
body { line-height: 1.6875; font-family: ‘Lato’, arial, helvetica, sans-serif; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: ‘lato’, arial, helvetica, sans-serif; font-weight: 900; margin-top: 0; line-height: 1.1; }
h1 { font-size: 200%; }
h2 { font-size: 180%; }
h3 { font-size: 160%; }
h4 { font-size: 120%; }
h5 { font-size: 100%; }
h6 { font-size: 80%; }
p { color: #000000; font-size: 100%; font-weight: 500; margin-bottom: 5%; }
@media (min-width: 768px) {
body { font-size: 80%; }
}
@media (min-width: 992px) {
body { font-size: 100%; }
}
@media (min-width: 1200px) {
body { font-size: 120%; }
}
so far, no luck..not working…
actually, I may not have solved anything lol…
still having problems…
I think I pretty much have the font weight problem solved…
but the main issue now is responsiveness…
I’ve added css to ‘quick css’, as well as the ‘built-in css editor’
}
@media (min-width: 480px) {
H1 { font-size: 50%; }
}
@media (min-width: 768px) {
H1 { font-size: 80%; }
}
@media (min-width: 992px) {
H1 { font-size: 90%; }
}
@media (min-width: 1200px) {
H1 { font-size: 100%; }
essentially, I’m trying to emulate https://gusto.com/ how they do their fonts… but with Lato as the font family…
I’m not having a whole lot of success at this point…
we’re having some serious issues with the responsive text… it’s massive…and the line spacing is wack….
help me, obi-wan…you’re our only hope!
:)
}
Hey!
Could you please try using Special Heading ( Spezielle Überschrift ) element instead? You are currently using a text block and it changes the font size for P tagged elements.
Alternatively, you can go to Enfold theme options > Layout Builder and check “Show element options for developers” and then edit your text block element and give it a custom CSS class (“my-custom-class” in example below) and then add following code to Quick CSS field in Enfold theme options > General Styling tab
@media only screen and (max-width: 480px) {
.my-custom-class h1 { font-size: 12px !important; }
.my-custom-class h2 { font-size: 10px !important; }}
Cheers!
Yigit
Hey govus,
Try this code in the General Styling > Quick CSS field:
@media only screen and (min-width: 1310px) {
#top.home #yhteystiedot .container {
padding: 0px !important;
}
}
@media only screen and (min-width: 767px) and (max-width: 1309px) {
#top.home #yhteystiedot .container {
padding: 0 20px !important;
}
#top.home #yhteystiedot .container .iconlist_icon {
margin-right: 10px!important;
}
#top.home #yhteystiedot .container .iconlist_content p {
font-size: 10px !important;
}
}
For tablet it reduces the padding for the iconbox and the content font so it will fit in the area, and for laptops it reduces the padding to make the iconbox larger.
Best regards,
Mike
I have a <h1> headline. And the screen option “Font Size for very small screens” is 12px.
But it does not work for iPhone · width: 375px .
How can I sove it?
Best regards
Alfred
Hi, I tried your Shortcode But The Weather Tags is Displayed on the right in desktop Pc or below in Mobile Smarthpone from polylang…
I Want It on The Left Sticky…
Here my Complete Quick CSS:
.weather {
float: right;
top: -10px;
position: relative;
}
@media only screen and (max-width: 767px) {
.responsive #header_meta .sub_menu ul{
text-align:right!important;
color:#000!important;
}}
.header_color .weather { color: black; }
#top .av_header_transparency #header_meta {
border-bottom: none! important;
}
.logo {
margin-top: -30px;
margin-left: -10px;
}
.header-scrolled .logo { margin-top: 0; }
.inner_sidebar {
margin-left: 30px;
}
.main_color table,
#top .main_color .avia-data-table.avia_pricing_minimal th {
background: transparent;
}
#top.page-template-default.page.stretched #main .container:before {
content: ‘ ‘;
display: block;
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 1;
opacity: 0.2;
background-image: url(https://residenzeparadiso.com/wp-content/uploads/2017/12/chaplet-2489637_1920.jpg);
background-repeat: no-repeat;
background-size: cover;
}
#top.page-template-default.page.stretched #socket .container:before {
background-image: url(https://residenzeparadiso.com/wp-content/uploads/2018/01/whitebackground.png) !important;
background-repeat: repeat;
}
#top.page-id-61 .inner_sidebar {
font-style: normal!important;
}
@media only screen and (max-width: 767px) {
.responsive #top #wrap_all .container {
width: 100%!important;
max-width: 100%!important;
padding-left: 25px!important;
padding-right: 25px!important;
}}
Thanks
Hi enfold team,
I’m having some issues with my footer and can’t seem to make it work.
Firstly my social icons, I’d like to have colour on mouse over for each icon in their colours
Vimeo – #629640
Linkedin- #3472a4
Youtube- #d2463a
Twitter- #a3d1f9
Secondly, is there a way to edit the MailChimp signup to remove birthday?
Thirdly, is there a way to change the font size in the Latest News section to match the other footer columns?
Nothing seems to work!
Hey Neil,
While there is not a easy way to add this to both sides of your logo, you can add a widget next to your header and add your number. Please read this: Adding a widget area to the header
For an alternative you can try this code in the General Styling > Quick CSS field:
@media only screen and (min-width: 768px) {
.inner-container:after {
content: '555-55555';
font-size:20px;
color: red;
}
}
and adjust to suit. Please see screenshot in Private Content area for expected results.
Best regards,
Mike
Hi,
Thank you for the info.
1.) Please edit the grid row cells’ padding settings.
2.) I’m not so sure what you mean by that. Please provide a screenshot.
3.) Use the following css code to center align the title.
.avia-caption.av-slideshow-caption {
width: 100%;
}
.avia-caption .avia-caption-title {
background: none;
width: 100%;
margin-bottom: 30%;
margin-left: 0;
color: #ffffff !important;
font-size: 20px!important;
text-align: center;
}
Best regards,
Ismael
Hey hobie690,
Try this code in the General Styling > Quick CSS field:
#top.page-id-29 .post-entry-29 h1 {
font-size: 90px !important;
}
It targets only that page, and that area, adjust the font-size to suit.
Note that the first line is manually set to 80px, please remove that code to have this code also work.
Best regards,
Mike