Thank you. That works great on the homepage. I took the code and added it to my Enfold Child.
Also, I want to put the same blog post that is on the home page (http://tanuri.wpengine.com) on most or all of the other static pages in the website. How can I do that so that font size, style, color, etc are the same on each time? I added the same blog post to another page (http://tanuri.wpengine.com/board-of-directors-minutes/) (hosted on WPengine) but the text styling did not carryover.
Thank you,
— John
Hi,
I am looking for a way to show a grid of newsletter covers as thumbnails, with links to download pdf files.
I have looked at gallery and portfolio options, but cannot find a way to make this work. I need a thumbnail of the cover, a title and a link to download the pdf.
I have used a workaround using “Avia Layout Builder > Text Block Element”, “Add media” to add the image and “Content Elements > Button” to add a button, giving me the following html in my text box:
<h6><a href="http://www.-------------/pdf/no_56_spring_2015.pdf" target="_self">
Issue 56 – Spring 2015</a></h6>
<a href="http://www.-------------/pdf/no_56_spring_2015.pdf" target="_self"><img class="aligncenter size-full wp-image-606" src="http://www.-------------/png" alt="Newsletter 56" width="55" height="76" /></a>
[av_button label='Download here' link='manually,http://www.-------------/pdf' link_target="_self'' size='small' position='center' icon_select='yes' icon='ue887' font='entypo-fontello' color='theme-color' custom_bg='#444444' custom_font='#ffffff']
My question is, can this be achieved more efficiently using another feature in Enfold – the Gallery for instance? Basically I need a group of newsletter cover images, a group of article cover images, with titles, and links to enable download of pdfs.
We will need to add new material occasionally.
I have included a private link below showing a rough working layout.
Hope you can help,
Best wishes
Fiona
Hi bgoldstraw!
Add this to your custom CSS.
.avia-testimonial-content > p {
font-size: 13px;
margin: 0 auto;
max-width: 50% !important;
}
The last two lines are for it’s width.
Best regards,
Elliott
Hey katelynkingtaylor!
try this code to align (left value) and to widen (width value) your submenu:
.av-main-nav ul {
left: 18px;
width: 250px;
}
and adjust as needed.
For font-size of your submenu use this code:
ul.sub-menu .avia-menu-text {
font-size: 10px;
}
Cheers!
Andy
Hey sbisllc!
Please add following code to Functions.php file in Appearance > Editor
add_filter('avf_logo_subtext', 'kriesi_logo_addition');
function kriesi_logo_addition($sub) {
$sub .= "Company Name";
return $sub;
}
Then you can add following code to Quick CSS in Enfold theme options under General Styling tab to adjust the color and size
.subtext { color: orange; font-size: 20px; }
Best regards,
Yigit
My customer doens’t have a logo. How do I add their company name, etc. to the header? How can I can control the font, size, etc?
Hi!
not sure what you want to achieve. A mockup would help a lot to make things clear for us. If you want to increase font-size of your headline rotator use this code:
h1.av-rotator-container-inner {
font-size: 30px !important;
}
and adjust as needed.
Regards,
Andy
Hi,
I would like to customize a few things about my sub-menu and can’t figure out how to do so. I found a previous thread that explained how to alter the padding around menu items, so I currently have this included in my custom CSS:
.main_menu ul:first-child > li > a{
padding: 0 25px !important;
}
Because the padding has been changed, the text in my sub-menus no longer align with the parent text in the main menu. I would like for these to shift to the right so that the text is aligned on the left all the way down. In addition to the alignment issue, I also want to widen the container of the submenus so that the text does not wrap as it does currently. Lastly, I want to be able to change the font style and size of the sub-menu items but can’t figure out which class or ID to adjust the CSS for.
Thanks in advance for your help!
Thank You Yigit,
Really Helpfull, I didn’t end up changing anything in the menu.php file as it makes a global change but it helped me figure out what I needed to do, so i’m supplying the CSS for anyone else that might have issues like this.
/* MOBILE MAIN MENU */
#advanced_menu_toggle {
width: 120px;
color: #7C6853;
transition: all 0.3s ease-out 0s
}
#advanced_menu_toggle:after {
content: ‘Menu’;
font-size: 18px;
position: relative;
top: -4px;
left: 10px;
color: #7C6853;
transition: all 0.3s ease-out 0s
}
#advanced_menu_toggle:hover:after{
color: #fff;
transition: all 0.3s ease-out 0s
}
/* MOBILE MAIN MENU END */
/*MOBILE FULL WIDTH SUB MENU */
.mobile_menu_toggle{
background-color: #81D8D0 !important;
color: #fff !important;
}
.mobile_menu_toggle:after{
content: ‘Menu’;
font-size: 18px;
position: relative;
top: -4px;
left: 5px;
color: #fff;
}
.mobile_menu_toggle:hover{
background-color: #fff!important;
color: #7C6853 !important;
}
.mobile_menu_toggle:hover:after{
color: #7C6853 !important;
}
/* MOBILE FULL WIDTH SUB MENU END */
If you need to change the content for the full width sub menu for inidividual pages add a version of the code below to the ‘Code Block’ of that page
<style>
.mobile_menu_toggle:after { content: “Custom Menu Text Here” !important; }
.</style>
Andy,
That code was for my old code if I revert back to the code you provided it overlaps the main image with the tabs. I have provided all the code listed below that is currently in my quick css
font-size: 20px;
font-weight: bold;
text-align: center;
}
.content, .sidebar {
padding-top: 10px;
padding-bottom: 10px;}
body { font-size: 16px; }
.phone-info span { font-size: 16px; }
.main_menu .menu ul { width: 235px; }
#top div .avia-gallery img { border-style: none; padding: 0; }
@media only screen
and (min-width: 584px)
and (max-width: 1200px) {
.container #advanced_menu_toggle, #advanced_menu_hide {
display: block;
}
.main_menu .avia-menu, #header_main_alternate, .fallback_menu {
display: none;
}}
@media only screen
and (min-width: 584px)
and (max-width: 1200px) {
ul.noLightbox.social_bookmarks.icon_count_4 {
left: -60px;
display: block;
}}
I have been trying to configure the headline rotator function and it just isn’t quite right. I have got it almost there by increasing the font size but I was hoping to have it marked up as H1 but when I do this it has no effect on the look of the headline.
I also dislike the way the rotating words shift the words after forwards and backwards so the line spacing is right but it just looks off so I was wondering if the rotating words could be the last word on one line and the final words could be on a line below so that the headline didn’t move about. Is that do-able?
I have read the forums and added some CSS to the quick css area but it hasn’t quite fixed it. I added:
.av-rotator-text { width: 100% !important; }
.av-fixed-rotator-width .av-rotator-text { text-align: center; }
Hi bgoldstraw!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.phone-info, .sub_menu a {
font-size: 14px;
}
Regards,
Yigit
Hi mczappa!
Try adding this to your custom CSS.
aside li, aside a { color: red !important; font-size: 14px !important; }
If that’s not working then send us a link to your page and we’ll take a look.
Cheers!
Elliott
Hi, is there a way to amend the font size on the small menu at top of page with the phone number?
Thanks
How can I change the font size and color of the category heading and categories subheading at sidebar. Please look screenshot for better understanding. Thanks and best regards
Hi guys,
Recent posts sidebar widget: I tried to change italic to normal and use the same font everywhere else in the website. No matter what I do, it stays italic and the font type does not change either.
What am I doing wrong? This is the code I used:
.widget_recent_entries li a {
font-style: normal !important;
font-family: “Open Sans”, ‘HelveticaNeue’, ‘Helvetica Neue’, Helvetica, Arial, sans-serif;
}
section#recent-posts-2 li {
font-size: 16px !important;
line-height: 25px !important;
}
Sincerely,
Morticka
That’s interesting. Never knew that property existed. Thanks.
So, in my case, does the “em” seem to work because the “font-size” property set by the theme itself was created with responsiveness in mind? It’s just making whatever responsive value 1.5x bigger?
I tried the edit that you mentioned however the social media icons still disappear around 770 pixles and the top content bar with the phone number adjusts to the center. This switch with the top bar text moving to the center and the icons disappearing should take place around 660pixles. Any help cleaning up this code would be greatly appreciated. Thanks
font-size: 20px;
font-weight: bold;
text-align: center;
}
.content, .sidebar {
padding-top: 10px;
padding-bottom: 10px;}
body { font-size: 16px; }
.phone-info span { font-size: 16px; }
.main_menu .menu ul { width: 235px; }
#top div .avia-gallery img { border-style: none; padding: 0; }
@media only screen
and (min-width: 584px)
and (max-width: 1200px) {
.container #advanced_menu_toggle, #advanced_menu_hide {
display: block;
}
.main_menu .avia-menu, #header_main_alternate, .fallback_menu {
display: none;
}}
@media only screen
and (min-width: 584px)
and (max-width: 1200px) {
ul.noLightbox.social_bookmarks.icon_count_4 {
left: -60px;
display: block;
}}
Hi David!
em is relative to the base font size (which is either set manually or by the browser default), what you want is probably something like this:
https://css-tricks.com/viewport-sized-typography/
Cheers!
Josue
Regarding elements that don’t have the option to change font size, what is the proper way to adjust their size/appearance so it responds appropriately with different screen sizes?
For instance, I want to change the size of the text on a full-width button. Is this the proper CSS to ensure it ‘responds’ to varying screen sizes?
.avia_iconbox_title {
font-size: 1.5em;
font-weight: bold;
}
Furthermore, if I want to change the space between the title and button text (below), I should use the “em” sizing instead of absolute “px”, correct?
.av-button-description-below {
margin-top: 0.2em;
}
Both work and do what I want. I just want to ensure this is the proper way of adjusting text when using your theme.
THANKS!
David
Sure,
See link in Private Content
You can find some Header Menu Text like “Event auf Segelyacht”
How can I change this font type and size – with other word, I would like to customize the Header Text.
Is this possible?
BR Thomas
Yes, the admin is hereunder.
The following CSS:
This code appears in colour section 4 :
<h2 style=”text-align: center;”>ALTALEO vous fait bénéficier de son expérience dans les problématiques comptables transfrontalières.</h2>
it uses the following CSS coming from the advanced CSS customisation panel of your template:
media=”all”
#top #wrap_all .header_color h2, #top #wrap_all .main_color h2, #top #wrap_all .alternate_color h2, #top #wrap_all .footer_color h2, #top #wrap_all .socket_color h2 {
font-size: 28px;
line-height: 1.7em;
font-family: ‘proxima-nova’, ‘Helvetica Neue’, Helvetica, Arial, sans-serif;
text-transform: none;
}
The following block is in colour section 5 at the bottom of the page, it is generated via template builder, as a copy of the section 4, but it uses another CSS:
<h2 style=”text-align: center;”>ALTALEO vous fait bénéficier de son expérience dans les problématiques comptables transfrontalières.</h2>
uses the following CSS:
media=”all”
.template-page .entry-content-wrapper h1, .template-page .entry-content-wrapper h2 {
text-transform: uppercase;
letter-spacing: 1px;
}
The result is that the letters are capitalised and the line-heigth changes.
-
This reply was modified 10 years, 6 months ago by
eurobc.
Hey,
Yes it’s possible, but in order for everything to fit in portrait format the headers will be very small. Please try the following in Quick CSS:
@media only screen and (max-width: 1024px) {
#footer .textwidget h3 {
font-size: 16px !important;
}
}
You might need to decrease the value 16.
You might want to consider doing the abbreviation for the street names like you have done for the last one. Another option would be for the widgets to span 50% each for ipad size?
Thanks,
Rikard
Is it possible to have them decrease the font size on ipad so the whole text is visible ? This without making the text smaller on desktop ?
Thanx
Hey,
Try the following instead:
.title_container .breadcrumb {
z-index: 10;
line-height: 1px;
font-size: 11px;
position: relative;
right: auto;
top: auto;
margin-top: auto;
display: table;
margin: 0 auto;
}
Thanks,
Rikard
Hey Paul,
Looks like there’s not enough space for the text there, would you like them to display 100% of the width or do you want to decrease the font-size?
Regards,
Rikard
By default, font-size is 15px and I want to change it to 17px. I know that is possible if I change it in the ‘/enfold/config-woocommerce/woocommerce-mod.css‘
Inside, I look for:
#top .price, #top .price span, #top del, #top ins{
display: inline;
text-decoration: none;
font-size: 15px;
line-height: 24px;
font-weight: 600;
}
and then change:
font-size: 15px;
to
font-size: 17px;
I want do this in ‘style.css‘ inside enfold-child.
I have added:
#top .price, #top .price span, #top del, #top ins{ font-size: 17px !important; }
to Quick CSS in Enfold-Child theme (like you said), and it works.
But then I have tried to add the same code to ‘style.css’ in Enfold-Child theme, and it doesn’t work.
Is there any option that it works?
The WebSite is http://www.topmenaje.com
-
This reply was modified 10 years, 6 months ago by
LEPT.
Hi Yigit!
Thank you for your help.
I have tried your code in my enfold-child (‘style.css’ or Quick CSS in Enfold-Child theme options), and something strange happened.
Only changes the dash between the prices. I have used ‘font-size: 7px’ to emphasize the difference.
Before After
Hi Luis Eduardo!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
#top .price { font-size: 20px !important; }
If that does not work, please post a screenshot showing the changes you would like to make and a link to your website
Regards,
Yigit
Hi
how can I change fontsize and type of header
thx
Thomas