-
Search Results
-
Hi there,
I’m using advanced custom fields with the theme. This plugin what it does is to provide a nice UI and add custom fields to any kind of post. One of this fields is call repeater field, and stores the data for multiples fields on an array of sub-fields.
http://www.advancedcustomfields.com/resources/field-types/repeater/
What I want is to use those fields that I have from before changing the theme, to keep all the info.
The common code to display does fiels is this
$rows = get_field('repeater_field_name'); if($rows) { echo '<ul>'; foreach($rows as $row) { echo '<li>sub_field_1 = ' . $row['sub_field_1'] . ', sub_field_2 = ' . $row['sub_field_2'] .', etc</li>'; } echo '</ul>'; }The thing is I’m trying to use [av_section] and [av_slideshow] in php using do_shortcode, and this is the code that I create:
echo do_shortcode("[av_section color='main_color' custom_bg='' src='' attach='scroll' position='top left' repeat='no-repeat' video='' video_ratio='16:9' video_mobile_disabled='' min_height='' padding='default' shadow='no-shadow' id='']"); echo do_shortcode ("[av_slideshow size='featured' animation='fade' autoplay='true' interval='5']"); $rows = get_field('images'); foreach($row as $row) : echo do_shortcode("[av_slide slide_type='image' id='" . $row['image'] ."' attachment=',' video='http://' mobile_image='' video_ratio='16:9' title='' link_apply='image' link='lightbox' link_target='']"); echo $row['image']; echo do_shortcode("[/av_slide]"); endforeach; echo do_shortcode("[/av_slideshow]"); echo do_shortcode("[/av_section]");But this doesn’t works at all. How should I do it? Thanks.
I have used the following code as found in the forum to turn the menu items into buttons:
#top .main_menu .menu > li > a{
padding:10px !important;
background: green;
height: auto !important;
line-height: 16px !important;
border-radius: 5px;
margin: 0 13px;
}#top .main_menu .menu {
margin-top: 25px
}
#top .header-scrolled .main_menu .menu {
margin-top: 3px
}This works well for creating the button effect however these are the issues I would still like to fix:
1. The page that I am currently on has the colored underline right underneath it. I would like to be able to remove the underline completely.
2. Can I make it so that the button background of the page that I’m on is a different color from the other buttons?
3. Can I also assign a different background color for the hover state of the buttons?Topic: Extra scrollbar error
Hi Guys,
I just updated the theme with the auto-updater, and an extra scrollbar has been added to my homepage in all browsers:
http://www.kaszinoprofi.hu/This thread did not solve it for me, please tell me how I can remove it.
Thanks,
TomHi,
I have an issue in my homepage. I have a fullwitdth masonry gallery at the middle of the page. When I load the page and scroll down to the gallery, it takes sometimes seconds to start loading images (only have 6).
I there any way to make the gallery auto load completely on page load and not wait for scroll to be done.http://nementio.hl206.dinaserver.com (will be http://www.nementio.com shortly)
Thanks.
Hi
I just updated to 3.9 Enfold and have seen some strange things, my social media icons have lost there color, but on hover you see the color, i had it alternating from color background with white icon then on hover black with colored icon, this happens on laptop and pc’s
On iphone’s, ipad’s and andriod devices it’s differant, the social media icons are the correct color but also show the alt tag, same with the scroll up arrow.
this only happened when i upgraded. i do have custom css on the icons please see below
/* Have fun adding your style here :) – PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */
/* General Custom CSS */
/*SOCIAL MEDIA ICONS SECTION */
#top .social_bookmarks_twitter:hover a
{ color: #4099ff; background-color: transparent; text-decoration: none; }
#top .social_bookmarks_twitter a { color: #fff; background-color: #4099ff; text-decoration: none; }#top .social_bookmarks_facebook:hover a
{ color: #3B5998; background-color: transparent; text-decoration: none; }
#top .social_bookmarks_facebook a { color: #fff; background-color: #3B5998; text-decoration: none; }#top .social_bookmarks_youtube:hover a
{color: #c4302b; background-color: transparent; text-decoration: none; }
#top .social_bookmarks_youtube a { color: #fff; background-color: #c4302b; text-decoration: none; }#top .social_bookmarks_mail:hover a
{ color: #ffcc00; background-color: transparent; text-decoration: none; }
#top .social_bookmarks_mail a { color: #fff; background-color: #ffcc00; text-decoration: none; }#top .social_bookmarks_pinterest:hover a
{ color: #C92228; background-color: transparent; text-decoration: none; }
#top .social_bookmarks_pinterest a { color: #fff; background-color: #C92228; text-decoration: none; }.social_bookmarks li { margin-right: 5px; }
/* Social Icon spacing *//* SCREEN RESPONSIVE SECTION */
@media only screen and (max-width: 640px)
{
.responsive .logo a, .responsive .logo img
{ width:100%; height: auto !important; float:left; margin:0; padding:0; top:0; }
#advanced_menu_toggle { top: 52px; }
.responsive #header .social_bookmarks { top: 55%; margin:0; padding:0; left: -15%; }
}/* LAYOUTS & CONTAINERS SECTION */
.avia-team-member { margin:5px; }
.content, .sidebar { padding-top: 5px; padding-bottom: 0px; }
/* this is the spacing on the main page */.inner_sidebar { margin-left: 10px; margin-right: 0px; padding:0px; }
.togglecontainer { margin: 0px 0px; padding: 0px; }
/* this is the Accordion box on the page */.js_active .toggle_content { padding: 3px; margin: 0px; border-color: #d20000; } /* corsa rossa */
/* this is for the Accordion content details */.js_active .toggler { border-color: #d20000; } /* corsa rossa */
/* this is the Accordion title border area */.tabcontainer { margin:0px 0px; }
/* this is for the content of the Tab box */.js_active .tab_content { padding: 5px; margin: 0px; }
/* this is the content of the Tab box expanded */.js_active .top_tab .tab { border-color: #d20000; } /* corsa rossa */
.js_active .active_tab_content { border-color: #d20000; } /* corsa rossa */
/* this is for the Tab titles and expanded tabs borders */.av-special-heading { margin-top: 0px; }
/* this is for the Special Heading text */.special-heading-inner-border { border-top-width: 2px; border-top-style: none; }
/* this is for the Special Heading line style */.hr { border: solid #ddd; border-width: 2px 0px 0px 0px; clear: both; margin: 5px 0px 5px 0px; height: 0px; }
.hr span { border-color: #00ffaa; }
/* this is for the Horizontal Rule */.avia_textblock { padding: 5px 0px 0px 0px; margin: 0px; }
table { margin: 0px; }
th { padding: 0px; margin: 0px; border: none; }
td { padding: 0px; margin: 0px; border: none; }
tr th:first-child, tr td:first-child { border-left-style: none; margin: 0px; }
tr:first-child th, tr:first-child td { border-top-style: none; margin: 0px; }.single-post .post-entry .big-preview { display:none !important }
/* This stops the preview image being displayed in the post *//*
Desktop Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */@media only screen and (min-width: 768px) {
/* Add your Desktop Styles here */}
/*
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: 767px) {
/* Add your Mobile Styles here */}
Very strange.
I visit the site and start to scroll down. Half way down the page, it will JUMP back to the top of the page automatically.
This does this everytime I reload or visit the site for the first time.
?? very strange scroll bug ?
Firefox 17 version
Topic: Blog Layout
Hello,
Currently, we are using the blog grid style. We want to switch back to the featured image on the left with a snippet on the right. In General Settings, we switched the layout to single author small pic and nothing happened.
Here is the url: http://chicagoweddingblog.com/
Below is all the code in Quick CSS in case there may be a conflict.
@media only screen and (max-width: 767px){
.responsive .mobile_slide_out .logo img {
width: 80%;
height: auto !important;
padding-top: 15px;
}
}.single-post .big-preview.single-big { display: none; }
div .logo {
top: 20px !important;
}
.header-scrolled .logo {
top: 0px !important;
}Please advise.
Cheers!
Topic: Mobile Problem
Hello,
This is a topic I started on Themeforest and was asked to open a thread here.
I have problems on mobile with these 2 websites:
http://www.snnlaw.co.il/
http://www.ranibleierstudio.co.il/As you’ll see, when going mobile on these 2 sites, the buttons and links on the homepage don’t work. Some of them do, and some don’t. I tried it on iPad, iPhone and Galaxy S3. It’s a big problem for me since the mobile part is very important for me. I have been using the AVIA layout builder.
This is the quick css I put in the enfold settings:
h1, h2, h3, h4, h5, h6, p, body, #socket .copyright, #top .footer_color .input-text, #top .footer_color input[type=’text’], #top .footer_color input[type=’input’], #top .footer_color input[type=’password’], #top .footer_color input[type=’email’], #top .footer_color input[type=’number’], #top .footer_color input[type=’url’], #top .footer_color input[type=’tel’], #top .footer_color input[type=’search’], #top .footer_color textarea, #top .footer_color select .main_menu ul:first-child > li > a{
font-family: ‘atlas’, sans-serif;
font-weight: 400;
}h1{
font-size:60px;
line-height: 66px;
}h2{
font-size:40px;
line-height: 46px;
}h3{
font-size:28px;
line-height: 34px;
}p{
font-size:19px;
line-height: 25px;
}#header_main .container, .main_menu ul:first-child > li a {
height: 60px;
line-height: 60px;
font-family: atlas;
font-weight: 400;
font-size: 18px;
}#socket .copyright{
font-size:14px;
line-height: 18px;
}#top .footer_color .input-text, #top .footer_color input[type=’text’], #top .footer_color input[type=’input’], #top .footer_color input[type=’password’], #top .footer_color input[type=’email’], #top .footer_color input[type=’number’], #top .footer_color input[type=’url’], #top .footer_color input[type=’tel’], #top .footer_color input[type=’search’], #top .footer_color textarea, #top .footer_color select{
font-size:17px;
line-height: 18px;
width: 75%;
}#top select{
background-position: 12px center;
margin-top: 10px;
}#top .socket_color .input-text, #top .socket_color input[type=’text’], #top .socket_color input[type=’input’], #top .socket_color input[type=’password’], #top .socket_color input[type=’email’], #top .socket_color input[type=’number’], #top .socket_color input[type=’url’], #top .socket_color input[type=’tel’], #top .socket_color input[type=’search’], #top .socket_color textarea, #top .socket_color select{
width: 100%;
}#top h3 a {
font-size: 19px;
}.rani-about-small{
display:none;
}#top .main_menu .menu li ul a {
width: 100%;
height: auto;
float: left;
text-align: right;
line-height: 23px;
padding: 8px 15px;
font-size: 16px !important;
min-height: 23px;
max-width: none;
text-decoration: none;
}.main_menu ul:first-child > li a {
height: 60px;
line-height: 60px;
padding-right: 20px;
}.avia-button.avia-size-medium {
font-size: 17px !important;
font-family: atlas !important;
color:#000 !important
}And this is what I put in the custom.css file:
@font-face{
font-family:’atlas’;
font-weight:400; /*(regular)*/
font-style: normal;
src: url(‘atlas-aaa-400.eot’);
src: url(‘atlas-aaa-400.eot?#iefix’) format(’embedded-opentype’),
url(‘atlas-aaa-400.woff’) format(‘woff’),
url(‘atlas-aaa-400.ttf’) format(‘truetype’);
}#top textarea {
width: 100%;
height: 140px;
}
#top .avia-menu-fx {
height: 5px;
}
#top .scroll-down-link {
height: 65px;
width: 100px;
margin: 0px 0 0 -40px;
line-height: 70px;
position: absolute;
left: 50%;
bottom: -1px;
color: #000;
background: #AAA;
background: #50d1f5;
text-align: center;
font-size: 40px;
z-index: 100;
text-decoration: none;
border-top-left-radius: 223px;
border-top-right-radius: 223px;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
}Plus these are the plugins I use:
RTL Tester
Limit Login Attempts
Contact Form 7
Wordpress ImporterThanks for your help.
YakiHi Guys,
You kindly helped me out with the gallery sizing issue here:
https://kriesi.at/support/topic/google-fonts-impacting-gallery/
However, on entering the CSS code recommended:
#top div .avia-gallery .avia-gallery-big-inner { height: auto; }
The lightbox now behaves incorrectly.
In Google Chrome it does not appear. The page fades to grey and if you scroll down to the bottom of the page there is a large white space displayed.
On Samsung Tab 3 – Chrome browser it does not display the light box at all
On Samsung Tab 3 – native browser it does not show the lightbox
On Samsung Galaxy S2 – native browser, lightbox doesnt show but also, the header appears very extended ??
On Samsung Galaxy S2 – Chrome browser the lightbox appears, but you have to “chase” it down the screen. Also the extended header is present and I also notice the google fonts are not displayed at all??
On IE11 everything works as expected
Haven’t tested firefox or Safari yet…Any help gratefully received!
Thanks,
Stuart
