Viewing 12 results - 1 through 12 (of 12 total)
  • Author
    Search Results
  • #77754
    Joel Grassi
    Participant

    Just finished the bulk of my site and wanted to share with you my Additional CSS. The menu of the mobile site is probably important for you for the next version.

    /* This targets the specific background container in Ashe Pro */

    .header-image-inner {

    position: relative;

    }

     

    /* This creates the dark layer and forces it to show */

    .header-image-inner::after {

    content: “” !important;

    display: block !important;

    position: absolute !important;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(0, 0, 0, 0.6) !important; /* Adjust 0.6 to 0.8 for even darker */

    z-index: 1 !important;

    }

    /* Adds a shadow to the Tagline for better readability */

    .site-description {

    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);

    font-weight: 500;

    }

     

    /* Optional: Adds a shadow to the Site Title too */

    .site-title a {

    text-shadow: 2px 2px 5px rgba(0, 0, 0, 1);

    }

    .site-description {

    background: rgba(0, 0, 0, 0.5); /* Black with 50% transparency */

    display: inline-block;

    padding: 10px 20px;

    border-radius: 5px;

    margin-top: 15px;

    }

    /* Move Featured Link titles to the TOP of the first three boxes */

    .featured-link .cv-outer {

    display: flex !important;

    align-items: flex-start !important; /* This moves it to the top */

    height: 100%;

    }

     

    .featured-link .cv-inner {

    display: block !important;

    width: calc(100% – 20px) !important;

    /* Semi-transparent white background */

    background: rgba(255, 255, 255, 0.9) !important;

    padding: 10px !important;

    margin: 10px auto !important;

    border-radius: 4px;

    text-align: center;

    }

     

    .featured-link h6 {

    margin: 0 !important;

    font-size: 14px !important;

    font-weight: 800;

    color: #000000 !important;

    }

     

    /* 1. Hide the box if the h6 is empty or contains only a space */

    .featured-link .cv-inner:has(h6:empty),

    .featured-link .cv-inner:not(:has(h6:not(:empty))) {

    display: none !important;

    }

     

    /* 2. Double-check: if the inner div itself is somehow empty */

    .featured-link .cv-inner:empty {

    display: none !important;

    }

     

    /* Ensure the link covers the whole area */

    .featured-link a {

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    }

    /* Force all Featured Link images to the same height and width */

    .featured-link img {

    height: 250px !important; /* Adjust this number to make the boxes taller or shorter */

    width: 100% !important;

    object-fit: cover !important; /* This prevents the image from looking stretched */

    object-position: center !important; /* Keeps the focus on the middle of the photo */

    }

     

    .featured-link {

    overflow: hidden; /* Keeps everything tidy inside the box */

    }

    /* Target the Podcast Category Archive Page */

    .category-podcast .read-more a {

    font-size: 0 !important;

    text-transform: uppercase;

    }

     

    .category-podcast .read-more a::before {

    content: “Listen Now” !important;

    font-size: 14px !important; /* Adjust size to match your theme */

    visibility: visible !important;

    display: inline-block !important;

    }

     

    /* If your theme uses an arrow icon, this hides it for podcasts */

    .category-podcast .read-more a i {

    display: none !important;

    }

    /* Ensure images in specific categories maintain a consistent aspect ratio */

    .category-community-resources .post-media img,

    .category-partnerships .post-media img {

    width: 100%;

    height: auto;

    object-fit: cover; /* Ensures the image fills the area without distortion */

    aspect-ratio: 16 / 9; /* Adjust this ratio (e.g., 4/3 or 1/1) to match your preference */

    }

     

    /* Optional: Removes any theme-specific padding/margins that might differ */

    .category-community-resources .post-media,

    .category-partnerships .post-media {

    margin-bottom: 20px;

    }

    /* 1. Remove the link capability from parent items */

    #mobile-menu .menu-item-has-children > a {

    pointer-events: none !important;

    cursor: default;

    }

     

    /* 2. Stretch the toggle area to cover the whole row */

    #mobile-menu .menu-item-has-children {

    position: relative;

    }

     

    #mobile-menu .sub-menu-toggle {

    position: absolute !important;

    top: 0;

    left: 0;

    width: 100% !important; /* This makes the whole row clickable */

    height: 100% !important;

    min-height: 45px;

    text-align: right;

    padding-right: 20px;

    display: flex;

    align-items: center;

    justify-content: flex-end;

    z-index: 10;

    pointer-events: auto !important; /* This ensures the click is captured */

    }

     

    /* 3. Style the arrow to make it clear it’s a dropdown */

    #mobile-menu .sub-menu-toggle::before {

    font-family: “Font Awesome 5 Free”;

    content: “\f107”; /* Down arrow icon */

    font-weight: 900;

    font-size: 16px;

    }

    /* Adds a dark tinted box behind the slider text */

    .slider-item .slider-info {

    background: rgba(0, 0, 0, 0.4); /* Black with 40% transparency */

    padding: 20px 30px;

    border-radius: 5px;

    display: inline-block; /* Keeps the box tight around the text */

    }

     

    .slider-item .slider-info h2 a {

    color: #ffffff !important;

    }

    /* Adds a dark tinted box behind the slider text */

    .slider-item .slider-info {

    background: rgba(0, 0, 0, 0.4); /* Black with 40% transparency */

    padding: 20px 30px;

    border-radius: 5px;

    display: inline-block; /* Keeps the box tight around the text */

    }

     

    .slider-item .slider-info h2 a {

    color: #ffffff !important;

    }

    /* Hide the slider by default on all pages */

    .slider-item,

    .flexslider {

    display: none !important;

    }

     

    /* Show the slider only on the homepage */

    .home .slider-item,

    .home .flexslider {

    display: block !important;

    }

    /* Fix for Featured Link labels getting cut off */

    .featured-links .featured-link-title {

    padding-bottom: 5px !important; /* Adds space at the bottom of the text */

    overflow: visible !important;   /* Prevents the container from hiding text */

    line-height: 1.2 !important;    /* Adjusts spacing between lines if text wraps */

    }

     

    /* Ensures the text box itself has enough height */

    .featured-links .featured-link-content {

    padding: 10px !important;

    min-height: 60px; /* Forces a minimum height so long text doesn’t hit the edge */

    }

    #76355
    Amanda
    Participant

    Hello,

    I have been fighting with my site for the past several days trying to speed things up, especially on mobile. My hosting site says it’s not on their end and won’t provide much help.

    I am having a lot of problems with image sizes (I need help learning what size I need to put them in for them to work well because the ratios are different on every page). I also have several things that keep coming up as issues:

    jquery issues

    @babel/plugin-transform-classes

    layout change issues

    Google Font issues (pretty sure this isn’t theme-related, but thought I’d mention)

    <span class=”lh-audit__title” style=”-webkit-tap-highlight-color: transparent; box-sizing: border-box; color: #212121; font-family: Roboto, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #fafafa;”><span style=”-webkit-tap-highlight-color: transparent; box-sizing: border-box;”>Avoid serving legacy JavaScript to modern browsers</span></span><span style=”color: #212121; font-family: Roboto, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #fafafa;”>

    </span>And then height and width not set and largest contentful paint

    I do not know what is coming from where and would appreciate any advice you can give. I am about to give up on my new site.

    Editing to add:

    I have removed the sidebar, alt sidebar, header, and featured links to make the site faster. I am not happy with how my site looks so stripped down, though I don’t need all of those features. I’m not even sure how much all of that affected the speed. It’s been testing all over the place.

    Thank you again so much,

    Amanda

    • This topic was modified 1 year, 1 month ago by Amanda. Reason: I forgot to mention I removed some of my favorite features. :(
    #75068
    Stephane
    Participant

    Hello,

    I would like to know if it is possible to add a linear gradient over the header image (it is a slider). Something like this:

      background: linear-gradient(
        to bottom,
        transparent, 
        black
      );
    

    I can’t make it work

    Thanks a lot for your help !

    #74435
    vako
    Keymaster
    Premium Member

    Hi Lars,

     

    At first, thank you for choosing our theme and service.

    1. Unfortunately we can’t help in the case of the menu section, there is no way to use theme settings, especially the codings, we can offer to use Page Builder like Elementor page builder with a combination of Royal Elementor Addons, you can build the header section entirely(same as you have with Ashe) and built the main navigation with image background.

    2. Regarding the second question to make the body background more transparent,  In order to assist we need to check your website from the back end, please install this 3rd party plugin “Temporary Login Without Password Plugin” which allows us to access your dashboard without sharing access details.

    To better understand how the plugin works, please watch the video guide below: https://www.youtube.com/watch?v=EMu0e78OpJo

    Please make sure to mark your reply as private to hide it from the public.

     

    Kind Regards

    #74433
    Lars Schulz
    Participant

    Hey Support Team,

    thanks for your great theme! I own the pro for two of my webpages, but i am no professional web page builder. Not really css, http or php skills. I can read a bit code and i now in most cases where to add css etc… nothing else. I hope you can help me.

    I want to put an Image as Background for the main navigation bar. So you can read the menu words like home, team, etc. and in the background there is an image. how can i realise this?
    I also want to make my main content body a bit transparent, so that you can see shiny the background. Can i do so may be with % and CSS?

    I hope, you can help me.

    Greetings from the middle of Germany. 🙂

    Zainab Shoukat
    Participant
    Premium Member

    <span style=”color: #0f0f0f; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, ‘Segoe UI’, Roboto, Ubuntu, Cantarell, ‘Noto Sans’, sans-serif, ‘Helvetica Neue’, Arial, ‘Apple Color Emoji’, ‘Segoe UI Emoji’, ‘Segoe UI Symbol’, ‘Noto Color Emoji’; white-space-collapse: preserve;”>I am writing to express my concern and frustration regarding the delay in receiving support for an issue I am facing with your theme. My website is currently live, and I have been eagerly waiting for assistance to ensure its smooth operation. </span><span style=”color: #0f0f0f; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, ‘Segoe UI’, Roboto, Ubuntu, Cantarell, ‘Noto Sans’, sans-serif, ‘Helvetica Neue’, Arial, ‘Apple Color Emoji’, ‘Segoe UI Emoji’, ‘Segoe UI Symbol’, ‘Noto Color Emoji’; white-space-collapse: preserve;”>I submitted my support request </span><span style=”color: #0f0f0f; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, ‘Segoe UI’, Roboto, Ubuntu, Cantarell, ‘Noto Sans’, sans-serif, ‘Helvetica Neue’, Arial, ‘Apple Color Emoji’, ‘Segoe UI Emoji’, ‘Segoe UI Symbol’, ‘Noto Color Emoji’; white-space-collapse: preserve;”>two days ago, and unfortunately, I have not yet received a response. This delay is causing significant inconvenience as I am unable to work on my website seamlessly. </span><span style=”color: var(–text-primary); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, ‘Segoe UI’, Roboto, Ubuntu, Cantarell, ‘Noto Sans’, sans-serif, ‘Helvetica Neue’, Arial, ‘Apple Color Emoji’, ‘Segoe UI Emoji’, ‘Segoe UI Symbol’, ‘Noto Color Emoji’; white-space-collapse: preserve;”>Given that my website is live, it is crucial for me to address and resolve the issue promptly. I understand that you may have a high volume of support requests, but the timeliness of the response is essential to maintain the functionality of my site and meet my business requirements.</span>
    <p style=”border: 0px solid #d9d9e3; box-sizing: border-box; –tw-border-spacing-x: 0; –tw-border-spacing-y: 0; –tw-translate-x: 0; –tw-translate-y: 0; –tw-rotate: 0; –tw-skew-x: 0; –tw-skew-y: 0; –tw-scale-x: 1; –tw-scale-y: 1; –tw-scroll-snap-strictness: proximity; –tw-ring-offset-width: 0px; –tw-ring-offset-color: #fff; –tw-ring-color: rgba(69,89,164,.5); –tw-ring-offset-shadow: 0 0 transparent; –tw-ring-shadow: 0 0 transparent; –tw-shadow: 0 0 transparent; –tw-shadow-colored: 0 0 transparent; margin: 1.25em 0px; color: var(–text-primary); font-family: Söhne, ui-sans-serif, system-ui, -apple-system, ‘Segoe UI’, Roboto, Ubuntu, Cantarell, ‘Noto Sans’, sans-serif, ‘Helvetica Neue’, Arial, ‘Apple Color Emoji’, ‘Segoe UI Emoji’, ‘Segoe UI Symbol’, ‘Noto Color Emoji’; white-space-collapse: preserve;”>I kindly request your urgent attention to my support ticket and appreciate your prompt resolution of the matter.</p>
    <span style=”color: #0f0f0f; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, ‘Segoe UI’, Roboto, Ubuntu, Cantarell, ‘Noto Sans’, sans-serif, ‘Helvetica Neue’, Arial, ‘Apple Color Emoji’, ‘Segoe UI Emoji’, ‘Segoe UI Symbol’, ‘Noto Color Emoji’; white-space-collapse: preserve;”>Thank you for your understanding, and I look forward to a swift resolution to my support request.</span>

    #71619
    BorjaF
    Participant

    Hello guys.

    My site borjanopara.com uses a main menu with sub-items on it. On Desktop everything works fine but on mobile version the mobile version of menu has no background and the titles mix with the rest of the website.

    Example:

    Any ideas how to fix it?

    Thanks!

    Michal Kubecki
    Participant

    When my website is browsed on the desktop in Light Mode, both the Main Navigation and the footer are matching the colour of the background, they’re all white. That way they seem to be transparent. In Dark Mode, however, the background changes to dark grey and both the Main Navigation and the footer change to black. How can I adjust their colour in the dark mode to be transparent or dark grey? Thank you.

    Ariane Bär
    Participant
    Premium Member

    Dear Support Team,

    can you please post the results / findings / solutions on the well described and reasonable remarks above? I also got similar feedbacks from testing and am looking for a solution where I can change appearance settings for the responsive mode only?

    Really important is the first one mentioned above:
    “Blog Page Post Excerpt Text Alignment (serious concern): 
    Excerpt text per post on front page appears “justified”, not “unjustified” or “left aligned”; but that looks bad on a narrow vertical mobile phone with too much blank space between words in some lines; more so when you have very long words like in my German language. It doesn’t help to set “Post Content Align” from “Center” to “Left” under “Blog Page/General”; that only changes the headline, but not the excerpt.”

    I tried to have a look at the css, but saw that the section 16.0 Typography is missing (despite it’s listed in the table of contents).

    Do you have any recommendation how this behavior can be changed to text-align: left; instead of text-align: justify; only for “responsive mode”?

    Sth. “like”:

    <code class="hljs language-scss" style="padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: var(--_pr-code-fs); vertical-align: baseline; box-sizing: inherit; background-color: transparent; white-space: inherit;"><span class="hljs-selector-class" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; color: var(--highlight-keyword);">.text-justify-xs</span> {
        <span class="hljs-attribute" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; color: var(--highlight-symbol);">text-align</span>: left;
    }
    
    <span class="hljs-comment" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; color: var(--highlight-comment);">/* Small devices (tablets, 768px and up) */</span>
    <span class="hljs-keyword" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; color: var(--highlight-keyword);">@media</span> (<span class="hljs-attribute" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; color: var(--highlight-symbol);">min-width</span>: <span class="hljs-number" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; color: var(--highlight-namespace);">768px</span>) {
        <span class="hljs-selector-class" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; color: var(--highlight-keyword);">.text-justify-sm</span> {
            <span class="hljs-attribute" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; color: var(--highlight-symbol);">text-align</span>: justify;
        }
    }
    
    <span class="hljs-comment" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; color: var(--highlight-comment);">/* Medium devices (desktops, 992px and up) */</span>
    <span class="hljs-keyword" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; color: var(--highlight-keyword);">@media</span> (<span class="hljs-attribute" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; color: var(--highlight-symbol);">min-width</span>: <span class="hljs-number" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; color: var(--highlight-namespace);">992px</span>) {
        <span class="hljs-selector-class" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; color: var(--highlight-keyword);">.text-justify-md</span> {
            <span class="hljs-attribute" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; color: var(--highlight-symbol);">text-align</span>: justify;
        }
    }
    
    <span class="hljs-comment" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; color: var(--highlight-comment);">/* Large devices (large desktops, 1200px and up) */</span>
    <span class="hljs-keyword" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; color: var(--highlight-keyword);">@media</span> (<span class="hljs-attribute" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; color: var(--highlight-symbol);">min-width</span>: <span class="hljs-number" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; color: var(--highlight-namespace);">1200px</span>) {
        <span class="hljs-selector-class" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; color: var(--highlight-keyword);">.text-justify-lg</span> {
            <span class="hljs-attribute" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; color: var(--highlight-symbol);">text-align</span>: justify;
        }
    }
    Kind regards and have a lovely day

    Ariane

    #71026
    Manfred Hungerland
    Participant

    Hi again

    Thanks to the forum i found the CSS code to move the mainmenu to the top and also make it transparent.

    But the Problem is that there is now a gap where the menue.

    https://photos.app.goo.gl/jVfp5GKdu9xsgx6j6

    CSS:

    #main-menu {

    /*backdrop-filter: grayscale(1);*/

    background-color: #00663380;

    }

     

    #main-nav {

    background: transparent !important;

    position: relative !important;

    top: 10px;

    box-shadow: none !important;

    }

    .entry-header {

    position: relative;

    top: -61px;

    height: 330px;

    }

    #68674

    In reply to: Featured Slider

    vako
    Keymaster
    Premium Member

    Hi Carolyn,

     

    At first, thank you for choosing our theme and service.

    Please navigate to Dashboard > Appearance > Customize > Additional CSS section add the following snippet:

    #featured-slider .image-overlay {
    
    background-color: transparent !important;
    
    }

     

    Kind Regards

    #65005
    Duke
    Keymaster
    WP Royal Team

    Hi,

    That article was written in 2021 and the Ashe theme was created 4 years ago, so maybe now they have custom styling support but not back in days.

    Navigate to Customize > Additional CSS and add this code, it will enlarge tite and remove backgrounds:

    h2.wprm-recipe-name {
    font-size: 30px !important;
    }
    
    .wprm-recipe-details-container, .wprm-recipe-notes-container p {
    background-color: transparent !important;
    }

    Kind Regards

Viewing 12 results - 1 through 12 (of 12 total)