分页样式(CSS)

时间:2017-12-07 21:59:47

标签: css wordpress pagination

我正在尝试将我的活动分页按钮的颜色从黑色改为浅棕色(#a88f4b),但似乎我无法摆脱黑色。这是什么我在这里错了?

http://demo.boxofficeboxing.co.uk/?s=

Public Sub Main()
    ' First create a FolderBrowserDialog object
    Dim FolderBrowserDialog1 As New FolderBrowserDialog

    ' Then use the following code to create the Dialog window
    ' Change the .SelectedPath property to the default location
    With FolderBrowserDialog1
        ' Desktop is the root folder in the dialog.
        '   .RootFolder = "C:\"
        ' Select the C:\Windows directory on entry.
        .SelectedPath = "c:\windows"
        ' Prompt the user with a custom message.
        .Description = "Select the source directory"
        If .ShowDialog = DialogResult.OK Then
            ' Display the selected folder if the user clicked on the OK button.
            MessageBox.Show(.SelectedPath)
        End If
    End With

1 个答案:

答案 0 :(得分:0)

这是你应该修改的行:

.eltd-pagination ul li a:hover,
.eltd-pagination ul li.active span {
    background-color: #a88f4b !important;
    color: #fff !important;
}

在您的分页中,有效li中包含span而非a代码,因此您必须在span而不是li代码上设置样式。在最后一行的css中复制/粘贴上面的代码。