Forum Replies Created

Viewing 12 replies - 16 through 27 (of 27 total)
  • matt4356

    (@matt4356)

    Hiya! What are you trying to do with your buttons, what code have you tried, and how didn’t it work?

    matt4356

    (@matt4356)

    Hiya, first could you post a link to your website?

    Second, what are the two blocks of code that you posted?

    Is the first one what you’ve tried in your site?

    matt4356

    (@matt4356)

    Hiya stdental, and welcome to the forums, I think I know how to do what you want to do. First, and as a good practice, make sure you have WordPress backed up https://codex.www.ads-software.com/WordPress_Backups

    What’s next is pretty simple, install and activate a css plugin, I use Simple Custom CSS

    And in the custom css field for the plugin paste in

    .primary-navigation {
    background: #YOURCOLORHERE;

    }

    with YOURCOLORHERE being the color you’ve picked.

    On the sidebar, I assume you want to change the text that says “$600 Porcelain Crown, exam and x-ray included.” and “Call us today to schedule an appointment!”. If so, that too is very simple. Since you’ve put the text inside

    <p></p>

    tags all you have to do is add a “class” to the tag. Like this:

    <p class=”dental-deals”></p>

    Then in the css plugin, put in

    .dental-deals{
    color:#YOURCHOSENCOLOR;

    }

    to select and color the text.

    I picked “dental-deals” for example purposes, you can use any name you want. Just remember to use the same spelling and a period in the plugin.

    EX:

    .different-name-for-element{
    color: blue;

    }

    Hope this is what you’re after, and have a good day! ??

    matt4356

    (@matt4356)

    PS:

    I have found out that in order to get this to display properly in Firefox you have to set the links to display as block level elements, so the code should look like this:

    .sticky-enabled .navbar .nav a{
    display: inline-block;

    }

    .sticky-enabled .navbar .nav > li > a::first-letter{
    font-size: 17px;

    }

    Forum: Fixing WordPress
    In reply to: Roles in WordPress
    matt4356

    (@matt4356)

    matt4356

    (@matt4356)

    Hiya, I think what you want is the first letter to match the others when the menu is down, and when you scroll down the page and the menu goes up, you want the first letter to stay like it is. Is that the case?

    If it is, first make sure you have WordPress backed up https://codex.www.ads-software.com/WordPress_Backups

    Then go to your admin panel, mouse over “appearance”, and click on customize. This brings you to the WordPress customizer.

    The menu on the left side of the screen has a list of options and at the bottom is “Advanced options”, click on it. In the menu that shows up, click on “Custom CSS”. You’ll be shown a window that should have CSS rules on it, copy and paste those rules to a document for backup purposes. One of the lines in the window should say:

    .navbar .nav > li > a:first-letter {
    font-size: 17px;
    }

    If it does, put

    .sticky-enabled

    before the.navbar, so it looks like

    .sticky-enabled .navbar .nav > li > a:first-letter {
    font-size: 17px;
    }

    Mind the space between sticky-enabled and navbar.

    That being finished, at the bottom left-hand corner of the screen you’ll see a back arrow which looks like a backwards play button, click it to move the customizer out of the way, scroll up and down the page a few times to refresh the page. If you like the way it looks, click the back arrow again to bring back the menu, and click save and publish to save the changes. Then visit the site to make sure every thing’s working, if something looks wrong or off delete the added code, and save and publish to put it back where it was before.

    Hope this helps and solves your problem. ??

    matt4356

    (@matt4356)

    Do you mean that the first letter of of each page link is the wrong font size for the rest of the text?

    matt4356

    (@matt4356)

    Hiya! Before doing anything, make sure you have up to date backups >>> WordPress_Backups

    That being finished, I think what’s doing it is the ” echo ‘ – ‘; ” on this line
    ` if (is_home()) {
    bloginfo(‘name’); echo ‘ – ‘; bloginfo(‘description’); }`

    What it does is display ‘ – ‘ wherever is_home() evaluates to true. If you delete the “space hyphen space” between the two quotes, it wont display that before the blog description.

    matt4356

    (@matt4356)

    Great, I’m glad you got it sorted out! ??

    matt4356

    (@matt4356)

    Could you post your website’s link?

    matt4356

    (@matt4356)

    Does it come from a plugin? If it does, what is the plugin? If you don’t know, please look through your plugins for any social media plugins and list them here.

    matt4356

    (@matt4356)

    Try deactivating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the default theme for your version of WordPress to rule-out a theme-specific issue (theme functions can interfere like plugins).

Viewing 12 replies - 16 through 27 (of 27 total)