• Of the different themes, I do love the Canyon. When checking on my smartphone, my site looked quite good. However, there are some problems and I need help in fixing it.

    Here is my site: https://inspiration-point.org

    I’m using TypeKit to supply my fonts. My current font is Adobe Source Sans Pro. If you look at the site then you should see the font. My problem is seen in the side bar. What do I need to add to change the text size and I think font type? How about link Color?

    What further tweaking needs to be done? Is the size readable? Thanks for the help.

Viewing 8 replies - 16 through 23 (of 23 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Are your changes taking effect?

    Thread Starter BarryB64

    (@barryb64)

    The experiment is working. ?? The link color has changed. ?? What happened? I had to redo the theme setup.

    I notice in the underlying cod that the default fonts are used. They’d be fine; if not for the size. Now, I can build on what I have.

    When I write, my preferred font size is 12. What’s is that in px?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    What happened? I had to redo the theme setup.

    Unless your Child Theme is activated through the dashboard, your style.css file of your Child Theme won’t be loaded.

    When I write, my preferred font size is 12. What’s is that in px?

    That sounds like 12 pixels, which translates to;

    font-size: 12px;

    Thread Starter BarryB64

    (@barryb64)

    Hi Andrew,

    I tried just that and it’s not working. I did some digging and found a useful extension for TwentyEleven. It took care of one problem – the missing sidebar. The only problem is, the way it shows up in a smartphone.

    Is there a plugin that changes the background color of a widget? What can I do for the way TwentyEleven appears in a mobile device?

    As far as Canyon, it is proving to be a bigger hassle then I have time for. When I’ve some money, I’ll go the pay route. At least, I can now appreciate what the pros go through. ?? Yet, I’m no where close to what they have to deal with.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I’ve had a brief look through the plugin repository regarding widget styling and I can’t find anything searching on, “widget style”, “widget background” and “widget appearance”.

    Do you have your website open in Google Chrome?
    You can use Chrome’s built-in developer tool to help you identify what CSS you need to create to style a particular widget.

    Thread Starter BarryB64

    (@barryb64)

    That would be a cool plugin! Let the user change the color of the background of a widget to fit their needs.

    Here is the run down:

    Typekit is taking care of the font family. I was looking for readable fonts across browsers. Plus, they needed to be easy on the eyes. I think the current one does it.

    Switching back to TwentyEleven and tweaking the link color took care of some minor problems. Now the color goes with the theme and header. Thanks Gimp ??

    The TwentyEleven extension seem to take care of the missing sidebar. As how it displays on a mobile phone. The text appears nice. It’s menu bar that looks funny. They look like there’s two columns.

    Other than and the wishful thinking; I am fine. I’ll have to wait and get some money and buy a good premium theme. ??

    Are there any other little things that I need to do?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You can explore some of the techniques that we (web people) use to change the appearance of things. This involves Google Chrome.

    – Open your website in Google Chrome.
    – Right click on the page element you want to modify.
    – Select ‘Inspect element’.
    * A new toolbar appears
    – Within the toolbar, look at the right-hand column.
    * You should see CSS.

    If there’s a style you want to override, you’d find the CSS on the right of the toolbar and then create new CSS styles in your Child Theme style.css file. Chrome’s developer tool should provide enough information for this.

    For example, if you want to change the background colour of the Blog Subscription widget, you’d do the following:

    1. Open your webpage in Google Chrome.
    2. Right click on the widget text (or anywhere within the widget are) [screenshot].
    3. Select ‘Inspect element’.
    4. Look at the left hand side of the toolbar. You have the paragraph (or which ever element) selected [screenshot]. You don’t want this.
    5. Hover your mouse over the elements preceding and look at the what it highlights on the webpage. Once you find the element that covers enough space of the widget [screenshot], click on it [screenshot].

    Look at the right column of the toolbar. That is the CSS selector you need to target to apply the background colour to.

    You can do this temporarily by:
    6. After the last style in the .widget section, after the semicolon, left click so it lets you enter your own text [screenshot].
    7. Enter the style you want to test out background-color: deeppink; [screenshot].

    As you can see, the background colour has unfortunately applied to all widgets.
    If you want to target a particular widget, you try to use a unique identifier in the HTML.

    8. Look at the left column of the toolbar again, look at the <aside> HTML.
    9. Take the ID within the Blog Subscription <aside> element [screenshot] and copy it.
    10. Go to the right column of the toolbar again and uncheck/delete that background-color: deeppink; style we added [screenshot].
    11. You want to add a new style. Press the plus icon at the top of the right column.
    12. Either paste the ID you copied from step 9, or, if it already has it in there just use that [screenshot]. Press enter.
    13. Click within the newly created and empty style (still in the right column of toolbar) [screenshot].
    14. Enter the background-color: deeppink; style just like step 7.

    Now you should see that the background colour only applies to that particular Blog Subscription widget [screenshot].

    You’d then transfer this CSS into your Child Theme stylesheet. You’d add the style;

    #blog_subscription-3 {
     background-color: deeppink
    }

    To the bottom of your Child Theme style.css file and of course change the deeppink colour to something more suitable.

    Thread Starter BarryB64

    (@barryb64)

    Okay. Here is the verdict.

    PIN THIS!

    Good tutorial on how to do a child template; the easy way. No problem with my site being used as a template or it.

    Now, I got the widget a nice shade of gray or is it blueish gray. I’m not bothering with the RSS Link. The others definitely needed it.

    Are there any others that should be done?

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘Canyon Theme: Need help in tweaking the CSS settings’ is closed to new replies.