Hello – When I save a button with this in the label field: <p style=”font-size:30px”>CLICK HERE TO GET YOUR FREE 28 PROGRAM,</p><p style=”font-size:30px”>DELICIOUS RECIPES, HOW-TO VIDEOS, AND MORE</p>
The page updates and a bunch of </br> elements are automatically added to that field such that I’m left with the following:
<p style=”font-size:30px”>CLICK HERE TO GET YOUR FREE 28 PROGRAM,</p>
<p style=”font-size:30px”>DELICIOUS RECIPES, HOW-TO VIDEOS, AND MORE</p>
How can I avoid this? Thank you
Hi guys
I love your themes. I am changing to Enfold now from Replete
3 Q’s about CSS
-I had some CSS codes like changing color of menu bars in the footer and socket and other things.
-I need the CSS for changing the location of my logo because it is now messing up the main menu http://www.bevlogenverf.nl/enfold2
-I used these CSS codes. Anyone knows how to tweek or change them a little bit so they will work also in Enfold?
#top .main_menu .menu a {
color: grey;
}
#top .main_menu .menu a:hover {
color: #0e75bf;
}
#footer .widget {
padding: 30px 0 30px 0 !important;
}
.numeric_controls, .arrow_controls {
position: absolute;
bottom: 100px;
}
#top .sidebar_tab_content.sidebar_active_tab_content {
background-color: #fff;
color: #black;
}
#top .sidebar_tab.sidebar_active_tab {
background-color:#0e75bf;
color: #fff;
}
.slideshow_color .breadcrumb, .slideshow_color .breadcrumb a {
color: #0e75bf;
}
.numeric_controls, .arrow_controls {
position: absolute;
bottom: 10px;
}
#top .ajax_controlls {
top: 70%;
}
#footer .widget_nav_menu li a {
font-size: 14px;
}
#top #menu-item-720 a {
color: #0e75bf;
}
#footer .widget_nav_menu li a {
text-align: center;
}
.iconbox_icon {
background-color: white !important;
}
.widget_nav_menu h3.widgettitle {
text-align: center;
}
#top .iconbox {
width: 100%;
}
#top .avia_mega_div {
background-color: #f5f2f5;
}
#top .avia_mega_div .sub-menu {
background-color: #f5f2f5;
}
#top .avia_mega_div .menu-item ul {
background-color: #f5f2f5;
}
#top .main_menu .menu ul li a {
background-color: #f5f2f5;
}
.sidebar_tab_title {
margin-left: 10px !important;
}
#js_sort_items a {
font-size: 19px;
}
#top.woocommerce-page .woocommerce-ordering select { width: 25%; }
@media only screen and (max-width: 767px) {
#top.woocommerce-page .woocommerce-ordering select {width: auto; }
}
.chzn-container {
position: initial;
}
#top .chzn-container .chzn-drop {
top: 70px !important;
width: 325px !important;
margin-left: 3px;
}
.woocommerce-pagination {
display: none;
}
#top.tax-product_cat .container > .term-description {
display: none;
}
.added_to_cart {
display: none;
}
.form-row.address-field{
overflow: visible;
}
#top .chzn-single div b {
background-position: 5px 6px !important;
}
.widget .gform_wrapper .gform_footer br{
display: none !important;
}
.home .one_fourth.flex_column iframe {
height: 150px !important;
}
Unless you are setting your font size with px then it will automatically size itself for the device.
Eg, you can just set your font size using ems or % if its causing specific issues on a specific viewport.
Hi,
You need to create media queries for this type of situation whereby on different screen sizes, the css that affects the area changes to make objects conform to the new screen size.
.avia-section h1 span {
font-size: .7em;
}
@media only screen and (max-width: 767px) {
.avia-section h1 span {
font-size: .5em;
position: relative;
bottom: 20px;
}
}
@media only screen and (max-width: 479px) {
.avia-section h1 span {
font-size: .3em;
position: relative;
bottom: 20px;
}
}
Please add the above code to /css/custom.css OR to quick css located in Enfold > (theme options) Styling Layout… text area on bottom of page.
Thanks,
Nick
Hi Ismael
Thank you for the code.
1) This works fine, so thank you very much for that.
2) I was wanting to move the menu icon rather that the logo, sorry if that wasn’t clear. I want to move the menu icon up so that it is next to the social icons and phone number.
3) That doesn’t really solve the issue as the title still goes off the page, and it also changes the font size of shorter h3 titles which fit onto the page fine. What I need it to do instead is that if the title is too long to fit on the page then it splits it into two, or even three, lines instead. Is this possible?
Regards,
Rob
Hi,
You can use these on your custom.css or Quick CSS
1.) Move phone number:
@media only screen and (max-width: 767px) {
.responsive #header .social_bookmarks {
margin-bottom: 10px;
}
}
2.) You can move the logo using this
@media only screen and (max-width: 767px) {
#header_main {
z-index: 9999;
}
.responsive .logo {
top: -50px;
margin-left: 100px;
}
}
Adjust the values.
3.) You can adjust the font size of the special heading while viewing on mobile devices
@media only screen and (max-width: 767px) {
.av-special-heading h3 {
font-size: 13px;
letter-spacing: 0;
}
}
Regards,
Ismael
Thats good news so….
what happen regarding making the fonts responsive? Once ive added this code will it mean that Google fonts will be dealt with automatically as currently after ive declared fontface fonts I have change sizes with CSS to make them layout properly?
Cheers
Andy
Hi Ismael
Your suggestion didn’t look quite right (the registered trademark was shifted down right to the middle of the text rather than looking like a superscript).
I did find a solution online (http://stackoverflow.com/questions/501671/superscript-in-css-only).
I set the sup css to this:
<br />
body#top sup {<br />
vertical-align: baseline;<br />
font-size: 0.6em;<br />
position: relative;<br />
top: -0.8em;<br />
}<br />
And it works like a charm with the <sup> html tag.
Hi,
Thanks for the reply! Here is a link to the page where the problem occurs: http://test2013.printlanti.com/painotuotteet/esitteet/
I don’t know how it went outside the container.
Here is all the quick CSS I have applied:
.entry-content .post-meta-infos {
display: none;
}
@media only screen and (min-width: 768px) and (max-width: 989px) {
.responsive .main_menu ul > li > a {
font-size: 9px;
}
}
.sidebar {
position: fixed;
}
Edit. I’ve tried various methods to find the problem, but these have been in vain. For example, no logo (enfold logo), only the sidebar quick CSS, no social icons, no footer widgets or sockets…
Sincerely,
Sami
Hi,
I see no difference between
IE http://i.imgur.com/GP9vO4C.png
and
Chrome http://i.imgur.com/wVqvypW.png
This is the styling used on the Home button
.main_menu ul:first-child > li > a {
display: block;
text-decoration: none;
padding: 0 13px;
font-weight: normal;
font-size: 12px;
font-weight: 600;
font-size: 13px;
}
If you want to create some styling specific to IE simply add the css that you want only IE to render in the empty line of the block below. Then you can add this block to header.php , just find the line </head> in the header.php file, and paste the block below above it.
<!--[if IE]><!-->
<style type="text/css">
/* add your IE only css above this line */
</style>
<!--<![endif]-->
Thanks,
Nick
No, if you’re using a child theme you can insert the code into the child theme style.css file. You can also try to add an important tag to the code like
@media only screen and (max-width: 640px) {
/* Add your Mobile Styles here */
.template-page .entry-content h2, .av-special-heading h3 {
font-size: 15px !important;
}
}
Hi,
1.) The social icons use the entypo fontello font. Right now, there is no easy way of adding a social button. Please refer to this link and follow Nick’s or my instruction: https://kriesi.at/support/topic/youtube-icon
2.) You can change the arrow on css > base.css, find this code:
.image-overlay .image-overlay-inside::before{content:"E744"; font-family: 'entypo-fontello'; font-size: 18px; font-weight: normal; }
.image-overlay.overlay-type-extern .image-overlay-inside::before{content:"27A6";}
.image-overlay.overlay-type-video .image-overlay-inside::before{content:"25B6";}
Change the content property with another icon from entypo fontello. Refer to link for the entypo character maps: http://www.entypo.com/characters/
Example, we’ll use the phone icon(U+1F4DE):
.image-overlay .image-overlay-inside::before{content:"1F4DE"; font-family: 'entypo-fontello'; font-size: 18px; font-weight: normal; }
.image-overlay.overlay-type-extern .image-overlay-inside::before{content:"1F4DE";}
.image-overlay.overlay-type-video .image-overlay-inside::before{content:"1F4DE";}
You can combine different icons.
Regards,
Ismael
I see the H1 font seems to be responsive by default (font-size is reduced as browser window shrinks or is viewed on tablet or mobile device), however, when I enable my cufon font (using the All-in-One Cufon plugin), the font-size no longer responds to the breaking points but instead just stays at a large size therefore running off the screen as the browser window gets smaller (or when viewing on a tablet/mobile device).
Is there a special bit of code I can add to the custom css section to keep the responsiveness of the h1 tag even if I am using a cufon font?
Any advice is appreciated.
My site currently has a coming soon page up and so if you need access to my site to preview the problem, please contact me at (Email address hidden if logged out) for the login details.
Thank you
Hey!
please try following css code
.template-blog .post .entry-content {
font-size: 20px;
}
or
.template-blog .post .entry-content p {
font-size: 20px;
}
Regards,
Peter
No, the “small non-fixed header” doesn’t support such a layout and you’d need to customize the code. However you can use the “Header with bottom menu + social media icons” option – http://kriesi.at/themes/enfold/homepage/home-v6-classic-4-column/ – it looks similar to the menu of http://www.iphotoscanning.co.uk/ and we can help you to change the background color of the menu (i.e. see https://kriesi.at/support/topic/setting-navigation-text-color-setting-font-size ).
Hi,
You can use this:
.main_menu ul:first-child > li > a {
font-size: 25px;
}
Regards,
Ismael
Hi,
Unfortunately, the revision doesn’t work for the Avia Builder.
First, switch the Advance Layout Editor (ALE) to debug mode. Edit functions.php, find this code:
if(isset($avia_config['use_child_theme_functions_only'])) return;
Below, add this code:
//set builder mode to debug
add_action('avia_builder_mode', "builder_set_debug");
function builder_set_debug()
{
return "debug";
}
add_theme_support('avia_template_builder_custom_css');
This will let you see the shortcode below the ALE. You can combine shortcodes like this:
[av_tab_container position='top_tab' boxed='border_tabs' initial='1' custom_class='']
[av_tab title='Tab 1' icon_select='no' icon='1']
Tab Content goes here
[av_button label='Click me' link='' link_target='' color='theme-color' custom_bg='#444444' custom_font='#ffffff' size='small' position='center' icon_select='yes' icon='25']
[/av_tab]
[av_tab title='Tab 2' icon_select='no' icon='1']
Tab Content goes here
[av_button label='Click me' link='' link_target='' color='theme-color' custom_bg='#444444' custom_font='#ffffff' size='small' position='center' icon_select='yes' icon='25']
[/av_tab]
[/av_tab_container]
The example above are buttons inside a tab element.
Regards,
Ismael
Hi,
Please add this on your custom.css or Quick CSS
/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */
@media only screen and (max-width: 640px) {
/* Add your Mobile Styles here */
.template-page .entry-content h2, .av-special-heading h3 {
font-size: 15px;
}
}
Regards,
Ismael
Can I add content elements to the Avia layout builder?
In particular I need to use image_with_text_over title code
as in :
[image_with_text_over title=’BACKGROUND / HISTORY’ image_link=’http://nitzaflantz.com/wp-content/uploads/2013/07/02-history.jpg’]
What did I know about painting by then?
[button size=’tiny’ color=” background_color=” box_shadow=” font_size=” line_height=” font_style=” font_weight=” text=’MORE’ link=”http://nitzaflantz.com/background-history/”]
[/image_with_text_over]
Can I add content elements to the Avia layout builder?
In particular I need to use image_with_text_over title code
as in :
[image_with_text_over title=’BACKGROUND / HISTORY’ image_link=’http://nitzaflantz.com/wp-content/uploads/2013/07/02-history.jpg’]
What did I know about painting by then?
[button size=’tiny’ color=” background_color=” box_shadow=” font_size=” line_height=” font_style=” font_weight=” text=’MORE’ link=”http://nitzaflantz.com/background-history/”]
[/image_with_text_over]
Hi!
Please insert following code into the quick css field
.social_header .phone-info span{
font-size: 20px;
}
and change the font-size value.
Best regards,
Peter
Hi SGS_Marketing,
Try adding the following CSS to your Quick CSS (located under the Styling Tab in the theme options) or the custom.css file in the css folder of your theme files:
.phone-info {
font-size: 14px;
}
Regards,
Devin
Hi,
Here is the snapshot of the page in question, http://www.clipular.com/c?13090040=Ny7LUHp01XCDd21TqFYCMjfLEEs&f=.png
It’s the third page on the Enfold admin vertical menu.
To control the font size you just need the very basic of basic css. However I will forward your request to Kriesi
body {
font: 15px/1.65em "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #444;
}
then drop it into Quick CSS on bottom of Enfold > (Theme Options) > Styling Layout … text are on bottom of the page… or into /css/custom.css
You can suggest anything you want on this thread which Kriesi has been using to make updates https://kriesi.at/support/topic/enfold-feature-requests
However if you want to do it yourself, you can always use Google Chrome dev tools, which are built into the browser to easily locate any css you want , then copy and paste it into Quick CSS , takes seconds and no need to know any coding.
Thanks,
Nick
Hi,
1. Please add this to /css/custom.css OR to Quick CSS
.flex_column .widget .widgettitle, .content .widget .widgettitle {
margin-bottom: 1em;
}
#top .widget ul {
list-style-type: none;
list-style-position: outside;
margin-left: 7px;
}
2. Here is the css that is used on the blue button on the page you linked to
.avia-button-wrap {
display: inline-block;
}
#top .main_color .avia-color-theme-color {
color: red; /*color of button text*/
}
body .avia-button.avia-color-theme-color, body .avia-button.avia-color-theme-color:hover {
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);/*text shadow rgb, 0.1 transparent*/
}
.main_color .avia-color-theme-color{
background-color: #2D5C88; /*main button background color*/
border-color: #2D5C88;/*main button border color*/
}
.avia-button.avia-size-large { /*size, can change large to medium or small*/
padding: 13px 30px;
font-size: 14px;
min-width: 127px;
}
.avia-button.avia-position-left {/*position, can change left to right or center*/
float: left;
display: block;
}
body div .avia-button {
border-radius: 3px;
background-image: url("../images/layout/bg-button.png");
background-repeat: repeat-x;
background-position: 0 0;
padding: 10px;
font-size: 12px;
text-decoration: none;
display: inline-block;
border-style: solid;
border-width: 1px;
margin: 3px 0;
line-height: 1.2em;
position: relative;
font-weight: 600;
text-align: center;
max-width: 100%;
}
4) It’s a text font, so you would write it.( ♥ <— heart ) so just copy whatever you need to use by selecting it on a page and copy the glyph itself and paste it as you would paste any letter or word , and then style it with font size and color, etc..
Thanks,
Nick
Hey Guys,
I did a search and couldn’t find anything that directly related…
Is there a way to change the font size of the text within a blog post only? If I adjust the <p> font size it changes the font size in way more places than I’d like… hoping there is a way to target the blog post text only.
Thanks for your help!
Jon
Hi,
1) Insert following code into the quick css field
.post-entry .image-overlay {
display: none !important;
}
2) Use following css code
.entry-content .post-title {
font-size: 20px;
line-height: 1.3em;
}
3) Delete following code in footer.php
//display link to previeous and next portfolio entry
echo avia_post_nav();
Hi,
To clear things up, is this the font you’re trying to use?
http://www.google.com/fonts#UsePlace:use/Collection:Allura
Did you this bit of code on your header.php?
<link href='http://fonts.googleapis.com/css?family=Allura' rel='stylesheet' type='text/css'>
You should probably use:
h6.script_header {
font-family: 'Allura', cursive;
font-size:3.5em;
font-weight: 200 !important;
}
Regards,
Ismael
Hi, I’ve been reading along in these forums trying to find an answer that works to increase the size of my header font.
I added this code to custom CSS:
#menu-navigation li a {
text-transform: uppercase;
font-size: 25px;
}
But it hasn’t increased.
Help?