-
AuthorSearch Results
-
January 24, 2017 at 4:27 pm #737807
Topic: Logo and Main Menu Top Header Spacing
in forum Enfoldwaveshaper
ParticipantHi there
Enfold Travel Demo
I wish to have my Logo and main menu items closer together and centred.
Which CSS can I use in my child theme to accomplish this?Thank you for your time.

January 24, 2017 at 4:13 pm #737803@Rikard, so I think I got it working, basically I had to assign a localhost domain to the installation.
The Site Address and WordPress Address was “http://localhost/beckerroofing”, so maybe it was that.
So for those having this issue, once I edited my “/Applications/MAMP/conf/apache/httpd.conf” and added that Virtual Host:
<VirtualHost *:80> ServerName local.beckerroofing.com DocumentRoot /Applications/MAMP/htdocs/beckerroofing <Directory /Applications/MAMP/htdocs/beckerroofing> Options Indexes FollowSymLinks Multiviews AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost>You need to stop MAMP and restart it.
and then added the local domain to my /etc/hosts file:
127.0.0.1 local.beckerroofing.com
Then go back to “Settings–>General” and change both the Site Address and WordPress Address to the new local domain “http://local.beckerroofing.com”, and then changed the Permalinks to “Post Name” and Saved, everything seemed to work. Hope this helps others having this issue when using MAMP to test the theme.
January 24, 2017 at 3:45 pm #737796Hi,
so I updated the theme and also put a new logo in there and it now shows 2 rows of logos (one desktop row and one mobile row) on both desktop and mobile. The css is still there. Looks very clonky now. What to do?
January 24, 2017 at 2:54 pm #737762In reply to: Purchase code: 723b8f6d-d2b9-4843-b50a-85efa527d20b
Hi Claudia!
We have replied you here – https://kriesi.at/support/topic/how-can-i-set-an-enfold-demo/. Let us continue there.
Cheers!
YigitJanuary 24, 2017 at 2:37 pm #737752Topic: hook for sections
in forum EnfoldOberlinhaus
ParticipantHi there,
we recently started using an on-page text to speech plugin (http://www.readspeaker.com/) which provides a WordPress Plugin and works perfectly fine with current Enfold.
But…
The player for the reading functionality is always inserted on the top of the page, below the menu. I looked it up in the plugin files and it seems the insert is done on the hook wp_head. This doesn’t always makes sense. The plugin allows the player to be added mulitple times on one page, thats why I want to add the player at the top of each colored section Is that possible, is there a hook for that?
Regards Ben
-
This topic was modified 9 years, 1 month ago by
Oberlinhaus.
January 24, 2017 at 2:25 pm #737748In reply to: Create a "top bar" above nav?
Hi,
I added following code to Quick CSS in Enfold theme options under General Styling tab
@media only screen and (min-width: 768px) { .container.av-logo-container { display: none !important; }} .responsive .logo, .logo { display: none !important; } .html_header_top.html_header_sticky.html_large.html_bottom_nav_header #main { padding-top: 317px; }Please review your website now. Also, we would recommend you not to use a sticky header for better UX
Best regards,
Yigit-
This reply was modified 9 years, 1 month ago by
Yigit.
January 24, 2017 at 1:01 pm #737697In reply to: Multimedia Site
Hi Craig!
Thank you for contacting us!
First of all, thanks for your feedback!
Unfortunately it is not easily possible to add a music player to pages which would not stop playing when you are navigating through your site. Unless you are using a one page layout ( here are two examples – http://kriesi.at/themes/enfold-one-page-portfolio/ and – http://kriesi.at/themes/enfold-restaurant-one-page/ ). Simply audio player loads with the page and would stop when you navigate from one page to another.
Enfold’s native audio player looks like this – http://kriesi.at/themes/enfold/2009/10/21/snowboarding-fun/. You can always use plugins to add additional functionality to your site, such as this one – https://srd.wordpress.org/plugins/compact-wp-audio-player/. I also found this post which might be helpful.
Since you are not logged in, you might not be able to see the link however we have a feature request form here – https://kriesi.at/support/enfold-feature-requests/ where you can request new features and vote requested features. Our devs might be able to improve the player or create demo page for musicians.
I hope that was helpful. Let us know if you have any other questions or if there is anything else we can help you with :)
Best regards,
YigitJanuary 24, 2017 at 12:59 pm #737696In reply to: Having issues with responsive text.
Hi,
Glad we could help :-)
Please let us know if you should need any further help on the topic.
Best regards,
RikardJanuary 24, 2017 at 12:04 pm #737675Hi Rikard,

Here is a link for the before image. Here you can see that the logo at the top is left aligned and the button styling is rounded as desired.

Here is the image after. As you can see by just adding that piece of code it turns off the rounded styling.
The strange thing is it only knocks out the styling on desktop, as when viewed on a mobile device it presents itself as required.
Hope someone can help. Thank you.
Below is a full copy of my quick css for reference.
.logo img {
top: 10px !important;
}.widgettitle { font-size: 20px!important; }
div .copyright {
width: auto!important;
}.av-image-caption-overlay-center p{
margin-top:100px !important;;
}.avia-button {
font-size: 25px!important;
}.av-section-bottom-logo.header_color .container {
background-color: rgba(255,255,255,0.5) !important; }
.av-section-bottom-logo.header_color + div + .avia-section {
margin-top: -135px;
}.av-section-bottom-logo.header_color .container, .av-section-bottom-logo.header_color .container .inner-container {
width: 100% !important;
max-width: 100%;
}@media only screen and (max-width: 767px) {
.responsive .logo a {
display: inline-block;
vertical-align: middle;
}.responsive .logo {
position: relative;
display: block;
width: 100%;
text-align: center;
}.logo img { max-height: 48px; }
@media only screen and (max-width: 767px) {
.responsive .logo a, .responsive .logo img {
max-width: 80%;
height: auto !important;
margin-bottom: 10px;
}}.responsive .toggle_icon {
width: 15px !important;
}January 24, 2017 at 11:41 am #737670In reply to: Mobile Responsiveness Landing Page
Hey Ismael,
thank you for your solution.
Unfortunately, it did not make the empty columns disappear :(I tried the Quick CSS field in the General Styling Section, as well as using Custom CSS Classes for the columns. It does not work.
@media only screen and (max-width: 1024px) {
.phone_pic #top .av-hide-on-mobile, .phone_pic #top .av-hide-on-tablet {
display: none !important;
}
}I assume the @media is not picking up (since the responsive site is disabled again), but it does also not work hard coded without the @media trigger. The custom css fields or not responding, the “hide on mobile” does not respond, the @ media trigger for .responsive is also not working.
I need to find a solution here guys :-/
I don’t necessarily have to switch of the responsiveness in the general styling, however, a listing of icons that takes up to 4 screen length is not acceptable for our users. Is there a way to make this responsive without having the effect of the first screenshot? We want it to be visible as the last screenshots, which display the icons more in groups as opposed to a list, but still make it look decent and not out of place with a phone picture hanging in the middle of a section (why??!) and some columns just don’t display the phone picture on the section – leaving a blank section.
Please help ;-)
January 24, 2017 at 10:50 am #737655Topic: Design the top menu :-)
in forum Enfoldskeereweer
ParticipantHi Enfold!
Is it possible to add a layer with a colour arround the top menu, like these: https://www.dropbox.com/s/yod84bvdcfov89j/Schermafdruk%202017-01-24%2009.48.24.png?dl=0
January 24, 2017 at 10:36 am #737651Topic: Disabling Date Range – Contact Form
in forum Enfoldjasksks
ParticipantHi guys,
Similar to a recently posted query here and using the information there, I have managed to disable the dates 27 and 29 on my reservation form with the following:
beforeShowDay: function(date) {
var day = date.getDay();
function IsChineseNewYear(date) {
var day = date.getDate();
var month = date.getMonth() + 1;
return (day === 27 && month === 01);
}
return [(day != 0 && !IsChineseNewYear(date))];
},Please can I ask how I can disable the date 28 as well? Thank you very much!
January 24, 2017 at 10:26 am #737648In reply to: sidebar menu on left but not top on mobile
Hi!
Is this the same request?
// https://kriesi.at/support/topic/moving-sidebar-top-top-on-mobile-above-content/#post-737622
Best regards,
IsmaelJanuary 24, 2017 at 10:21 am #737645In reply to: Sidebar color
Hi,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
#top #main .sidebar{ transform:translateX(105px); }Best regards,
VinayJanuary 24, 2017 at 10:12 am #737641In reply to: What are the Enfold Theme Options?
Hi,
All the theme options can be found in WP admin Dashboard > Enfold
These options can be mostly used to change the way your website looks.
If you are looking to improve your website performance install a caching and a SEO plugin
Please refer to this link for recommended list plugins https://kriesi.at/support/topic/recommended-plugins/
Best regards,
VinayJanuary 24, 2017 at 9:59 am #737630In reply to: wrong container width in safari
Hey Munford!
Thank you for using Enfold.
Looks like it’s not loading the enfold_child.css file. Please try this code in the style.css file.
.responsive .boxed#top, .responsive.html_boxed.html_header_sticky #header, .responsive.html_boxed.html_header_transparency #header { width: 1310px; max-width: 90%; }I also noticed that there are multiple instances of the same css media query. Example:
@media only screen and (max-width: 480px) { .responsive #top .slideshow_caption .avia-caption-content { font-size: 9px !important; } .caption_bottom .slideshow_caption .slideshow_inner_caption .slideshow_align_caption { padding: 0!important; }} /*fix padding on films under trailers*/ @media only screen and (max-width: 480px) { .avia-video, .avia-iframe-wrap { margin-bottom: 0px; }}It can be simplified to this.
@media only screen and (max-width: 480px) { .responsive #top .slideshow_caption .avia-caption-content { font-size: 9px !important; } .caption_bottom .slideshow_caption .slideshow_inner_caption .slideshow_align_caption { padding: 0!important; } /*fix padding on films under trailers*/ .avia-video, .avia-iframe-wrap { margin-bottom: 0px; } }Regards,
IsmaelJanuary 24, 2017 at 9:21 am #737613In reply to: Featured image size in single post
Hey iflw-gmbh!
Thank you for using Enfold.
It is being resized via css. Please add this in the Quick CSS field.
.template-blog .blog-meta { float: none; margin-right: 0 clear: both; } .single-post .single-small.with-slider .small-preview { width: 220px; height: 220px; margin: 0 auto; display: block; float: none; } .single-post .single-small.with-slider .small-preview img { width: 100%; } .template-blog .post .entry-content-wrapper { overflow: hidden; position: relative; clear: both; margin-top: 50px; }Regards,
IsmaelJanuary 24, 2017 at 9:02 am #737601In reply to: Logo Centre, menu items to the left and right?
Hi,
To achieve a split menu please refer to this thread https://kriesi.at/support/topic/logo-center-menu-left-and-right-2/#post-724306
Best regards,
VinayJanuary 24, 2017 at 9:00 am #737600In reply to: full width sub menu styling
Hey clairemartindigital!
Thank you for using Enfold.
Please add this in the functions.php file.
// menu active function add_custom_script(){ ?> <script> (function($){ // cache selectors function ab() { var lastId, topMenu = $(".av-subnav-menu"), topMenuHeight = topMenu.outerHeight(), // all list items menuItems = topMenu.find("a"), // anchors corresponding to menu items scrollItems = menuItems.map(function(n, i){ var item = $(i).attr("href"); if (item.length && item.indexOf("#") != -1) { return item; } }); $(window).scroll(function(){ // get container scroll position var fromTop = $(this).scrollTop()+topMenuHeight, fromTop = fromTop + 150; // get anchors var anchors = scrollItems.map(function(n, i){ var item = i.substring(i.indexOf("#")); return item; }); var section = $('.avia-section').each(function() { return this; }); section = section.map(function() { if ($(this).offset().top < fromTop) return this; }); // get the id of the current element var cur = section[section.length-1]; var id = section && section.length ? section[section.length-1].id : ""; current = $(cur).attr('id'); if (lastId !== id) { lastId = current; menuItems.parent().removeClass("active").end().filter("[href*='#"+current+"']").parent().addClass("active"); } }); } ab(); function a() { $('#top .av-submenu-container').append("<a href='http://thymeforachef.com.au/#top' class='submenu_logo'><img src='//thymeforachef.com.au/wp-content/uploads/2017/01/Megara-logo-340x156.png' /></a>"); } a(); })(jQuery); </script> <?php } add_action('wp_footer', 'add_custom_script');And this code in the Quick CSS field.
#top .av-subnav-menu > .active > a { color: red; }Best regards,
IsmaelJanuary 24, 2017 at 8:59 am #737599In reply to: shrink logo before switching to mobile menu
Hi Ismael,
thank you for answering. It is not an issue, more an idea how it should work.When I downsize my browser the main menu switches to mobile at 1060px, which I adjusted. If I make the browser smaller and smaller the logo starts to shrink. Thats how it works at the moment.
My idea was: when the logo would shrink before the menu switches to mobile, the menu could stay in desktop mode on smaller screens.So the question is: how can I tell the logo to shrink from a certain screensize downwards?
January 24, 2017 at 8:30 am #737590In reply to: Link background image / logo in full width sub menu
Hey!
Thank you for using Enfold.
Please remove the css modification then add this one.
.submenu_logo { width: 120px; height: auto; overflow: hidden; position: absolute; top: 0; left: 10%; }After that, add this snippet in the functions.php file.
// submenu logo function ava_custom_script() { ?> <script type="text/javascript"> (function($) { function a() { $('#top .av-submenu-container').append("<a href='URL' class='submenu_logo'><img src='//thymeforachef.com.au/wp-content/uploads/2017/01/Megara-logo-340x156.png' /></a>"); } a(); })(jQuery); </script> <?php } add_action('wp_footer', 'ava_custom_script');Adjust the URL.
Regards,
IsmaelJanuary 24, 2017 at 8:02 am #737583In reply to: Mobile Responsiveness Landing Page
Hey!
Thank you for the screenshot. Please add this in the Quick CSS Field.
@media only screen and (max-width: 1024px) { .responsive #top .av-hide-on-mobile, .responsive #top .av-hide-on-tablet { display: none !important; } }Remove browser cache before checking the page again.
Cheers!
IsmaelJanuary 24, 2017 at 7:33 am #737565In reply to: I have problems with left menu position border.
Hi,
Great, glad you got it working and thanks for the feedback. Please let us know if you should need any further help on the topic.
Best regards,
RikardJanuary 24, 2017 at 7:32 am #737564Hi,
Great, glad you got it working and thanks for the feedback. Please let us know if you should need any further help on the topic.
Best regards,
RikardJanuary 24, 2017 at 7:21 am #737554In reply to: Stop slideshow for 10 seconds on mouseclick
Hi,
UPDATE: Do you want the slideshow to resume after 10 seconds when the user click on the navigation buttons? We modified a few lines in the shortcodes.js file.
// public method: shows next image next : function(e) { e.preventDefault(); //this._stopSlideshow(); this._navigate( 'next' ); }, // public method: shows previous image previous : function(e) { e.preventDefault(); //this._stopSlideshow(); this._navigate( 'prev' ); },Best regards,
IsmaelJanuary 24, 2017 at 7:18 am #737553In reply to: Calculator not displaying well on all screen sizes
Hi,
Glad we could help :-)
Please let us know if you should need any further help on the topic.
Best regards,
RikardJanuary 24, 2017 at 7:02 am #737545Hi,
Ok, thanks for the feedback. Please let us know if you should need any further help on the topic.
Best regards,
RikardJanuary 24, 2017 at 6:56 am #737541Hi,
Great, glad you got it working. Please let us know if you should need any further help on the topic.
Best regards,
RikardJanuary 24, 2017 at 6:08 am #737524In reply to: Footer Height & Menu changes problem
Hi,
If you are not getting any errors and it’s working as it should, then the bottom of functions.php is fine. Let us know if you should need any further help on the topic.
Best regards,
RikardJanuary 24, 2017 at 6:06 am #737523 -
This topic was modified 9 years, 1 month ago by
-
AuthorSearch Results
-
Search Results
-
Topic: hook for sections
Hi there,
we recently started using an on-page text to speech plugin (http://www.readspeaker.com/) which provides a WordPress Plugin and works perfectly fine with current Enfold.
But…
The player for the reading functionality is always inserted on the top of the page, below the menu. I looked it up in the plugin files and it seems the insert is done on the hook wp_head. This doesn’t always makes sense. The plugin allows the player to be added mulitple times on one page, thats why I want to add the player at the top of each colored section Is that possible, is there a hook for that?
Regards Ben
Topic: Design the top menu :-)
Hi guys,
Similar to a recently posted query here and using the information there, I have managed to disable the dates 27 and 29 on my reservation form with the following:
beforeShowDay: function(date) {
var day = date.getDay();
function IsChineseNewYear(date) {
var day = date.getDate();
var month = date.getMonth() + 1;
return (day === 27 && month === 01);
}
return [(day != 0 && !IsChineseNewYear(date))];
},Please can I ask how I can disable the date 28 as well? Thank you very much!
