Hey Jak73,
Try this in a code block element
<marquee>This text will scroll from right to left</marquee>
you will want to add some style for the font size and color, etc
Best regards,
Mike
if you have a link to your site in private content area – i do not see – because i’m participant too.
But as a container like others you can set in the css code above a background-color.
if you only want to have that icon placed in your content – you don’t need the font-icon. You can place like this your svg itself. Then you can even have multicolor icons in front.
_________
See here an example test page ( with a custom font of mine – you had to change it to your font-family) : https://webers-testseite.de/#footer
and code a bit different:
#footer .widgettitle {
padding-left: 40px;
position: relative;
}
#footer .widgettitle::before {
position: absolute !important;
width: 30px !important;
height: 30px !important;
top: -2px;
left: 0;
content: "\e844";
font-family: "fontellico";
font-weight: 400 !important;
font-size: 1.2em;
line-height: 35px;
background-color: #f5c61b;
color: blue;
text-align: center;
}
Hey terishka1,
Please try the following in Quick CSS under Enfold->General Styling:
.sort_width_container .inner_sort_button span {
font-size: 18px;
color: red;
}
.sort_width_container .inner_sort_button span:hover {
color: blue;
}
div.sort_by_cat {
background: #262626;
}
Best regards,
Rikard
Hi Rikard,
Thank you very much for the code. I use the following code taken from your tab sections doc. to change the font size of the text and tab colours.
/* CSS - Tab font styles */
.av-inner-tab-title {
font-size: 20px;
font-weight: 900;
letter-spacing: .5em;
line-height: 24px;
}
/* CSS - Tab font style on hover */
.av-inner-tab-title:hover {
color: black;
}
/* CSS - Active tab font style */
.av-active-tab-title {
background:gold;
}
There were no changes after inserting the coding. Please advise if I missing some coding?
Thanks,
Nik
you can insert it via quick css and to a pseudocontainer f.e:
#footer .widgettitle::before {
content: "\e800";
font-family: "dentalimpex_icons";
color: #D02514;
position: relative !important;
top: 3px;
margin-right: 5px;
font-weight: 400 !important;
font-size: 1.2em;
}
you have to adjust the code to your needs – here only footer widgets are set
Hello,
I´ve created a custom fontello font with my personal icon – which works great in text blocks and so on. But now I wonder if there is a chance to get my custom icon into the wigdet title?
I created a shortcode for the icon within a post: [av_font_icon icon='ue800' font='dentalimpex_icons' style='' caption='' size='40px' position='left' color='#D02514' link='' linktarget='' sonar_effect_effect='' sonar_effect_color='' sonar_effect_duration='1' sonar_effect_scale='' sonar_effect_opac='0.5' animation='' id='' custom_class='' template_class='' av_uid='av-3oqd' sc_version='1.0' admin_preview_bg=''][/av_font_icon]
How can I add this to the widget title? I made some custom changes to the widget title appearance. When I use the custom-html widget and try to use h3 to immitate the widget title I don`t get the appearance I set up in the advanced styling.
You can see the widget title styling in the link. If I could get my icon just infront of the title it would be perfect.
Thank you very much!
Hey terishka1,
Please try adding this CSS code in Enfold > General Styling > Quick CSS:
.grid-content,
.grid-content .grid-entry-title {
background-color: #262626 !important;
}
.grid-content .avia-arrow {
display: none;
}
.grid-content .grid-entry-title {
text-align: center;
font-size: 22px;
color: white;
}
Best regards,
Nikko
This reply has been marked as private.
Hey onedesignprint,
Thank you for the inquiry.
The base css is overriding the advanced styling. We will forward the issue to our channel. For the meantime, please add this css code.
.html_header_sidebar #header .av-main-nav > li > a .avia-menu-text {
font-size: inherit;
}
Best regards,
Ismael
Hey There,
I would like to change the design of Blogposts. (see link in privat content)
In this case I use elegant blog but I would like to set the Headlines to the left.
In the googledeveloper tool I found some code (when I changed text-align: from center to left, (see below) it worked out, but I don’t know how to insert it in quick css.
.html_elegant-blog #top .post-entry .post-title,
.html_elegant-blog .avia-content-slider .slide-entry-title{
text-align: left;
font-size: 30px;
text-transform: uppercase;
padding:0px 0 15px;
letter-spacing: 2px;
line-height: 1.3em;
margin-bottom:10px;
}
.html_elegant-blog #top .post-entry .blog-categories{
text-align: left;
display: block;
font-weight: bold;
position: relative;
}
I also found code for changing the size of the read more button but I do not know how to write it in quick css: (I changed width and hight in the google developer tool)
)
.html_elegant-blog .more-link {
display: block;
text-align: center;
margin: 20px auto 20px auto;
clear: both;
width: 100px;
height: 40px;
border: none;
border-style: solid;
border-width: 1px;
padding: 10px 0;
border-radius: 2px;
}
Would be very nice of you to help me!
br josephine
-
This topic was modified 3 years, 12 months ago by
josk-design.
Hello,
I would like to change the background colour and font size and colour. Please refer to private content for images. I tried your custom tab code provided at https://kriesi.at/documentation/enfold/tab-sections/ . They don’t work.
Any suggestions is appreciated.
Thank you,
Nik
Hi,
Thanks for the update.
The font size of the h2 element is already set to 22px when we checked. The footer looks fine as well. We provided screenshots in the private field. Please make sure to purge the cache on your end or try to check it on a different browser.
Best regards,
Ismael
Hi,
You can use following code to set H2 font size to 22px
#top #wrap_all .all_colors h2 {
font-size: 22px;
}
I still see it in correct size but if you do not see it after adding the code, you could try adding !important rule as following
#top #wrap_all .all_colors h2 {
font-size: 22px !important;
}
Best regards,
Yigit
Hey,
Could you please try adding !important rule and check if that helps?
@media only screen and (max-width: 990px) {
#top #wrap_all .main_color h1, #top #wrap_all .alternate_color h1 { font-size: 26px !important; }
}
@media only screen and (max-width: 767px) {
#top #wrap_all .main_color h1, #top #wrap_all .alternate_color h1 { font-size: 22px !important; }
}
@media only screen and (max-width: 480px) {
#top #wrap_all .main_color h1, #top #wrap_all .alternate_color h1 { font-size: 18px !important; }
}
Cheers!
Yigit
Hey andrea,
Thank you for the inquiry.
You can define a minimum font size for the text layer in one of its style settings. Please edit the text layer, go to the Styles panel and look for the Min. Font Size and the Min. Mobile Font Size fields. You can also toggle the visibility of the layers on certain screen sizes.
Best regards,
Ismael
Hi,
1- Please use following code instead
@media only screen and (max-width: 990px) {
#top #wrap_all .main_color h1, #top #wrap_all .alternate_color h1 { font-size: 26px; }
}
@media only screen and (max-width: 767px) {
#top #wrap_all .main_color h1, #top #wrap_all .alternate_color h1 { font-size: 22px; }
}
@media only screen and (max-width: 480px) {
#top #wrap_all .main_color h1, #top #wrap_all .alternate_color h1 { font-size: 18px; }
}
2- Please click on the icons to set font size for different screen sizes – https://imgur.com/a/mZoQ9Z4
Regards,
Yigit
1- See private content. H1 is set to 80px on Advance setting. I would like to set it also for other screen sizes.
2- I’ve already set the Font size there but it only allows to set the fullwidth size (can’t find responsiveness setting)
Hi,
1- Could you please post a link of your page so we can make sure we are providing accurate CSS code?
2- You can edit your element and click on the slide and go to Styling > Font Sizes to adjust responsive font size – https://imgur.com/a/ojH7j1N
Best regards,
Yigit
Hey,
Thanks for contacting us!
You can adjust responsive font sizes for Fullwidth Easy Slider in Enfold theme options > General Styling > Typography.
Typography settings do not override post titles so please use following custom CSS code
#top .fullsize .template-blog .post-title { font-size: 30px; }
@media only screen and (max-width: 990px) {
#top .fullsize .template-blog .post-title { font-size: 26px; }
}
@media only screen and (max-width: 767px) {
#top .fullsize .template-blog .post-title { font-size: 22px; }
}
@media only screen and (max-width: 480px) {
#top .fullsize .template-blog .post-title { font-size: 18px; }
}
Best regards,
Yigit
Hi,
i would like to change:
font-size, font-family and center the text in my team members (for the team members text) page.
Hw can i do that?
Kind regards Jak
-
This topic was modified 3 years, 12 months ago by
Jak73.
Hi,
Thanks for the feedback I adjusted the script to this:
function custom_masonry_excerpt_button_script() { ?>
<script>
var elements = new Array();
var elements = document.getElementsByClassName('av-masonry-entry-content');
for (var e = 0; e < elements.length; e++) {
var newHTML = elements[e].innerHTML;
newHTML = newHTML.replace('[buttoncode]','<span class="center-excerpt-button"><span class="avia-button avia-icon_select-yes-left-icon avia-size-large avia-position-center avia-color-theme-color"><span class="avia_button_icon avia_button_icon_left" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello"></span><span class="avia_iconbox_title">SEE MENU</span></span></span>');
elements[e].innerHTML = newHTML;
};
</script>
<?php
}
add_action('wp_footer', 'custom_masonry_excerpt_button_script');
and I added this css to center the buttons:
span.center-excerpt-button {
display: flex;
justify-content: center;
}
Please clear any cache plugin and your browser cache and check.
Best regards,
Mike
Hi,
Thanks for the login, originally I was under the impression that we were talking about a portfolio item, so after testing the solution above was for a portfolio item, but I see that you are using a masonry element to show posts. I couldn’t find a similar solution for this, but I did find a plugin that works Shortcodes Anywhere or Everywhere if the In Post/Page Custom Fields option is used. I first tested this with a simple date shortcode, but using a button shortcode breaks the masonry element.
If you notice the whole masonry block, excerpt and image, is already linked to the item, so you can not add a button to the excerpt that includes a link.
I assume that you understand that this, so I came up with a different solution for you, I replaced your shortcode in the manual excerpt with this:
[buttoncode]
then I added this to your child theme functions.php
function custom_masonry_excerpt_button_script() { ?>
<script>
var masonryExcerpt = document.querySelector(".av-masonry-entry-content.entry-content");
masonryExcerpt.innerHTML = masonryExcerpt.innerHTML.replace("[buttoncode]", '<span class="avia-button avia-icon_select-yes-left-icon avia-size-small avia-position-center avia-color-theme-color"><span class="avia_button_icon avia_button_icon_left" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello"></span><span class="avia_iconbox_title">Click me</span></span>');
</script>
<?php
}
add_action('wp_footer', 'custom_masonry_excerpt_button_script');
and now the button shows.
You can adjust the button html in the script above to suit, if you want help with this please post the button you want to use on a test page so I can copy the html and adjust the script for you.
Best regards,
Mike
Hello There,
I am using a Fullwidth Easy Slider and I want to manage the size and position of the texts.
I already did something. (I am proud as a total css and html and wp beginner. ;-) thanks to the input i found in this forum)
https://kuhl-consult.josk-design.de/5977-2/
(password in private content)
It’s not that bad, but it’s not responsive. I am working o a laptop and a big screen and on the big screen the fonts are too small, and the position is not ok.
Is there a way to say via css that the font should be bigger on big screens and smaller on small screens and the position should be relative like 10% from top and 10% from left for example?
this is the css I’ve put in quick css:
/*—————————————-
// CSS – fullwidth font style
//————————————–*/
/* fullwidth slider title */
.av_slideshow_full .avia-caption-title {
font-size: 40px !important;
line-height: 170% !important;
font-weight: 300 !important;
color: #663515 !important;
}
/* fullwidth slider caption content */
.av_slideshow_full .avia-caption-content p {
font-size: 30px;
line-height: 150%;
font-weight: 200;
color: #000000 !important;
}
/* fullwidth slider caption content */
.avia_transform .av_slideshow_full.avia-fade-slider .active-slide .avia-caption-content
{
width: 100%;
margin: 0 auto;
}
.avia_transform .av_slideshow_full .avia-caption-title {
width: 100%;
margin: 0 auto;
position: relative;
}
@media only screen and (min-width: 768px) and (max-width: 1920px){
.avia_transform .av_slideshow_full.avia-fade-slider .active-slide .avia-caption-content
{
width: 100%;
margin: 0 auto;
}
.avia_transform .av_slideshow_full .avia-caption-title {
width: 100%;
margin: 0 auto;
}
}
.slideshow_caption {
z-index: 100;
width: 65%;
position: absolut;
bottom: 0;
top: -15.0em;
left: -5.2em;
height: 100%;
display: block;
text-decoration: none;
padding: -100%;
}
Would be so great if you could help me. :)
Best regards
Josephine
Hi,
Thanks for sharing your script, there seems to be an error in my filter but I couldn’t find it so I removed it and adjusted the message script to use your MasTag and this seems to work fine, see the two links below.
You can remove the $('#av-masonry-1.projectgallery').addClass(MasTag); from your script as this is not needed, only the var MasTag is used for the message script to match the child element tags.
This is what is now in your functions.php, please check.
function empty_masonry_message_script() { ?>
<script>
(function($) {
if( $('body.single-product').length || $('body.anotherclass').length ){
var BreadTrail = $(location).attr("href");
var BreadTrailx = BreadTrail.replace('https://staging.idgadvertising.com/tiletech/product/concrete-pavers/', '');
BreadTrailx = BreadTrailx.replace(/\/$/, "");
BreadTrailx = BreadTrailx.replace(/\//g,"-");
console.log(BreadTrailx);
if (BreadTrailx.indexOf("porcelain-pavers") >= 0) {
var PageTitle = $('.rightside .av-special-heading h1.av-special-heading-tag').text();
PageTitle = PageTitle.toLowerCase().replace(/ /g, '-');
var MasTag = 'tag-'+PageTitle;
console.log(MasTag);
$('#av-masonry-1.projectgallery').addClass(MasTag);
} else {
var MasTag = 'tag-'+BreadTrailx;
console.log(MasTag);
$('#av-masonry-1.projectgallery').addClass(MasTag); }
}
var nocat = $('<div class="nocat">No Current Projects</div>').css({'text-align':'center','font-size': '20px'});
$('#av-masonry-1 .av-masonry-container.isotope a').each( function() {
if (!$(this).hasClass(MasTag)) {
$(this).css({'display':'none'});
}
});
if($('#av-masonry-1 .av-masonry-container.isotope a').is(':hidden')){
$(nocat).appendTo('#av-masonry-1');
}
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'empty_masonry_message_script');
Best regards,
Mike
So after studying your code and how it’s implemented, I was able to write a little script that I added before your code and it seems like it worked in theory. The console.log shows the create tag and it does apply to the element, but now it only shows “no current projects”.
any suggestions or ideas let me know
function empty_masonry_message_script() { ?>
<script>
(function($) {
if( $('body.single-product').length || $('body.anotherclass').length ){
var BreadTrail = $(location).attr("href");
var BreadTrailx = BreadTrail.replace('https://staging.idgadvertising.com/tiletech/product/concrete-pavers/', '');
BreadTrailx = BreadTrailx.replace(/\/$/, "");
BreadTrailx = BreadTrailx.replace(/\//g,"-");
console.log(BreadTrailx);
if (BreadTrailx.indexOf("porcelain-pavers") >= 0) {
var PageTitle = $('.rightside .av-special-heading h1.av-special-heading-tag').text();
PageTitle = PageTitle.toLowerCase().replace(/ /g, '-');
var MasTag = 'tag-'+PageTitle;
console.log(MasTag);
$('#av-masonry-1.projectgallery').addClass(MasTag);
} else {
var MasTag = 'tag-'+BreadTrailx;
console.log(MasTag);
$('#av-masonry-1.projectgallery').addClass(MasTag); }
}
})(jQuery);
const allCategoryClasses = [];
const elementsWithCategoryClasses = document.querySelectorAll("#av-masonry-1[class*='tag-']");
const elementsCount = elementsWithCategoryClasses.length != null;
for (let i = 0; i < elementsCount; ++i) {
Array.prototype.push.apply(
allCategoryClasses,
elementsWithCategoryClasses[i].classList
);
}
const presentClasses = {};
var tagClass = (allCategoryClasses
.filter((classname) => {
const present = presentClasses[classname];
presentClasses[classname] = true;
return classname.indexOf("tag-") == 0 && !present;
}));
(function($) {
var nocat = $('<div class="nocat">No Current Projects</div>').css({'text-align':'center','font-size': '20px'});
$('#av-masonry-1 .av-masonry-container.isotope a').each( function() {
if ($(this).children(tagClass).length != 0) {
$(this).css({'display':'none'});
}
});
if($('#av-masonry-1 .av-masonry-container.isotope a').is(':hidden')){
$(nocat).appendTo('#av-masonry-1');
}
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'empty_masonry_message_script');
-
This reply was modified 4 years ago by
jgax87.
Hey Bernhard,
Thanks for contacting us!
Please add following code to Quick CSS field in Enfold theme options > General Styling tab and adjust it as needed
#top .woocommerce .data-privacy span {
font-size: 16px;
}
Best regards,
Yigit
Hi,
Thank you for the update.
Some of the images are actually smaller than the designated thumbnail, so they were not resized the same as the larger ones. The images should have the same aspect ratio and they should be of the same size.
You can use this css code to adjust the style of the post title.
.avia-content-slider .slide-entry-title {
font-size: 0.9em;
line-height: 1.4em;
margin: 0;
font-weight: 400;
}
Best regards,
Ismael
Hi,
I have just made a site using Enfold and it’s looking quite fine. There are a couple of things that are not working yet and I am not sure if it is due to the server, the browser being used or something else.
So what I would like to do is this. In the menu which finds itself on the left side (I am using the Enfold Photography Portfolio demo as the basis), I cannot seem to change the Font weight to bold or any of the other weight numbers.
In Advanced Styling, I have selected Main Menu Links to customise. Font Color, Background Color, Font Size, Font Family and Text Transform all work. However, whichever option I choose for Font Weight does not seem to catch. I don’t see any change while with the other options just mentioned, I do.
I have also downloaded the same font from Google and uploaded the versions I want to use, but they still don’t catch.
The font I would like to use is Raleway Bold, or 700, 800.
Is there a way I can maybe use some CSS or something to make this work?
Thanks in advance.
Hi,
Thank you for the info.
You may need to contact the script authors in order to modify the donation form and override the theme styles. For starters, you can add this code in the Quick CSS field to override the default contact form styles but the positioning of the form fields will still require some modifications.
#bbox-root {
font-size: 13px;
}
#top .bbox-root .input-text, #top .bbox-root input[type="text"], #top .bbox-root input[type="input"], #top .bbox-root input[type="password"], #top .bbox-root input[type="email"], #top .bbox-root input[type="number"], #top .bbox-root input[type="url"], #top .bbox-root input[type="tel"], #top .bbox-root input[type="search"], #top textarea, #top select {
-webkit-appearance: none;
border: 1px solid #e1e1e1;
padding: 4px 0;
outline: none;
font: 1em "HelveticaNeue","Helvetica Neue",Helvetica,Arial,sans-serif;
margin: 0;
margin-bottom: 0;
background: #fff;
line-height: 1.4em;
padding-left: 5px;
display: inline;
font-family: inherit;
float: none;
border-radius: 3px;
width: 50%;
max-width: 171px;
margin-right: 4px;
}
Please toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css.
Best regards,
Ismael